Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Current »

Get network interface’s MTU.

Files

net_if.h/net_if.c

Prototype

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.

  • No labels