Home
last modified time | relevance | path

Searched refs:rtm_dst_len (Results 1 – 7 of 7) sorted by relevance

/external/iproute2/ip/
Diprule.c108 if (r->rtm_dst_len != host_len) { in print_rule()
113 r->rtm_dst_len in print_rule()
121 } else if (r->rtm_dst_len) { in print_rule()
122 fprintf(fp, "to 0/%d ", r->rtm_dst_len); in print_rule()
263 req.r.rtm_dst_len = dst.bitlen; in iprule_modify()
Diproute.c191 (r->rtm_family != filter.rdst.family || filter.rdst.bitlen > r->rtm_dst_len)) in print_route()
195 (filter.mdst.bitlen >= 0 && filter.mdst.bitlen < r->rtm_dst_len))) in print_route()
212 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), (r->rtm_dst_len+7)/8); in print_route()
235 inet_addr_match(&dst, &filter.mdst, r->rtm_dst_len)) in print_route()
271 r->rtm_dst_len == 0 && in print_route()
300 if (r->rtm_dst_len != host_len) { in print_route()
305 r->rtm_dst_len in print_route()
314 } else if (r->rtm_dst_len) { in print_route()
315 fprintf(fp, "0/%d ", r->rtm_dst_len); in print_route()
927 req.r.rtm_dst_len = dst.bitlen; in iproute_modify()
[all …]
/external/android-clat/
Dsetroute.c66 rt.rtm_dst_len = prefixlen; in if_route()
Dgetroute.c52 if(rt_p->rtm_dst_len != 0) { // not a default route in get_default_route_cb()
/external/dhcpcd/
Dif-linux.c282 inet_cidrtoaddr(rtm->rtm_dst_len, &rt.net); in link_route()
575 nlm->rt.rtm_dst_len = inet_ntocidr(rt->net); in if_route()
/external/iproute2/include/linux/
Drtnetlink.h165 unsigned char rtm_dst_len; member
/external/kernel-headers/original/linux/
Drtnetlink.h165 unsigned char rtm_dst_len; member