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

void rtnl_neigh_set_family ( struct rtnl_neigh *  neigh,
int  family 
)

Set destination address family

  • neigh neighbour to change
  • family new destination address family

Definition at line 995 of file neigh.c.

{
      neigh->n_family = family;
      neigh->n_mask |= NEIGH_ATTR_FAMILY;
}


Generated by  Doxygen 1.6.0   Back to index