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

void rtnl_neigh_set_state ( struct rtnl_neigh *  neigh,
int  state 
)

Set a neighbour state

  • neigh neighbour to change
  • state state to set

Definition at line 816 of file neigh.c.

{
      neigh->n_state_mask |= state;
      neigh->n_state |= state;
      neigh->n_mask |= NEIGH_ATTR_STATE;
}


Generated by  Doxygen 1.6.0   Back to index