Searched refs:RTA_GATEWAY (Results 1 – 12 of 12) sorted by relevance
/external/strace/xlat/ |
D | rtnl_route_attrs.h | 41 #if defined(RTA_GATEWAY) || (defined(HAVE_DECL_RTA_GATEWAY) && HAVE_DECL_RTA_GATEWAY) 43 static_assert((RTA_GATEWAY) == (5), "RTA_GATEWAY != 5"); 46 # define RTA_GATEWAY 5 232 XLAT(RTA_GATEWAY),
|
D | rtnl_route_attrs.in | 6 RTA_GATEWAY 5
|
/external/iproute2/ip/ |
D | iproute.c | 227 if (tb[RTA_GATEWAY]) in filter_nlmsg() 228 memcpy(&via.data, RTA_DATA(tb[RTA_GATEWAY]), host_len/8); in filter_nlmsg() 413 if (tb[RTA_GATEWAY] && filter.rvia.bitlen != host_len) { in print_route() 415 format_host_rta(r->rtm_family, tb[RTA_GATEWAY])); in print_route() 657 if (tb[RTA_GATEWAY]) { in print_route() 660 tb[RTA_GATEWAY])); in print_route() 762 rta_addattr_l(rta, 4096, RTA_GATEWAY, &addr.data, addr.bytelen); in parse_one_nh() 920 addattr_l(&req.n, sizeof(req), RTA_GATEWAY, in iproute_modify() 1837 if (tb[RTA_GATEWAY]) in iproute_get() 1838 tb[RTA_GATEWAY]->rta_type = 0; in iproute_get() [all …]
|
D | iprule.c | 315 if (tb[RTA_GATEWAY]) { in print_rule() 318 tb[RTA_GATEWAY])); in print_rule() 726 addattr32(&req.n, sizeof(req), RTA_GATEWAY, in iprule_modify()
|
/external/libnl/lib/route/ |
D | route_obj.c | 972 if (ntb[RTA_GATEWAY]) { in parse_multipath() 975 addr = nl_addr_alloc_attr(ntb[RTA_GATEWAY], in parse_multipath() 1122 if (tb[RTA_GATEWAY]) { in rtnl_route_parse() 1126 if (!(addr = nl_addr_alloc_attr(tb[RTA_GATEWAY], family))) in rtnl_route_parse() 1250 NLA_PUT_ADDR(msg, RTA_GATEWAY, nh->rtnh_gateway); in rtnl_route_build_msg() 1274 NLA_PUT_ADDR(msg, RTA_GATEWAY, in rtnl_route_build_msg()
|
/external/strace/ |
D | rtnl_route.c | 230 [RTA_GATEWAY] = decode_route_addr,
|
/external/toybox/toys/pending/ |
D | ip.c | 1644 if (attr[RTA_GATEWAY]) { in display_route_info() 1645 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_GATEWAY]), in display_route_info() 1652 if (!attr[RTA_GATEWAY]) return 0; in display_route_info() 1859 if (attr[RTA_GATEWAY]) attr[RTA_GATEWAY]->rta_type = 0; in route_get() 2052 add_string_to_rtattr(&req.hdr, sizeof(req),RTA_GATEWAY, addr, len); in route_update() 2302 RTA_GATEWAY, addr, sizeof(uint32_t)); in ruleupdate() 2387 if (!attr[RTA_GATEWAY]) printf("masquerade"); in show_rules() 2389 RTA_DATA(attr[RTA_GATEWAY]), toybuf, sizeof(toybuf))); in show_rules()
|
/external/libnl/include/linux-private/linux/ |
D | rtnetlink.h | 274 RTA_GATEWAY, enumerator
|
/external/iproute2/include/uapi/linux/ |
D | rtnetlink.h | 308 RTA_GATEWAY, enumerator
|
/external/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 334 RTA_GATEWAY, enumerator
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 2148 pub const RTA_GATEWAY: ::c_ushort = 5; constant
|
/external/rust/crates/libc/src/unix/bsd/apple/ |
D | mod.rs | 2920 pub const RTA_GATEWAY: ::c_int = 0x2; constant
|