tag | line | file | source code |
gw | 143 | include/net/route.h | extern void ip_rt_redirect(__u32 src, __u32 dst, __u32 gw, struct device *dev); |
gw | 1036 | 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 | 1050 | net/ipv4/ip_output.c | s->sin_addr.s_addr=gw; |
gw | 136 | net/ipv4/route.c | __u32 gw; |
gw | 311 | net/ipv4/route.c | static __inline__ struct device * get_gw_dev(__u32 gw) |
gw | 314 | net/ipv4/route.c | f = fib_lookup_gateway(gw); |
gw | 451 | net/ipv4/route.c | static struct fib_info * fib_create_info(__u32 gw, struct device * dev, |
gw | 480 | net/ipv4/route.c | if (fi->fib_gateway != gw || |
gw | 499 | net/ipv4/route.c | fi->fib_gateway = gw; |
gw | 517 | net/ipv4/route.c | __u32 gw, struct device *dev, unsigned short mss, |
gw | 553 | net/ipv4/route.c | if (gw == dev->pa_addr) |
gw | 562 | net/ipv4/route.c | if (dev != get_gw_dev(gw)) |
gw | 568 | net/ipv4/route.c | gw = 0; |
gw | 583 | net/ipv4/route.c | if ((fi = fib_create_info(gw, dev, flags, mss, window, irtt)) == NULL) |
gw | 683 | net/ipv4/route.c | if (f1->fib_info->fib_gateway == gw) |
gw | 709 | net/ipv4/route.c | ip_netlink_msg(RTMSG_NEWROUTE, dst, gw, mask, flags, metric, fi->fib_dev->name); |
gw | 722 | net/ipv4/route.c | if (f1->fib_info->fib_gateway == gw) |
gw | 729 | net/ipv4/route.c | ip_netlink_msg(RTMSG_DELROUTE, dst, gw, mask, flags, metric, f1->fib_info->fib_dev->name); |
gw | 1110 | net/ipv4/route.c | static void rt_redirect_1(__u32 dst, __u32 gw, struct device *dev) |
gw | 1115 | net/ipv4/route.c | if (gw == dev->pa_addr) |
gw | 1117 | net/ipv4/route.c | if (dev != get_gw_dev(gw)) |
gw | 1126 | net/ipv4/route.c | rt->rt_gateway = gw; |
gw | 1268 | net/ipv4/route.c | rt_redirect_1(rtr->dst, rtr->gw, rtr->dev); |
gw | 1298 | net/ipv4/route.c | __u32 gw, struct device *dev, unsigned short mss, |
gw | 1304 | net/ipv4/route.c | fib_add_1(flags, dst, mask, gw, dev, mss, window, irtt, metric); |
gw | 1323 | net/ipv4/route.c | void ip_rt_redirect(__u32 src, __u32 dst, __u32 gw, struct device *dev) |
gw | 1334 | net/ipv4/route.c | ((gw^dev->pa_addr)&dev->pa_mask) || |
gw | 1335 | net/ipv4/route.c | ip_chk_addr(gw)) |
gw | 1345 | net/ipv4/route.c | rt_redirect_1(dst, gw, dev); |
gw | 1354 | net/ipv4/route.c | rtr->gw = gw; |
gw | 1626 | net/ipv4/route.c | __u32 daddr, mask, gw; |
gw | 1659 | net/ipv4/route.c | gw = (__u32) ((struct sockaddr_in *) &r->rt_gateway)->sin_addr.s_addr; |
gw | 1673 | net/ipv4/route.c | if ((dev2->flags & IFF_UP) && dev2->pa_addr == gw) |
gw | 1707 | net/ipv4/route.c | dev = get_gw_dev(gw); |
gw | 1723 | net/ipv4/route.c | rt_add(flags, daddr, mask, gw, dev, r->rt_mss, r->rt_window, r->rt_irtt, metric); |