/external/iproute2/ip/ |
D | iproute.c | 149 inet_prefix dst = { .family = r->rtm_family }; in filter_nlmsg() 150 inet_prefix src = { .family = r->rtm_family }; in filter_nlmsg() 151 inet_prefix via = { .family = r->rtm_family }; in filter_nlmsg() 152 inet_prefix prefsrc = { .family = r->rtm_family }; in filter_nlmsg() 158 if (preferred_family != AF_UNSPEC && r->rtm_family != preferred_family) in filter_nlmsg() 161 if (r->rtm_family == AF_INET6 && table != RT_TABLE_MAIN) in filter_nlmsg() 167 if (r->rtm_family == AF_INET6 && !ip6_multiple_tables) { in filter_nlmsg() 193 (r->rtm_family != filter.rdst.family || filter.rdst.bitlen > r->rtm_dst_len)) in filter_nlmsg() 196 (r->rtm_family != filter.mdst.family || in filter_nlmsg() 200 (r->rtm_family != filter.rsrc.family || filter.rsrc.bitlen > r->rtm_src_len)) in filter_nlmsg() [all …]
|
D | iprule.c | 80 inet_prefix src = { .family = r->rtm_family }; in filter_nlmsg() 81 inet_prefix dst = { .family = r->rtm_family }; in filter_nlmsg() 84 if (preferred_family != AF_UNSPEC && r->rtm_family != preferred_family) in filter_nlmsg() 98 if (filter.src.family != r->rtm_family || in filter_nlmsg() 109 if (filter.dst.family != r->rtm_family || in filter_nlmsg() 192 host_len = af_bit_len(r->rtm_family); in print_rule() 212 rt_addr_n2a_rta(r->rtm_family, tb[FRA_SRC]), in print_rule() 216 format_host_rta(r->rtm_family, tb[FRA_SRC])); in print_rule() 227 rt_addr_n2a_rta(r->rtm_family, tb[FRA_DST]), in print_rule() 231 format_host_rta(r->rtm_family, tb[FRA_DST])); in print_rule() [all …]
|
D | ipmroute.c | 96 if (filter.af && filter.af != r->rtm_family) in print_mroute() 100 inet_prefix dst = { .family = r->rtm_family }; in print_mroute() 108 inet_prefix src = { .family = r->rtm_family }; in print_mroute() 115 family = get_real_family(r->rtm_type, r->rtm_family); in print_mroute()
|
D | ipmonitor.c | 74 if (r->rtm_family == RTNL_FAMILY_IPMR || in accept_msg() 75 r->rtm_family == RTNL_FAMILY_IP6MR) { in accept_msg()
|
/external/strace/ |
D | rtnl_rule.c | 54 decode_inet_addr(tcp, addr, len, rtmsg->rtm_family, NULL); in decode_rule_addr() 134 struct rtmsg msg = { .rtm_family = family }; in DECL_NETLINK_ROUTE_DECODER() 135 size_t offset = sizeof(msg.rtm_family); in DECL_NETLINK_ROUTE_DECODER() 139 printxval(addrfams, msg.rtm_family, "AF_???"); in DECL_NETLINK_ROUTE_DECODER()
|
D | rtnl_route.c | 87 decode_inet_addr(tcp, addr, len, rtmsg->rtm_family, NULL); in decode_route_addr() 293 struct rtmsg rtmsg = { .rtm_family = family }; in DECL_NETLINK_ROUTE_DECODER() 294 size_t offset = sizeof(rtmsg.rtm_family); in DECL_NETLINK_ROUTE_DECODER() 297 PRINT_FIELD_XVAL("{", rtmsg, rtm_family, addrfams, "AF_???"); in DECL_NETLINK_ROUTE_DECODER()
|
/external/toybox/toys/pending/ |
D | ip.c | 1469 int hlen = ((msg->rtm_family == AF_INET) ? 32 in display_route_info() 1470 : ((msg->rtm_family == AF_INET6) ? 128 : -1)); in display_route_info() 1475 if (msg->rtm_family == AF_INET6) { in display_route_info() 1493 if (gfilter.rdst.family && (msg->rtm_family != gfilter.rdst.family || in display_route_info() 1495 if (gfilter.mdst.family && (msg->rtm_family != gfilter.mdst.family in display_route_info() 1497 if (gfilter.rsrc.family && (msg->rtm_family != gfilter.rsrc.family in display_route_info() 1499 if (gfilter.msrc.family && (msg->rtm_family != gfilter.msrc.family in display_route_info() 1509 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]), in display_route_info() 1523 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]), in display_route_info() 1536 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_GATEWAY]), in display_route_info() [all …]
|
/external/iproute2/lib/ |
D | utils.c | 1268 int get_real_family(int rtm_type, int rtm_family) in get_real_family() argument 1271 return rtm_family; in get_real_family() 1273 if (rtm_family == RTNL_FAMILY_IPMR) in get_real_family() 1276 if (rtm_family == RTNL_FAMILY_IP6MR) in get_real_family() 1279 return rtm_family; in get_real_family()
|
/external/libnl/src/ |
D | nl-route-get.c | 63 .rtm_family = nl_addr_get_family(dst), in main()
|
/external/strace/tests/ |
D | netlink_route.c | 251 .rtm_family = AF_UNIX, in test_rtnl_route() 280 .rtm_family = AF_UNIX, in test_rtnl_rule()
|
D | nlattr_fib_rule_hdr.c | 67 .rtm_family = AF_UNIX, in init_rtmsg()
|
D | nlattr_rtmsg.c | 52 .rtm_family = AF_UNIX, in init_rtmsg()
|
/external/strace/tests-m32/ |
D | netlink_route.c | 251 .rtm_family = AF_UNIX, in test_rtnl_route() 280 .rtm_family = AF_UNIX, in test_rtnl_rule()
|
D | nlattr_fib_rule_hdr.c | 67 .rtm_family = AF_UNIX, in init_rtmsg()
|
D | nlattr_rtmsg.c | 52 .rtm_family = AF_UNIX, in init_rtmsg()
|
/external/strace/tests-mx32/ |
D | netlink_route.c | 251 .rtm_family = AF_UNIX, in test_rtnl_route() 280 .rtm_family = AF_UNIX, in test_rtnl_rule()
|
D | nlattr_fib_rule_hdr.c | 67 .rtm_family = AF_UNIX, in init_rtmsg()
|
D | nlattr_rtmsg.c | 52 .rtm_family = AF_UNIX, in init_rtmsg()
|
/external/libnl/lib/route/ |
D | route.c | 48 .rtm_family = c->c_iarg1, in route_request_update()
|
D | route_obj.c | 1029 route->rt_family = family = rtm->rtm_family; in rtnl_route_parse() 1049 nl_addr_set_family(dst, rtm->rtm_family); in rtnl_route_parse() 1185 .rtm_family = route->rt_family, in rtnl_route_build_msg()
|
/external/iproute2/include/ |
D | utils.h | 253 int get_real_family(int rtm_type, int rtm_family);
|
/external/libnl/include/linux-private/linux/ |
D | rtnetlink.h | 164 unsigned char rtm_family; member
|
/external/iproute2/include/uapi/linux/ |
D | rtnetlink.h | 194 unsigned char rtm_family; member
|
/external/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 201 unsigned char rtm_family; member
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | udpgso.c | 394 rt->rtm_family = is_ipv4 ? AF_INET : AF_INET6; in set_route_mtu()
|