Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diprule.c105 if (r->rtm_dst_len != host_len) { in print_rule()
110 r->rtm_dst_len in print_rule()
118 } else if (r->rtm_dst_len) { in print_rule()
119 fprintf(fp, "to 0/%d ", r->rtm_dst_len); in print_rule()
366 req.r.rtm_dst_len = dst.bitlen; in iprule_modify()
Diproute.c186 (r->rtm_family != filter.rdst.family || filter.rdst.bitlen > r->rtm_dst_len)) in filter_nlmsg()
190 (filter.mdst.bitlen >= 0 && filter.mdst.bitlen < r->rtm_dst_len))) in filter_nlmsg()
214 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), (r->rtm_dst_len+7)/8); in filter_nlmsg()
243 inet_addr_match(&dst, &filter.mdst, r->rtm_dst_len)) in filter_nlmsg()
286 r->rtm_dst_len == 0 && in filter_nlmsg()
364 if (r->rtm_dst_len != host_len) { in print_route()
369 r->rtm_dst_len in print_route()
378 } else if (r->rtm_dst_len) { in print_route()
379 fprintf(fp, "0/%d ", r->rtm_dst_len); in print_route()
1158 req.r.rtm_dst_len = dst.bitlen; in iproute_modify()
[all …]
/external/libnl/src/
Dnl-route-get.c64 .rtm_dst_len = nl_addr_get_prefixlen(dst), in main()
/external/toybox/toys/pending/
Dip.c1494 gfilter.rdst.netmask > msg->rtm_dst_len)) return 0; in display_route_info()
1496 || (gfilter.mdst.netmask < msg->rtm_dst_len))) return 0; in display_route_info()
1519 if (msg->rtm_dst_len) sprintf(out,"%s/%d ", out,msg->rtm_dst_len); in display_route_info()
1607 && !msg->rtm_dst_len in display_route_info()
1698 else request.msg.rtm_dst_len = netmask; in route_get()
1721 if (!request.msg.rtm_dst_len) in route_get()
1985 req.msg.rtm_dst_len = netmask; in route_update()
2109 tmp = idx ? &request.msg.rtm_dst_len : &request.msg.rtm_src_len; in ruleupdate()
2251 (msg->rtm_dst_len != hlen) ? printf("/%u", msg->rtm_dst_len) : xputc(' '); in show_rules()
2252 } else if (msg->rtm_dst_len) in show_rules()
[all …]
/external/libnl/include/linux-private/linux/
Drtnetlink.h165 unsigned char rtm_dst_len; member
/external/dhcpcd-6.8.2/
Dif-linux.c445 inet_cidrtoaddr(rtm->rtm_dst_len, &rt->net); in if_copyrt()
481 ipv6_mask(&rt->net, rtm->rtm_dst_len); in if_copyrt6()
1366 nlm.rt.rtm_dst_len = inet_ntocidr(rt->net); in if_route()
1561 nlm.rt.rtm_dst_len = ipv6_prefixlen(&rt->net); in if_route6()
/external/iproute2/include/linux/
Drtnetlink.h184 unsigned char rtm_dst_len; member
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h189 unsigned char rtm_dst_len; member
/external/libnl/lib/route/
Droute_obj.c1052 nl_addr_set_prefixlen(dst, rtm->rtm_dst_len); in rtnl_route_parse()
1197 rtmsg.rtm_dst_len = nl_addr_get_prefixlen(route->rt_dst); in rtnl_route_build_msg()