Home
last modified time | relevance | path

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

/external/strace/tests/
Dnetlink_route.c252 .rtm_dst_len = 0xaf, in test_rtnl_route()
265 PRINT_FIELD_U(", ", msg, rtm_dst_len); in test_rtnl_route()
281 .rtm_dst_len = 0xaf, in test_rtnl_rule()
297 msg.rtm_dst_len, in test_rtnl_rule()
/external/strace/tests-m32/
Dnetlink_route.c252 .rtm_dst_len = 0xaf, in test_rtnl_route()
265 PRINT_FIELD_U(", ", msg, rtm_dst_len); in test_rtnl_route()
281 .rtm_dst_len = 0xaf, in test_rtnl_rule()
297 msg.rtm_dst_len, in test_rtnl_rule()
/external/strace/tests-mx32/
Dnetlink_route.c252 .rtm_dst_len = 0xaf, in test_rtnl_route()
265 PRINT_FIELD_U(", ", msg, rtm_dst_len); in test_rtnl_route()
281 .rtm_dst_len = 0xaf, in test_rtnl_rule()
297 msg.rtm_dst_len, in test_rtnl_rule()
/external/iproute2/ip/
Diprule.c107 (r->rtm_dst_len + 7) / 8); in filter_nlmsg()
110 filter.dst.bitlen > r->rtm_dst_len || in filter_nlmsg()
225 if (r->rtm_dst_len != host_len) { in print_rule()
228 r->rtm_dst_len); in print_rule()
233 } else if (r->rtm_dst_len) { in print_rule()
234 fprintf(fp, "to 0/%d ", r->rtm_dst_len); in print_rule()
619 req.r.rtm_dst_len = dst.bitlen; in iprule_modify()
Diproute.c193 (r->rtm_family != filter.rdst.family || filter.rdst.bitlen > r->rtm_dst_len)) in filter_nlmsg()
197 (filter.mdst.bitlen >= 0 && filter.mdst.bitlen < r->rtm_dst_len))) in filter_nlmsg()
221 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), (r->rtm_dst_len+7)/8); in filter_nlmsg()
245 inet_addr_match(&dst, &filter.mdst, r->rtm_dst_len)) in filter_nlmsg()
292 r->rtm_dst_len == 0 && in filter_nlmsg()
374 if (r->rtm_dst_len != host_len) { in print_route()
377 r->rtm_dst_len); in print_route()
382 } else if (r->rtm_dst_len) { in print_route()
383 fprintf(fp, "0/%d ", r->rtm_dst_len); in print_route()
1240 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/strace/
Drtnl_rule.c147 msg.rtm_dst_len, msg.rtm_src_len); in DECL_NETLINK_ROUTE_DECODER()
Drtnl_route.c304 PRINT_FIELD_U("", rtmsg, rtm_dst_len); in DECL_NETLINK_ROUTE_DECODER()
/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/iproute2/include/uapi/linux/
Drtnetlink.h195 unsigned char rtm_dst_len; member
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h202 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()
/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso.c396 rt->rtm_dst_len = alen << 3; in set_route_mtu()
/external/syzkaller/sys/linux/
Dsocket_netlink_route.txt110 rtm_dst_len flags[rtm_addr_len, int8]