Home
last modified time | relevance | path

Searched refs:rt_gateway (Results 1 – 22 of 22) sorted by relevance

/linux-2.4.37.9/include/linux/
Droute.h34 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ member
/linux-2.4.37.9/net/ipv4/
Droute.c245 (unsigned long)r->rt_gateway, in rt_cache_get_info()
893 rth->rt_gateway != old_gw || in ip_rt_redirect()
921 rt->rt_gateway = new_gw; in ip_rt_redirect()
1039 icmp_send(skb, ICMP_REDIRECT, ICMP_REDIR_HOST, rt->rt_gateway); in ip_rt_send_redirect()
1049 NIPQUAD(rt->rt_dst), NIPQUAD(rt->rt_gateway)); in ip_rt_send_redirect()
1243 src = inet_select_addr(rt->u.dst.dev, rt->rt_gateway, in ip_rt_get_source()
1250 src = inet_select_addr(rt->u.dst.dev, rt->rt_gateway, in ip_rt_get_source()
1272 rt->rt_gateway = FIB_RES_GW(*res); in rt_set_nexthop()
1278 rt->rt_gateway != rt->rt_dst && in rt_set_nexthop()
1359 rth->rt_gateway = daddr; in ip_route_input_mc()
[all …]
Dip_forward.c101 if (opt->is_strictroute && rt->rt_dst != rt->rt_gateway) in ip_forward()
Dfib_semantics.c806 ptr = &((struct sockaddr_in*)&r->rt_gateway)->sin_addr.s_addr; in fib_convert_rtentry()
807 if (r->rt_gateway.sa_family == AF_INET && *ptr) { in fib_convert_rtentry()
Darp.c467 paddr = ((struct rtable*)skb->dst)->rt_gateway; in arp_find()
499 u32 nexthop = ((struct rtable*)dst)->rt_gateway; in arp_bind_neighbour()
Dipip.c555 if ((dst = rt->rt_gateway) == 0) in ipip_tunnel_xmit()
Dip_output.c385 if (opt && opt->is_strictroute && rt->rt_dst != rt->rt_gateway) in ip_queue_xmit()
Dipconfig.c334 set_sockaddr((struct sockaddr_in *) &rm.rt_gateway, ic_gateway, 0); in ic_setup_routes()
Dip_gre.c707 if ((dst = rt->rt_gateway) == 0) in ipgre_tunnel_xmit()
Dtcp_ipv4.c1280 if (opt && opt->is_strictroute && rt->rt_dst != rt->rt_gateway) { in tcp_v4_route_req()
/linux-2.4.37.9/include/net/
Droute.h78 __u32 rt_gateway; member
/linux-2.4.37.9/drivers/net/appletalk/
Dipddp.c116 u32 paddr = ((struct rtable*)skb->dst)->rt_gateway; in ipddp_xmit()
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_fw_compat_masq.c81 newsrc = inet_select_addr(rt->u.dst.dev, rt->rt_gateway, in do_masquerade()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsunos_ioctl32.c41 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ member
Dioctl32.c735 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ member
/linux-2.4.37.9/net/appletalk/
Dddp.c607 struct sockaddr_at *ga = (struct sockaddr_at *)&r->rt_gateway; in atrtr_create()
844 sa = (struct sockaddr_at *) &rtdef.rt_gateway; in atif_ioctl()
/linux-2.4.37.9/arch/s390x/kernel/
Dioctl32.c325 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ member
/linux-2.4.37.9/net/ipx/
Daf_ipx.c1625 sg = (struct sockaddr_ipx *)&rt.rt_gateway; in ipxrtr_ioctl()
/linux-2.4.37.9/arch/mips64/kernel/
Dioctl32.c492 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ member
/linux-2.4.37.9/arch/parisc/kernel/
Dioctl32.c390 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ member
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_ioctl.c788 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ member
/linux-2.4.37.9/arch/ppc64/kernel/
Dioctl32.c803 struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */ member