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

void rtnl_link_set_link ( struct rtnl_link *  link,
int  ifindex 
)

Set parent interface index

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

Definition at line 1277 of file link.c.

{
      link->l_link = ifindex;
      link->l_mask |= LINK_ATTR_LINK;
}


Generated by  Doxygen 1.6.0   Back to index