Home
last modified time | relevance | path

Searched refs:rtnh_gateway (Results 1 – 3 of 3) sorted by relevance

/external/libnl/lib/route/
Dnexthop.c64 if (src->rtnh_gateway) { in rtnl_route_nh_clone()
65 nh->rtnh_gateway = nl_addr_clone(src->rtnh_gateway); in rtnl_route_nh_clone()
66 if (!nh->rtnh_gateway) { in rtnl_route_nh_clone()
77 nl_addr_put(nh->rtnh_gateway); in rtnl_route_nh_free()
93 diff |= NH_DIFF(GATEWAY, nl_addr_cmp(a->rtnh_gateway, in rtnl_route_nh_compare()
94 b->rtnh_gateway)); in rtnl_route_nh_compare()
117 nl_dump(dp, " %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_line()
146 nl_dump(dp, " via %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_details()
223 struct nl_addr *old = nh->rtnh_gateway; in rtnl_route_nh_set_gateway()
226 nh->rtnh_gateway = nl_addr_get(addr); in rtnl_route_nh_set_gateway()
[all …]
Droute_obj.c500 nl_addr2str(cloned_nh->rtnh_gateway, buf, in route_update()
528 nl_addr2str(old_nh->rtnh_gateway, buf, in route_update()
926 if (nh->rtnh_gateway) in rtnl_route_guess_scope()
1249 if (nh->rtnh_gateway) in rtnl_route_build_msg()
1250 NLA_PUT_ADDR(msg, RTA_GATEWAY, nh->rtnh_gateway); in rtnl_route_build_msg()
1273 if (nh->rtnh_gateway) in rtnl_route_build_msg()
1275 nh->rtnh_gateway); in rtnl_route_build_msg()
/external/libnl/include/netlink-private/
Dtypes.h271 struct nl_addr * rtnh_gateway; member