tag | line | file | source code |
gw | 189 | include/net/route.h | extern void ip_rt_redirect(__u32 src, __u32 dst, __u32 gw, struct device *dev); |
gw | 1031 | net/ipv4/ip_output.c | void ip_netlink_msg(unsigned long msg, __u32 daddr, __u32 gw, __u32 mask, short flags, short metric, char *name) |
gw | 1046 | net/ipv4/ip_output.c | s->sin_addr.s_addr=gw; |
gw | 139 | net/ipv4/route.c | __u32 gw; |
gw | 314 | net/ipv4/route.c | static __inline__ struct device * get_gw_dev(__u32 gw) |
gw | 317 | net/ipv4/route.c | f = fib_lookup_gateway(gw); |
gw | 454 | net/ipv4/route.c | static struct fib_info * fib_create_info(__u32 gw, struct device * dev, |
gw | 483 | net/ipv4/route.c | if (fi->fib_gateway != gw || |
gw | 502 | net/ipv4/route.c | fi->fib_gateway = gw; |
gw | 520 | net/ipv4/route.c | __u32 gw, struct device *dev, unsigned short mss, |
gw | 556 | net/ipv4/route.c | if (gw == dev->pa_addr) |
gw | 566 | net/ipv4/route.c | if ((dev != get_gw_dev(gw)) && dev->type!=ARPHRD_TUNNEL) |
gw | 572 | net/ipv4/route.c | gw = 0; |
gw | 587 | net/ipv4/route.c | if ((fi = fib_create_info(gw, dev, flags, mss, window, irtt)) == NULL) |
gw | 687 | net/ipv4/route.c | if (f1->fib_info->fib_gateway == gw) |
gw | 713 | net/ipv4/route.c | ip_netlink_msg(RTMSG_NEWROUTE, dst, gw, mask, flags, metric, fi->fib_dev->name); |
gw | 726 | net/ipv4/route.c | if (f1->fib_info->fib_gateway == gw) |
gw | 733 | net/ipv4/route.c | ip_netlink_msg(RTMSG_DELROUTE, dst, gw, mask, flags, metric, f1->fib_info->fib_dev->name); |
gw | 1114 | net/ipv4/route.c | static void rt_redirect_1(__u32 dst, __u32 gw, struct device *dev) |
gw | 1119 | net/ipv4/route.c | if (gw == dev->pa_addr) |
gw | 1121 | net/ipv4/route.c | if (dev != get_gw_dev(gw)) |
gw | 1130 | net/ipv4/route.c | rt->rt_gateway = gw; |
gw | 1272 | net/ipv4/route.c | rt_redirect_1(rtr->dst, rtr->gw, rtr->dev); |
gw | 1302 | net/ipv4/route.c | __u32 gw, struct device *dev, unsigned short mss, |
gw | 1308 | net/ipv4/route.c | fib_add_1(flags, dst, mask, gw, dev, mss, window, irtt, metric); |
gw | 1327 | net/ipv4/route.c | void ip_rt_redirect(__u32 src, __u32 dst, __u32 gw, struct device *dev) |
gw | 1338 | net/ipv4/route.c | ((gw^dev->pa_addr)&dev->pa_mask) || |
gw | 1339 | net/ipv4/route.c | ip_chk_addr(gw)) |
gw | 1349 | net/ipv4/route.c | rt_redirect_1(dst, gw, dev); |
gw | 1358 | net/ipv4/route.c | rtr->gw = gw; |
gw | 1618 | net/ipv4/route.c | __u32 daddr, mask, gw; |
gw | 1651 | net/ipv4/route.c | gw = (__u32) ((struct sockaddr_in *) &r->rt_gateway)->sin_addr.s_addr; |
gw | 1665 | net/ipv4/route.c | if ((dev2->flags & IFF_UP) && dev2->pa_addr == gw) |
gw | 1699 | net/ipv4/route.c | dev = get_gw_dev(gw); |
gw | 1715 | net/ipv4/route.c | rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |