Home
last modified time | relevance | path

Searched refs:rtm_src_len (Results 1 – 12 of 12) sorted by relevance

/external/strace/tests/
Dnetlink_route.c253 .rtm_src_len = 0xda, in test_rtnl_route()
266 PRINT_FIELD_U(", ", msg, rtm_src_len); in test_rtnl_route()
282 .rtm_src_len = 0xda, in test_rtnl_rule()
298 msg.rtm_src_len)); in test_rtnl_rule()
/external/strace/tests-m32/
Dnetlink_route.c253 .rtm_src_len = 0xda, in test_rtnl_route()
266 PRINT_FIELD_U(", ", msg, rtm_src_len); in test_rtnl_route()
282 .rtm_src_len = 0xda, in test_rtnl_rule()
298 msg.rtm_src_len)); in test_rtnl_rule()
/external/strace/tests-mx32/
Dnetlink_route.c253 .rtm_src_len = 0xda, in test_rtnl_route()
266 PRINT_FIELD_U(", ", msg, rtm_src_len); in test_rtnl_route()
282 .rtm_src_len = 0xda, in test_rtnl_rule()
298 msg.rtm_src_len)); in test_rtnl_rule()
/external/iproute2/ip/
Diprule.c96 (r->rtm_src_len + 7) / 8); in filter_nlmsg()
99 filter.src.bitlen > r->rtm_src_len || in filter_nlmsg()
210 if (r->rtm_src_len != host_len) { in print_rule()
213 r->rtm_src_len); in print_rule()
218 } else if (r->rtm_src_len) { in print_rule()
219 fprintf(fp, "from 0/%d ", r->rtm_src_len); in print_rule()
611 req.r.rtm_src_len = dst.bitlen; in iprule_modify()
Diproute.c200 (r->rtm_family != filter.rsrc.family || filter.rsrc.bitlen > r->rtm_src_len)) in filter_nlmsg()
204 (filter.msrc.bitlen >= 0 && filter.msrc.bitlen < r->rtm_src_len))) in filter_nlmsg()
224 memcpy(&src.data, RTA_DATA(tb[RTA_SRC]), (r->rtm_src_len+7)/8); in filter_nlmsg()
251 inet_addr_match(&src, &filter.msrc, r->rtm_src_len)) in filter_nlmsg()
389 if (r->rtm_src_len != host_len) { in print_route()
392 r->rtm_src_len); in print_route()
397 } else if (r->rtm_src_len) { in print_route()
398 fprintf(fp, "from 0/%u ", r->rtm_src_len); in print_route()
934 req.r.rtm_src_len = addr.bitlen; in iproute_modify()
1712 req.r.rtm_src_len = addr.bitlen; in iproute_get()
[all …]
/external/strace/
Drtnl_rule.c147 msg.rtm_dst_len, msg.rtm_src_len); in DECL_NETLINK_ROUTE_DECODER()
Drtnl_route.c305 PRINT_FIELD_U(", ", rtmsg, rtm_src_len); in DECL_NETLINK_ROUTE_DECODER()
/external/toybox/toys/pending/
Dip.c1498 || gfilter.rsrc.netmask > msg->rtm_src_len)) return 0; in display_route_info()
1500 || (gfilter.msrc.netmask < msg->rtm_src_len))) return 0; in display_route_info()
1533 if (msg->rtm_src_len) sprintf(out, "%s/%d ", out, msg->rtm_src_len); in display_route_info()
1697 if (!idx) request.msg.rtm_src_len = netmask; in route_get()
1742 msg->rtm_src_len = 8*RTA_PAYLOAD(attr[RTA_PREFSRC]); in route_get()
2109 tmp = idx ? &request.msg.rtm_dst_len : &request.msg.rtm_src_len; in ruleupdate()
2243 (msg->rtm_src_len != hlen) ? printf("/%u", msg->rtm_src_len) : 0; in show_rules()
2244 } else msg->rtm_src_len ? printf("0/%d", msg->rtm_src_len) : printf("all"); in show_rules()
/external/libnl/lib/route/
Droute_obj.c1062 } else if (rtm->rtm_src_len) in rtnl_route_parse()
1067 nl_addr_set_prefixlen(src, rtm->rtm_src_len); in rtnl_route_parse()
1199 rtmsg.rtm_src_len = nl_addr_get_prefixlen(route->rt_src); in rtnl_route_build_msg()
/external/libnl/include/linux-private/linux/
Drtnetlink.h166 unsigned char rtm_src_len; member
/external/iproute2/include/uapi/linux/
Drtnetlink.h196 unsigned char rtm_src_len; member
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h203 unsigned char rtm_src_len; member