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

void rtnl_addr_set_ifindex ( struct rtnl_addr *  addr,
int  ifindex 

Set interface index of address object

  • addr Address object ot be modified.
  • ifindex New interface index this address is on.

Definition at line 788 of file addr.c.

      addr->a_ifindex = ifindex;
      addr->a_mask |= ADDR_ATTR_IFINDEX;

Generated by  Doxygen 1.6.0   Back to index