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

void rtnl_route_set_dst_len ( struct rtnl_route *  route,
int  prefix 

Set the destination address prefix length of a route to the specified value

  • route route to be changed
  • prefix new destination address prefix
    The destination address prefix gets overwritten by calls to rtnl_route_set_dst() rtnl_route_set_dst_str().

Definition at line 810 of file route.c.

      route->rt_dst_len = prefix;
      route->rt_mask |= ROUTE_ATTR_DST_LEN;

Generated by  Doxygen 1.6.0   Back to index