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

void rtnl_link_set_name ( struct rtnl_link *  link,
const char *  name 
)

Set new link name

  • link link to change
  • name new link name

Definition at line 1035 of file link.c.

{
      strncpy(link->l_name, name, sizeof(link->l_name) - 1);
      link->l_mask |= LINK_ATTR_IFNAME;
}


Generated by  Doxygen 1.6.0   Back to index