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

void rtnl_neigh_set_type ( struct rtnl_neigh *  neigh,
int  type 
)

Set RTN type of a neighbour

  • neigh neighbour to change
  • type new rtn type

Definition at line 1006 of file neigh.c.

{
      neigh->n_type = type;
      neigh->n_mask = NEIGH_ATTR_TYPE;
}


Generated by  Doxygen 1.6.0   Back to index