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

void rtnl_route_set_oif ( struct rtnl_route *  route,
int  ifindex 

Set the outgoing interface of a route to the specified value

  • route route to be changed
  • ifindex interface index of new outoing interface

Definition at line 1161 of file route.c.

      route->rt_oif = ifindex;
      route->rt_mask |= ROUTE_ATTR_OIF;

Generated by  Doxygen 1.6.0   Back to index