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

void rtnl_neightbl_set_family ( struct rtnl_neightbl ntbl,
int  family 
)

Set the address family of a neighbour table to the specified value

  • ntbl neighbour table to change
  • family new address family

Definition at line 621 of file neightbl.c.

References rtnl_neightbl::nt_family, and rtnl_neightbl::nt_mask.

{
      ntbl->nt_family = family;
      ntbl->nt_mask |= NEIGHTBL_ATTR_FAMILY;
}


Generated by  Doxygen 1.6.0   Back to index