Home | History | Annotate | Download | only in route

Lines Matching refs:rtnh_gateway

64 	if (src->rtnh_gateway) {
65 nh->rtnh_gateway = nl_addr_clone(src->rtnh_gateway);
66 if (!nh->rtnh_gateway) {
77 nl_addr_put(nh->rtnh_gateway);
93 diff |= NH_DIFF(GATEWAY, nl_addr_cmp(a->rtnh_gateway,
94 b->rtnh_gateway));
117 nl_dump(dp, " %s", nl_addr2str(nh->rtnh_gateway,
143 nl_dump(dp, " via %s", nl_addr2str(nh->rtnh_gateway,
178 nl_addr2str(nh->rtnh_gateway, buf, sizeof(buf)));
256 struct nl_addr *old = nh->rtnh_gateway;
259 nh->rtnh_gateway = nl_addr_get(addr);
263 nh->rtnh_gateway = NULL;
272 return nh->rtnh_gateway;