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

int rtnl_route_get_dst_len ( struct rtnl_route *  route  ) 

Get the destination address prefix length of a route

  • route route handle
    Prefix length or -1 if not set

Definition at line 821 of file route.c.

      if (route->rt_mask & ROUTE_ATTR_DST_LEN)
            return route->rt_dst_len;
            return -1;

Generated by  Doxygen 1.6.0   Back to index