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

void rtnl_neigh_set_ifindex ( struct rtnl_neigh *  neigh,
int  ifindex 
)

Set the interface index of device this neighbour is on

  • neigh neighbour to change
  • ifindex new interface index

Definition at line 887 of file neigh.c.

{
      neigh->n_ifindex = ifindex;
      neigh->n_mask |= NEIGH_ATTR_IFINDEX;
}


Generated by  Doxygen 1.6.0   Back to index