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

char* rtnl_link_get_name ( struct rtnl_link *  link  ) 

Get link name

  • link link handle
    Returns:
    Name of the link or NULL if not set.

Definition at line 1046 of file link.c.

{
      if (link->l_mask & LINK_ATTR_IFNAME)
            return link->l_name;
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index