Embedded TCP/IP stack: fnet_netif_get_mtu

FNET

fnet_size_t fnet_netif_get_mtu ( fnet_netif_desc_t  netif_desc)

Retrieves a Maximum Transmission Unit (MTU) of the specified network interface.

Parameters
netif_descNetwork interface descriptor.
Returns
This function returns:
  • MTU value.

This function is used to retrieve Maximum Transmission Unit (MTU) of the given interface.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net