Searched refs:RTA_GATEWAY (Results 1 - 8 of 8) sorted by relevance
/third_party/ltp/testcases/network/stress/route/ |
H A D | route-change-netlink.c | 235 mnl_attr_put(nlh, RTA_GATEWAY, sizeof(struct in6_addr), &gw_in6); in rtnl_route() 238 mnl_attr_put_u32(nlh, RTA_GATEWAY, gw_ip); in rtnl_route()
|
/third_party/toybox/toys/pending/ |
H A D | ip.c | 1643 if (attr[RTA_GATEWAY]) { in display_route_info() 1644 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_GATEWAY]), in display_route_info() 1651 if (!attr[RTA_GATEWAY]) return 0; in display_route_info() 1858 if (attr[RTA_GATEWAY]) attr[RTA_GATEWAY]->rta_type = 0; in route_get() 2051 add_string_to_rtattr(&req.hdr, sizeof(req),RTA_GATEWAY, addr, len); in route_update() 2299 RTA_GATEWAY, addr, sizeof(uint32_t)); in ruleupdate() 2384 if (!attr[RTA_GATEWAY]) printf("masquerade"); in show_rules() 2386 RTA_DATA(attr[RTA_GATEWAY]), toybuf, sizeof(toybuf))); in show_rules()
|
/third_party/libwebsockets/lib/roles/netlink/ |
H A D | ops-netlink.c | 277 case RTA_GATEWAY: in rops_handle_POLLIN_netlink()
|
/third_party/ltp/lib/ |
H A D | tst_netdevice.c | 433 if (gateway && !tst_rtnl_add_attr(file, lineno, ctx, RTA_GATEWAY, in modify_route()
|
/third_party/rust/crates/libc/src/unix/nto/ |
H A D | mod.rs | 1431 pub const RTA_GATEWAY: ::c_ushort = 0x2; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 2927 pub const RTA_GATEWAY: ::c_ushort = 5; consts
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 2872 pub const RTA_GATEWAY: ::c_ushort = 5; consts
|
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
H A D | mod.rs | 4460 pub const RTA_GATEWAY: ::c_int = 0x2; consts
|
Completed in 54 milliseconds