Home
last modified time | relevance | path

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

/third_party/ltp/testcases/network/stress/route/
Droute-change-netlink.c237 mnl_attr_put(nlh, RTA_GATEWAY, sizeof(struct in6_addr), &gw_in6); in rtnl_route()
240 mnl_attr_put_u32(nlh, RTA_GATEWAY, gw_ip); in rtnl_route()
/third_party/libnl/lib/route/
Droute_obj.c1049 if (ntb[RTA_GATEWAY]) { in parse_multipath()
1052 addr = nl_addr_alloc_attr(ntb[RTA_GATEWAY], in parse_multipath()
1240 if (tb[RTA_GATEWAY]) { in rtnl_route_parse()
1244 if (!(addr = nl_addr_alloc_attr(tb[RTA_GATEWAY], family))) in rtnl_route_parse()
1427 NLA_PUT_ADDR(msg, RTA_GATEWAY, nh->rtnh_gateway); in rtnl_route_build_msg()
1458 NLA_PUT_ADDR(msg, RTA_GATEWAY, in rtnl_route_build_msg()
/third_party/toybox/toys/pending/
Dip.c1643 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()
2301 RTA_GATEWAY, addr, sizeof(uint32_t)); in ruleupdate()
2386 if (!attr[RTA_GATEWAY]) printf("masquerade"); in show_rules()
2388 RTA_DATA(attr[RTA_GATEWAY]), toybuf, sizeof(toybuf))); in show_rules()
/third_party/libnl/include/linux-private/linux/
Drtnetlink.h320 RTA_GATEWAY, enumerator
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c268 case RTA_GATEWAY: in rops_handle_POLLIN_netlink()
/third_party/glib/gio/
Dgnetworkmonitornetlink.c376 else if (attr->rta_type == RTA_GATEWAY) in read_netlink_messages()
/third_party/ltp/lib/
Dtst_netdevice.c426 if (gateway && !tst_rtnl_add_attr(file, lineno, ctx, RTA_GATEWAY, in modify_route()