Home
last modified time | relevance | path

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

/external/strace/xlat/
Drtnl_route_attrs.h41 #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),
Drtnl_route_attrs.in6 RTA_GATEWAY 5
/external/iproute2/ip/
Diproute.c227 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 …]
Diprule.c315 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/
Droute_obj.c972 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/
Drtnl_route.c230 [RTA_GATEWAY] = decode_route_addr,
/external/toybox/toys/pending/
Dip.c1644 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/
Drtnetlink.h274 RTA_GATEWAY, enumerator
/external/iproute2/include/uapi/linux/
Drtnetlink.h308 RTA_GATEWAY, enumerator
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h334 RTA_GATEWAY, enumerator
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs2148 pub const RTA_GATEWAY: ::c_ushort = 5; constant
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs2920 pub const RTA_GATEWAY: ::c_int = 0x2; constant