/external/iproute2/ip/ |
D | iproute.c | 170 if (r->rtm_type != RTN_LOCAL) in filter_nlmsg() 173 if (r->rtm_type == RTN_LOCAL) in filter_nlmsg() 188 if (filter.typemask && !(filter.typemask & (1 << r->rtm_type))) in filter_nlmsg() 293 r->rtm_type == RTN_UNREACHABLE && in filter_nlmsg() 368 if ((r->rtm_type != RTN_UNICAST || show_details > 0) && in print_route() 369 (!filter.typemask || (filter.typemask & (1 << r->rtm_type)))) in print_route() 370 fprintf(fp, "%s ", rtnl_rtntype_n2a(r->rtm_type, b1, sizeof(b1))); in print_route() 373 family = get_real_family(r->rtm_type, r->rtm_family); in print_route() 388 family = get_real_family(r->rtm_type, r->rtm_family); in print_route() 636 if (r->rtm_flags&RTM_F_CLONED && r->rtm_type == RTN_MULTICAST) { in print_route() [all …]
|
D | iprule.c | 314 if (r->rtm_type == RTN_NAT) { in print_rule() 321 } else if (r->rtm_type == FR_ACT_GOTO) { in print_rule() 329 } else if (r->rtm_type == FR_ACT_NOP) in print_rule() 331 else if (r->rtm_type != RTN_UNICAST) in print_rule() 333 rtnl_rtntype_n2a(r->rtm_type, in print_rule() 590 .r.rtm_type = RTN_UNSPEC, in iprule_modify() 595 req.r.rtm_type = RTN_UNICAST; in iprule_modify() 728 req.r.rtm_type = RTN_NAT; in iprule_modify() 750 req.r.rtm_type = type; in iprule_modify()
|
D | ipmroute.c | 79 if (r->rtm_type != RTN_MULTICAST) { in print_mroute() 81 rtnl_rtntype_n2a(r->rtm_type, b1, sizeof(b1))); in print_mroute() 115 family = get_real_family(r->rtm_type, r->rtm_family); in print_mroute()
|
/external/toybox/toys/pending/ |
D | ip.c | 1481 if (gfilter.tb == RT_TABLE_LOCAL && msg->rtm_type != RTN_LOCAL) in display_route_info() 1483 else if (gfilter.tb == RT_TABLE_MAIN && msg->rtm_type == RTN_LOCAL) in display_route_info() 1506 if (msg->rtm_type != RTN_UNICAST) in display_route_info() 1507 sprintf(out,"%s%s ", out,rtmtype_idx2str(msg->rtm_type)); in display_route_info() 1608 && msg->rtm_type == RTN_UNREACHABLE in display_route_info() 1921 req.msg.rtm_type = RTN_UNICAST; in route_update() 1979 req.msg.rtm_type = idx; in route_update() 2004 if (req.msg.rtm_type == RTN_LOCAL || req.msg.rtm_type == RTN_NAT) in route_update() 2006 else if (req.msg.rtm_type == RTN_BROADCAST||req.msg.rtm_type == RTN_MULTICAST in route_update() 2007 || req.msg.rtm_type == RTN_ANYCAST) in route_update() [all …]
|
/external/strace/tests/ |
D | netlink_route.c | 258 .rtm_type = RTN_LOCAL, in test_rtnl_route() 285 .rtm_type = FR_ACT_TO_TBL, in test_rtnl_rule()
|
D | nlattr_fib_rule_hdr.c | 70 .rtm_type = FR_ACT_TO_TBL, in init_rtmsg()
|
D | nlattr_rtmsg.c | 57 .rtm_type = RTN_LOCAL, in init_rtmsg()
|
/external/strace/tests-m32/ |
D | netlink_route.c | 258 .rtm_type = RTN_LOCAL, in test_rtnl_route() 285 .rtm_type = FR_ACT_TO_TBL, in test_rtnl_rule()
|
D | nlattr_fib_rule_hdr.c | 70 .rtm_type = FR_ACT_TO_TBL, in init_rtmsg()
|
D | nlattr_rtmsg.c | 57 .rtm_type = RTN_LOCAL, in init_rtmsg()
|
/external/strace/tests-mx32/ |
D | netlink_route.c | 258 .rtm_type = RTN_LOCAL, in test_rtnl_route() 285 .rtm_type = FR_ACT_TO_TBL, in test_rtnl_rule()
|
D | nlattr_fib_rule_hdr.c | 70 .rtm_type = FR_ACT_TO_TBL, in init_rtmsg()
|
D | nlattr_rtmsg.c | 57 .rtm_type = RTN_LOCAL, in init_rtmsg()
|
/external/strace/ |
D | rtnl_rule.c | 154 printxval(fib_rule_actions, msg.rtm_type, "FR_ACT_???"); in DECL_NETLINK_ROUTE_DECODER()
|
D | rtnl_route.c | 314 PRINT_FIELD_XVAL(", ", rtmsg, rtm_type, in DECL_NETLINK_ROUTE_DECODER()
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 686 switch (rtm->rtm_type) { in update_myaddrs() 697 "msg %d not interesting\n", rtm->rtm_type); in update_myaddrs() 704 rtm->rtm_type); in update_myaddrs()
|
/external/syzkaller/sys/linux/ |
D | socket_netlink_route.txt | 116 rtm_type flags[rtm_type, int8] 127 ndm_type flags[rtm_type, int8] 615 rtm_type = RTN_UNSPEC, RTN_UNICAST, RTN_LOCAL, RTN_BROADCAST, RTN_ANYCAST, RTN_MULTICAST, RTN_BLACK…
|
/external/dnsmasq/src/ |
D | netlink.c | 254 if (rtm->rtm_type != RTN_UNICAST || rtm->rtm_scope != RT_SCOPE_LINK) return; in nl_routechange()
|
/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 | 172 unsigned char rtm_type; /* See below */ member
|
/external/iproute2/lib/ |
D | utils.c | 1268 int get_real_family(int rtm_type, int rtm_family) in get_real_family() argument 1270 if (rtm_type != RTN_MULTICAST) in get_real_family()
|
/external/iproute2/include/uapi/linux/ |
D | rtnetlink.h | 202 unsigned char rtm_type; /* See below */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 209 unsigned char rtm_type; /* See below */ member
|
/external/libnl/lib/route/ |
D | route_obj.c | 1032 route->rt_type = rtm->rtm_type; in rtnl_route_parse() 1190 .rtm_type = route->rt_type, in rtnl_route_build_msg()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | udpgso.c | 399 rt->rtm_type = RTN_UNICAST; in set_route_mtu()
|