Searched refs:rt_gateway (Results 1 – 9 of 9) sorted by relevance
449 if (rt->rt_gateway) in ipv4_neigh_lookup()450 pkey = (const __be32 *) &rt->rt_gateway; in ipv4_neigh_lookup()617 rt->rt_gateway = fnhe->fnhe_gw; in fill_route_from_fnhe()732 if (rt->rt_gateway != old_gw) in __ip_do_redirect()1303 if (!rt->rt_gateway) in rt_bind_exception()1304 rt->rt_gateway = daddr; in rt_bind_exception()1399 rt->rt_gateway = nh->nh_gw; in rt_set_nexthop()1417 if (!rt->rt_gateway) in rt_set_nexthop()1418 rt->rt_gateway = daddr; in rt_set_nexthop()1488 rth->rt_gateway = 0; in ip_route_input_mc()[all …]
97 xdst->u.rt.rt_gateway = rt->rt_gateway; in xfrm4_fill_dst()
437 addr = sk_extract_addr(&rt->rt_gateway); in rtentry_to_fib_config()438 if (rt->rt_gateway.sa_family == AF_INET && addr) { in rtentry_to_fib_config()
422 set_sockaddr((struct sockaddr_in *) &rm.rt_gateway, ic_gateway, 0); in ic_setup_routes()
888 rt->rt_gateway = DN_FIB_RES_GW(*res); in dn_rt_set_next_hop()894 n = __neigh_lookup_errno(&dn_neigh_table, &rt->rt_gateway, dev); in dn_rt_set_next_hop()1205 rt->rt_gateway = gateway ? gateway : fld.daddr; in dn_route_output_slow()1463 rt->rt_gateway = fld.daddr; in dn_route_input_slow()1465 rt->rt_gateway = gateway; in dn_route_input_slow()1604 if (rt->rt_daddr != rt->rt_gateway && in dn_rt_fill_info()1605 nla_put_le16(skb, RTA_GATEWAY, rt->rt_gateway) < 0) in dn_rt_fill_info()
267 sg = (struct sockaddr_ipx *)&rt.rt_gateway; in ipxrtr_ioctl()
345 if (rt->rt_gateway) in clip_start_xmit()346 daddr = &rt->rt_gateway; in clip_start_xmit()
504 struct sockaddr_at *ga = (struct sockaddr_at *)&r->rt_gateway; in atrtr_create()750 sa = (struct sockaddr_at *)&rtdef.rt_gateway; in atif_ioctl()
3136 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ member