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

void rtnl_link_set_ifindex ( struct rtnl_link *  link,
int  ifindex 
)

Set interface index

  • link link to change
  • ifindex new interface index

Definition at line 1179 of file link.c.

{
      link->l_index = ifindex;
      link->l_mask |= LINK_ATTR_IFINDEX;
}


Generated by  Doxygen 1.6.0   Back to index