Home
last modified time | relevance | path

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

/third_party/libnl/lib/route/
Dnexthop.c69 if (src->rtnh_gateway) { in rtnl_route_nh_clone()
70 nh->rtnh_gateway = nl_addr_clone(src->rtnh_gateway); in rtnl_route_nh_clone()
71 if (!nh->rtnh_gateway) { in rtnl_route_nh_clone()
80 nl_addr_put(nh->rtnh_gateway); in rtnl_route_nh_clone()
89 nl_addr_put(nh->rtnh_gateway); in rtnl_route_nh_clone()
101 nl_addr_put(nh->rtnh_gateway); in rtnl_route_nh_free()
125 diff |= NH_DIFF(GATEWAY, nl_addr_cmp(a->rtnh_gateway, in rtnl_route_nh_compare()
126 b->rtnh_gateway)); in rtnl_route_nh_compare()
166 nl_dump(dp, " %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_line()
206 nl_dump(dp, " via %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_details()
[all …]
Droute_obj.c526 nl_addr2str(cloned_nh->rtnh_gateway, buf, in route_update()
554 nl_addr2str(old_nh->rtnh_gateway, buf, in route_update()
975 if (nh->rtnh_gateway) in rtnl_route_guess_scope()
1426 if (nh->rtnh_gateway) in rtnl_route_build_msg()
1427 NLA_PUT_ADDR(msg, RTA_GATEWAY, nh->rtnh_gateway); in rtnl_route_build_msg()
1457 if (nh->rtnh_gateway) in rtnl_route_build_msg()
1459 nh->rtnh_gateway); in rtnl_route_build_msg()
/third_party/libnl/include/netlink-private/
Dtypes.h320 struct nl_addr * rtnh_gateway; member