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

void rtnl_route_set_protocol ( struct rtnl_route *  route,
int  proto 
)

Set the protocol of a route to the specified value

  • route route to be changed
  • proto new protocol

Definition at line 736 of file route.c.

{
      route->rt_protocol = proto;
      route->rt_mask |= ROUTE_ATTR_PROTOCOL;
}


Generated by  Doxygen 1.6.0   Back to index