Getting MTU size

Hello Tops,

I need to know the MTU size for Tx size determination in the TDI client
driver. What will be the best approach? I only need to know the MTU size,
nothing else.

Thanks for your help.

Hablu

Actually, that isn’t a good question. Actual MTU is dependent on the path
between the local host and the remote host and is determined by " Path
Maximum Transmission Unit (PMTU) discovery ".

Search for MTU in the MSDN.

You can fetch some MTU information in user-mode using IP Helper API and pass
it to the driver.

You can also fetch the “interface MTU” using TDI. The DDK network\wshsmple
gives some clues about fetching if_mtu (defined in smpletcp.h).

Good luck,

Thomas F. Divine

wrote in message news:xxxxx@ntdev…
>
> Hello Tops,
>
> I need to know the MTU size for Tx size determination in the TDI client
> driver. What will be the best approach? I only need to know the MTU size,
> nothing else.
>
> Thanks for your help.
>
> Hablu
>
>