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

void rtnl_route_set_iif ( struct rtnl_route *  route,
const char *  name 

Set the incoming interface of a route to the specified value

  • route route to be changed
  • name interface name of the new incoming interface

Definition at line 1185 of file route.c.

      strncpy(route->rt_iif, name, sizeof(route->rt_iif) - 1);
      route->rt_mask |= ROUTE_ATTR_IIF;

Generated by  Doxygen 1.6.0   Back to index