Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get network interface’s MTU.

Files

net_if.h/net_if.c

Prototype

Arguments

if_nbr

Network interface number to get MTU.

...

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.