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

void rtnl_link_set_master ( struct rtnl_link *  link,
int  ifindex 
)

Set master interface index

  • link link to change
  • ifindex new master's interface index

Definition at line 1301 of file link.c.

{
      link->l_master = ifindex;
      link->l_mask |= LINK_ATTR_MASTER;
}


Generated by  Doxygen 1.6.0   Back to index