Searched refs:rtnh_via (Results 1 – 3 of 3) sorted by relevance
86 if (src->rtnh_via) { in rtnl_route_nh_clone()87 nh->rtnh_via = nl_addr_clone(src->rtnh_via); in rtnl_route_nh_clone()88 if (!nh->rtnh_via) { in rtnl_route_nh_clone()103 nl_addr_put(nh->rtnh_via); in rtnl_route_nh_free()129 diff |= NH_DIFF(VIA, nl_addr_cmp(a->rtnh_via, in rtnl_route_nh_compare()130 b->rtnh_via)); in rtnl_route_nh_compare()163 nl_addr2str(nh->rtnh_via, buf, sizeof(buf))); in nh_dump_line()203 nl_addr2str(nh->rtnh_via, buf, sizeof(buf))); in nh_dump_details()379 struct nl_addr *old = nh->rtnh_via; in rtnl_route_nh_set_via()386 nh->rtnh_via = nl_addr_get(addr); in rtnl_route_nh_set_via()[all …]
1434 if (nh->rtnh_via && rtnl_route_put_via(msg, nh->rtnh_via) < 0) in rtnl_route_build_msg()1464 if (nh->rtnh_via && in rtnl_route_build_msg()1465 rtnl_route_put_via(msg, nh->rtnh_via) < 0) in rtnl_route_build_msg()
325 struct nl_addr * rtnh_via; member