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

void rtnl_addr_set_scope ( struct rtnl_addr *  addr,
int  scope 
)

Set scope of address object.

  • addr Address object to be modified.
  • scope New scope.

Definition at line 864 of file addr.c.

{
      addr->a_scope = scope;
      addr->a_mask |= ADDR_ATTR_SCOPE;
}


Generated by  Doxygen 1.6.0   Back to index