Searched refs:rtm_dst_len (Results 1 – 9 of 9) sorted by relevance
/external/iproute2/ip/ |
D | iprule.c | 105 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()
|
D | iproute.c | 186 (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/ |
D | nl-route-get.c | 64 .rtm_dst_len = nl_addr_get_prefixlen(dst), in main()
|
/external/toybox/toys/pending/ |
D | ip.c | 1494 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/ |
D | rtnetlink.h | 165 unsigned char rtm_dst_len; member
|
/external/dhcpcd-6.8.2/ |
D | if-linux.c | 445 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/ |
D | rtnetlink.h | 184 unsigned char rtm_dst_len; member
|
/external/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 189 unsigned char rtm_dst_len; member
|
/external/libnl/lib/route/ |
D | route_obj.c | 1052 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()
|