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

void rtnl_route_set_type ( struct rtnl_route *  route,
int  type 
)

Set the type of a route to the specified value

  • route route to be changed
  • type new route type

Definition at line 860 of file route.c.

{
      route->rt_type = type;
      route->rt_mask |= ROUTE_ATTR_TYPE;
}


Generated by  Doxygen 1.6.0   Back to index