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

void rtnl_route_set_scope ( struct rtnl_route *  route,
int  scope 
)

Set the scope of a route to the specified value

  • route route to be changed
  • scope new scope

Definition at line 664 of file route.c.

{
      route->rt_scope = scope;
      route->rt_mask |= ROUTE_ATTR_SCOPE;
}


Generated by  Doxygen 1.6.0   Back to index