/
NetIF_MTU_Get
NetIF_MTU_Get
Get network interface’s MTU.
Files
net_if.h/net_if.c
Prototype
NET_MTU NetIF_MTU_Get(NET_IF_NBR if_nbr, NET_ERR *p_err);
Arguments
if_nbr
Network interface number to get MTU.
p_err
Pointer to variable that will receive the return error code from this function:
NET_IF_ERR_NONE
NET_IF_ERR_INVALID_IF
NET_ERR_FAULT_LOCK_ACQUIRE
Returned Value
Network interface’s MTU, if no errors.
0
, otherwise.
Required Configuration
None.
Notes / Warnings
None.
Related content
NetIF_MTU_Set
NetIF_MTU_Set
More like this
Network Interface Maximum Transmit Unit
Network Interface Maximum Transmit Unit
More like this
NetIF_IsValid
NetIF_IsValid
More like this
NetIF_IsValidCfgd
NetIF_IsValidCfgd
More like this
NetIF_Start
NetIF_Start
More like this
NetSock_GetConnTransportID
NetSock_GetConnTransportID
More like this