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

unsigned int rtnl_link_get_txqlen ( struct rtnl_link *  link  ) 

Get Transmission Queue Length

  • link link handle
    Returns:
    Transmission Queue Length or UINT_MAX if not set.

Definition at line 1240 of file link.c.

{
      if (link->l_mask & LINK_ATTR_TXQLEN)
            return link->l_txqlen;
      else
            return UINT_MAX;
}


Generated by  Doxygen 1.6.0   Back to index