Logo Search packages:      
Sourcecode: libnl version File versions  Download package

unsigned int rtnl_link_get_mtu ( struct rtnl_link *  link  ) 

Get Maximum Transmission Unit

  • link link handle
    Returns:
    Link MTU or 0 if MTU is not set.

Definition at line 1214 of file link.c.

{
      if (link->l_mask & LINK_ATTR_MTU)
            return link->l_mtu;
      else
            return 0;
}


Generated by  Doxygen 1.6.0   Back to index