tag | line | file | source code |
rt | 130 | drivers/net/new_tunnel.c | struct rtable *rt; /* Route to the other host */ |
rt | 167 | drivers/net/new_tunnel.c | if ((rt = ip_rt_route(iph->daddr, 0)) == NULL) |
rt | 181 | drivers/net/new_tunnel.c | if (rt->rt_flags & RTF_GATEWAY) |
rt | 182 | drivers/net/new_tunnel.c | target = rt->rt_gateway; |
rt | 191 | drivers/net/new_tunnel.c | ip_rt_put(rt); |
rt | 196 | drivers/net/new_tunnel.c | ip_rt_put(rt); |
rt | 198 | drivers/net/new_tunnel.c | if ((rt = ip_rt_route(target, 0)) == NULL) |
rt | 208 | drivers/net/new_tunnel.c | tdev = rt->rt_dev; |
rt | 214 | drivers/net/new_tunnel.c | ip_rt_put(rt); |
rt | 243 | drivers/net/new_tunnel.c | ip_rt_put(rt); |
rt | 309 | drivers/net/new_tunnel.c | ip_rt_put(rt); |
rt | 222 | include/asm-mips/asm.h | #define MOVN(rd,rs,rt) \ |
rt | 223 | include/asm-mips/asm.h | movn rd,rs,rt |
rt | 224 | include/asm-mips/asm.h | #define MOVZ(rd,rs,rt) \ |
rt | 225 | include/asm-mips/asm.h | movz rd,rs,rt |
rt | 227 | include/asm-mips/asm.h | #define MOVN(rd,rs,rt) \ |
rt | 228 | include/asm-mips/asm.h | bnezl rt,9f \ |
rt | 231 | include/asm-mips/asm.h | #define MOVZ(rd,rs,rt) \ |
rt | 232 | include/asm-mips/asm.h | beqzl rt,9f \ |
rt | 233 | include/asm-mips/asm.h | movz rd,rt \ |
rt | 236 | include/asm-mips/asm.h | #define MOVN(rd,rs,rt) \ |
rt | 237 | include/asm-mips/asm.h | beqz rt,9f \ |
rt | 241 | include/asm-mips/asm.h | #define MOVZ(rd,rs,rt) \ |
rt | 242 | include/asm-mips/asm.h | bneqz rt,9f \ |
rt | 244 | include/asm-mips/asm.h | movz rd,rt \ |
rt | 89 | include/net/ip.h | extern int ip_send(struct rtable *rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr); |
rt | 194 | include/net/route.h | extern int ip_rt_new(struct rtentry *rt); |
rt | 195 | include/net/route.h | extern int ip_rt_kill(struct rtentry *rt); |
rt | 227 | include/net/route.h | extern __inline__ void ip_rt_put(struct rtable * rt) |
rt | 230 | include/net/route.h | if (rt) |
rt | 231 | include/net/route.h | ATOMIC_DECR(&rt->rt_refcnt); |
rt | 268 | include/net/route.h | struct rtable * rt = *rp; |
rt | 270 | include/net/route.h | if (!rt || rt->rt_dst != daddr || !(rt->rt_flags&RTF_UP) |
rt | 271 | include/net/route.h | || ((local==1)^((rt->rt_flags&RTF_LOCAL) != 0))) |
rt | 273 | include/net/route.h | ip_rt_put(rt); |
rt | 274 | include/net/route.h | rt = ip_rt_route(daddr, local); |
rt | 275 | include/net/route.h | *rp = rt; |
rt | 277 | include/net/route.h | return rt; |
rt | 147 | kernel/module.c | struct mod_routines rt; |
rt | 172 | kernel/module.c | memcpy_fromfs(&rt, routines, sizeof rt); |
rt | 189 | kernel/module.c | (unsigned long) rt.init, (unsigned long) rt.cleanup)); |
rt | 190 | kernel/module.c | mp->cleanup = rt.cleanup; |
rt | 266 | kernel/module.c | if ((*rt.init)() != 0) { |
rt | 580 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 603 | net/appletalk/ddp.c | for(rt=atalk_router_list;rt!=NULL;rt=rt->next) |
rt | 605 | net/appletalk/ddp.c | if(r->rt_flags != rt->flags) |
rt | 608 | net/appletalk/ddp.c | if(ta->sat_addr.s_net == rt->target.s_net) |
rt | 610 | net/appletalk/ddp.c | if(!(rt->flags&RTF_HOST)) |
rt | 612 | net/appletalk/ddp.c | if(ta->sat_addr.s_node == rt->target.s_node) |
rt | 634 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 636 | net/appletalk/ddp.c | rt=(struct atalk_route *)kmalloc(sizeof(struct atalk_route), GFP_KERNEL); |
rt | 637 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 640 | net/appletalk/ddp.c | rt->next=atalk_router_list; |
rt | 641 | net/appletalk/ddp.c | atalk_router_list=rt; |
rt | 647 | net/appletalk/ddp.c | rt->target=ta->sat_addr; |
rt | 648 | net/appletalk/ddp.c | rt->dev=devhint; |
rt | 649 | net/appletalk/ddp.c | rt->flags=r->rt_flags; |
rt | 650 | net/appletalk/ddp.c | rt->gateway=ga->sat_addr; |
rt | 868 | net/appletalk/ddp.c | struct rtentry rt; |
rt | 870 | net/appletalk/ddp.c | err=verify_area(VERIFY_READ, arg, sizeof(rt)); |
rt | 873 | net/appletalk/ddp.c | memcpy_fromfs(&rt,arg,sizeof(rt)); |
rt | 878 | net/appletalk/ddp.c | if(rt.rt_dst.sa_family!=AF_APPLETALK) |
rt | 880 | net/appletalk/ddp.c | return atrtr_delete(&((struct sockaddr_at *)&rt.rt_dst)->sat_addr); |
rt | 882 | net/appletalk/ddp.c | return atrtr_create(&rt, NULL); |
rt | 925 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 933 | net/appletalk/ddp.c | rt=&atrtr_default; |
rt | 935 | net/appletalk/ddp.c | ntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags, |
rt | 936 | net/appletalk/ddp.c | rt->dev->name); |
rt | 938 | net/appletalk/ddp.c | for (rt = atalk_router_list; rt != NULL; rt = rt->next) |
rt | 941 | net/appletalk/ddp.c | ntohs(rt->target.s_net),rt->target.s_node, |
rt | 942 | net/appletalk/ddp.c | ntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags, |
rt | 943 | net/appletalk/ddp.c | rt->dev->name); |
rt | 1492 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 1518 | net/appletalk/ddp.c | rt=atrtr_find(&ta); |
rt | 1519 | net/appletalk/ddp.c | if(rt==NULL || ddp->deh_hops==15) |
rt | 1531 | net/appletalk/ddp.c | if(rt->flags&RTF_GATEWAY) |
rt | 1533 | net/appletalk/ddp.c | ta.s_net = rt->gateway.s_net; |
rt | 1534 | net/appletalk/ddp.c | ta.s_node = rt->gateway.s_node; |
rt | 1538 | net/appletalk/ddp.c | skb_trim(skb,min(origlen, rt->dev->hard_header_len + |
rt | 1548 | net/appletalk/ddp.c | if(aarp_send_ddp(rt->dev, skb, &ta, NULL)==-1) |
rt | 1655 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 1703 | net/appletalk/ddp.c | rt=atrtr_find(&usat->sat_addr); |
rt | 1704 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 1706 | net/appletalk/ddp.c | dev=rt->dev; |
rt | 1713 | net/appletalk/ddp.c | rt=atrtr_find(&at_hint); |
rt | 1714 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 1716 | net/appletalk/ddp.c | dev=rt->dev; |
rt | 1784 | net/appletalk/ddp.c | if((!(rt->flags&RTF_GATEWAY))&&(!(dev->flags&IFF_LOOPBACK))) |
rt | 1818 | net/appletalk/ddp.c | if ( rt->flags & RTF_GATEWAY ) { |
rt | 1819 | net/appletalk/ddp.c | gsat.sat_addr = rt->gateway; |
rt | 1878 | net/ipv4/arp.c | struct rtable *rt; |
rt | 1897 | net/ipv4/arp.c | rt = ip_rt_route(ip, 0); |
rt | 1898 | net/ipv4/arp.c | if (!rt) |
rt | 1900 | net/ipv4/arp.c | dev1 = rt->rt_dev; |
rt | 1901 | net/ipv4/arp.c | ip_rt_put(rt); |
rt | 82 | net/ipv4/ip_alias.c | struct rtable *rt; |
rt | 105 | net/ipv4/ip_alias.c | rt = ip_rt_route(addr, 0); |
rt | 106 | net/ipv4/ip_alias.c | if(rt) |
rt | 108 | net/ipv4/ip_alias.c | dev=rt->rt_dev; |
rt | 109 | net/ipv4/ip_alias.c | ip_rt_put(rt); |
rt | 92 | net/ipv4/ip_forward.c | struct rtable *rt; /* Route we use */ |
rt | 166 | net/ipv4/ip_forward.c | rt = ip_rt_route(target_addr, 0); |
rt | 168 | net/ipv4/ip_forward.c | if (rt == NULL) |
rt | 187 | net/ipv4/ip_forward.c | raddr = rt->rt_gateway; |
rt | 189 | net/ipv4/ip_forward.c | if (opt->is_strictroute && (rt->rt_flags & RTF_GATEWAY)) { |
rt | 194 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 203 | net/ipv4/ip_forward.c | dev2 = rt->rt_dev; |
rt | 204 | net/ipv4/ip_forward.c | hh = rt->rt_hh; |
rt | 213 | net/ipv4/ip_forward.c | (rt->rt_flags&RTF_MODIFIED) && !opt->srr) |
rt | 227 | net/ipv4/ip_forward.c | rt=NULL; |
rt | 253 | net/ipv4/ip_forward.c | if(rt) |
rt | 254 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 275 | net/ipv4/ip_forward.c | if(rt) |
rt | 276 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 293 | net/ipv4/ip_forward.c | ip_send(rt,skb2,raddr,skb->len,dev2,dev2->pa_addr); |
rt | 333 | net/ipv4/ip_forward.c | printk("ip_forward: hh miss %08x via %08x\n", target_addr, rt->rt_gateway); |
rt | 449 | net/ipv4/ip_forward.c | if(rt) |
rt | 450 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 453 | net/ipv4/ip_forward.c | if(rt) |
rt | 454 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 114 | net/ipv4/ip_output.c | int ip_send(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
rt | 128 | net/ipv4/ip_output.c | if (rt && dev == rt->rt_dev && rt->rt_hh) |
rt | 130 | net/ipv4/ip_output.c | memcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len); |
rt | 131 | net/ipv4/ip_output.c | if (rt->rt_hh->hh_uptodate) |
rt | 134 | net/ipv4/ip_output.c | printk("ip_send: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
rt | 151 | net/ipv4/ip_output.c | static int ip_send_room(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr) |
rt | 161 | net/ipv4/ip_output.c | if (rt && dev == rt->rt_dev && rt->rt_hh) |
rt | 163 | net/ipv4/ip_output.c | memcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len); |
rt | 164 | net/ipv4/ip_output.c | if (rt->rt_hh->hh_uptodate) |
rt | 167 | net/ipv4/ip_output.c | printk("ip_send_room: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
rt | 196 | net/ipv4/ip_output.c | struct rtable *rt; |
rt | 216 | net/ipv4/ip_output.c | rt = ip_check_route(rp, daddr, skb->localroute); |
rt | 221 | net/ipv4/ip_output.c | if (rt) |
rt | 222 | net/ipv4/ip_output.c | ATOMIC_INCR(&rt->rt_refcnt); |
rt | 225 | net/ipv4/ip_output.c | rt = ip_rt_route(daddr, skb->localroute); |
rt | 230 | net/ipv4/ip_output.c | if (rt == NULL) |
rt | 236 | net/ipv4/ip_output.c | *dev = rt->rt_dev; |
rt | 240 | net/ipv4/ip_output.c | saddr = rt ? rt->rt_src : (*dev)->pa_addr; |
rt | 242 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : 0; |
rt | 244 | net/ipv4/ip_output.c | if (opt && opt->is_strictroute && rt && (rt->rt_flags & RTF_GATEWAY)) |
rt | 246 | net/ipv4/ip_output.c | ip_rt_put(rt); |
rt | 263 | net/ipv4/ip_output.c | tmp = ip_send_room(rt, skb, raddr, len, *dev, saddr); |
rt | 265 | net/ipv4/ip_output.c | tmp = ip_send(rt, skb, raddr, len, *dev, saddr); |
rt | 267 | net/ipv4/ip_output.c | ip_rt_put(rt); |
rt | 576 | net/ipv4/ip_output.c | struct rtable *rt; |
rt | 599 | net/ipv4/ip_output.c | rt=NULL; |
rt | 608 | net/ipv4/ip_output.c | rt = ip_check_route(&sk->ip_route_cache, daddr, |
rt | 611 | net/ipv4/ip_output.c | if (rt == NULL) |
rt | 616 | net/ipv4/ip_output.c | saddr = rt->rt_src; |
rt | 618 | net/ipv4/ip_output.c | hh = rt->rt_hh; |
rt | 623 | net/ipv4/ip_output.c | dev=rt->rt_dev; |
rt | 626 | net/ipv4/ip_output.c | if (rt && !dev) |
rt | 627 | net/ipv4/ip_output.c | dev = rt->rt_dev; |
rt | 632 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : daddr; |
rt | 672 | net/ipv4/ip_output.c | printk("ip_build_xmit: hh miss %08x via %08x\n", rt->rt_dst, rt->rt_gateway); |
rt | 848 | net/ipv4/ip_output.c | printk("ip_build_xmit: hh miss %08x via %08x\n", rt->rt_dst, rt->rt_gateway); |
rt | 264 | net/ipv4/ip_sockglue.c | struct rtable *rt; |
rt | 286 | net/ipv4/ip_sockglue.c | if((rt=ip_rt_route(mreq.imr_multiaddr.s_addr,0))!=NULL) |
rt | 288 | net/ipv4/ip_sockglue.c | dev=rt->rt_dev; |
rt | 289 | net/ipv4/ip_sockglue.c | route_src = rt->rt_src; |
rt | 290 | net/ipv4/ip_sockglue.c | ATOMIC_DECR(&rt->rt_use); |
rt | 291 | net/ipv4/ip_sockglue.c | ip_rt_put(rt); |
rt | 320 | net/ipv4/ip_sockglue.c | struct rtable *rt; |
rt | 340 | net/ipv4/ip_sockglue.c | if((rt=ip_rt_route(mreq.imr_multiaddr.s_addr,0))!=NULL) |
rt | 342 | net/ipv4/ip_sockglue.c | dev=rt->rt_dev; |
rt | 343 | net/ipv4/ip_sockglue.c | ATOMIC_DECR(&rt->rt_use); |
rt | 344 | net/ipv4/ip_sockglue.c | route_src = rt->rt_src; |
rt | 345 | net/ipv4/ip_sockglue.c | ip_rt_put(rt); |
rt | 291 | net/ipv4/rarp.c | struct rtable *rt; |
rt | 331 | net/ipv4/rarp.c | rt = ip_rt_route(ip, 0); |
rt | 332 | net/ipv4/rarp.c | if (rt == NULL) |
rt | 334 | net/ipv4/rarp.c | dev = rt->rt_dev; |
rt | 335 | net/ipv4/rarp.c | ip_rt_put(rt); |
rt | 570 | net/ipv4/rarp.c | struct rarp_table *rt, *rt_next; |
rt | 575 | net/ipv4/rarp.c | rt = rarp_tables; |
rt | 579 | net/ipv4/rarp.c | for ( ; rt != NULL; rt = rt_next) { |
rt | 580 | net/ipv4/rarp.c | rt_next = rt->next; |
rt | 581 | net/ipv4/rarp.c | rarp_release_entry(rt); |
rt | 953 | net/ipv4/route.c | static void rt_free(struct rtable * rt) |
rt | 959 | net/ipv4/route.c | if (!rt->rt_refcnt) |
rt | 961 | net/ipv4/route.c | struct hh_cache * hh = rt->rt_hh; |
rt | 962 | net/ipv4/route.c | rt->rt_hh = NULL; |
rt | 969 | net/ipv4/route.c | kfree_s(rt, sizeof(struct rt_table)); |
rt | 972 | net/ipv4/route.c | rt->rt_next = rt_free_queue; |
rt | 973 | net/ipv4/route.c | rt->rt_flags &= ~RTF_UP; |
rt | 974 | net/ipv4/route.c | rt_free_queue = rt; |
rt | 977 | net/ipv4/route.c | printk("rt_free: %08x\n", rt->rt_dst); |
rt | 988 | net/ipv4/route.c | struct rtable *rt, **rtp; |
rt | 992 | net/ipv4/route.c | while ((rt = *rtp) != NULL) |
rt | 994 | net/ipv4/route.c | if (!rt->rt_refcnt) |
rt | 996 | net/ipv4/route.c | struct hh_cache * hh = rt->rt_hh; |
rt | 998 | net/ipv4/route.c | __u32 daddr = rt->rt_dst; |
rt | 1000 | net/ipv4/route.c | *rtp = rt->rt_next; |
rt | 1001 | net/ipv4/route.c | rt->rt_hh = NULL; |
rt | 1008 | net/ipv4/route.c | kfree_s(rt, sizeof(struct rt_table)); |
rt | 1015 | net/ipv4/route.c | rtp = &rt->rt_next; |
rt | 1115 | net/ipv4/route.c | struct rtable *rt; |
rt | 1122 | net/ipv4/route.c | rt = (struct rtable *) kmalloc(sizeof(struct rtable), GFP_ATOMIC); |
rt | 1123 | net/ipv4/route.c | if (rt == NULL) |
rt | 1125 | net/ipv4/route.c | memset(rt, 0, sizeof(struct rtable)); |
rt | 1126 | net/ipv4/route.c | rt->rt_flags = RTF_DYNAMIC | RTF_MODIFIED | RTF_HOST | RTF_GATEWAY | RTF_UP; |
rt | 1127 | net/ipv4/route.c | rt->rt_dst = dst; |
rt | 1128 | net/ipv4/route.c | rt->rt_dev = dev; |
rt | 1129 | net/ipv4/route.c | rt->rt_gateway = gw; |
rt | 1130 | net/ipv4/route.c | rt->rt_src = dev->pa_addr; |
rt | 1131 | net/ipv4/route.c | rt->rt_mtu = dev->mtu; |
rt | 1134 | net/ipv4/route.c | rt->rt_mtu = 576; |
rt | 1136 | net/ipv4/route.c | rt->rt_lastuse = jiffies; |
rt | 1137 | net/ipv4/route.c | rt->rt_refcnt = 1; |
rt | 1138 | net/ipv4/route.c | rt_cache_add(hash, rt); |
rt | 1139 | net/ipv4/route.c | ip_rt_put(rt); |
rt | 1329 | net/ipv4/route.c | struct rtable * rt; |
rt | 1331 | net/ipv4/route.c | rt = ip_rt_route(dst, 0); |
rt | 1332 | net/ipv4/route.c | if (!rt) |
rt | 1335 | net/ipv4/route.c | if (rt->rt_gateway != src || |
rt | 1336 | net/ipv4/route.c | rt->rt_dev != dev || |
rt | 1340 | net/ipv4/route.c | ip_rt_put(rt); |
rt | 1343 | net/ipv4/route.c | ip_rt_put(rt); |
rt | 1580 | net/ipv4/route.c | void ip_rt_put(struct rtable * rt) |
rt | 1582 | net/ipv4/route.c | if (rt) |
rt | 1583 | net/ipv4/route.c | ATOMIC_DECR(&rt->rt_refcnt); |
rt | 1761 | net/ipv4/route.c | struct rtentry rt; |
rt | 1772 | net/ipv4/route.c | memcpy_fromfs(&rt, arg, sizeof(struct rtentry)); |
rt | 1773 | net/ipv4/route.c | return (cmd == SIOCDELRT) ? ip_rt_kill(&rt) : ip_rt_new(&rt); |
rt | 551 | net/ipv4/tcp.c | struct rtable * rt; |
rt | 558 | net/ipv4/tcp.c | if ((rt = sk->ip_route_cache) != NULL) |
rt | 559 | net/ipv4/tcp.c | if (rt->rt_mtu > new_mtu) |
rt | 560 | net/ipv4/tcp.c | rt->rt_mtu = new_mtu; |
rt | 1914 | net/ipv4/tcp.c | struct rtable *rt; |
rt | 1978 | net/ipv4/tcp.c | if ((rt = sk->ip_route_cache) != NULL && !sk->saddr) |
rt | 1979 | net/ipv4/tcp.c | sk->saddr = rt->rt_src; |
rt | 1995 | net/ipv4/tcp.c | if(rt!=NULL && (rt->rt_flags&RTF_WINDOW)) |
rt | 1996 | net/ipv4/tcp.c | sk->window_clamp=rt->rt_window; |
rt | 2002 | net/ipv4/tcp.c | else if (rt) |
rt | 2003 | net/ipv4/tcp.c | sk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
rt | 2050 | net/ipv4/tcp.c | if(rt&&rt->rt_flags&RTF_IRTT) |
rt | 2051 | net/ipv4/tcp.c | sk->rto = rt->rt_irtt; |
rt | 322 | net/ipv4/tcp_input.c | struct rtable *rt; |
rt | 476 | net/ipv4/tcp_input.c | rt = ip_rt_route(newsk->opt && newsk->opt->srr ? newsk->opt->faddr : saddr, 0); |
rt | 477 | net/ipv4/tcp_input.c | newsk->ip_route_cache = rt; |
rt | 479 | net/ipv4/tcp_input.c | if(rt!=NULL && (rt->rt_flags&RTF_WINDOW)) |
rt | 480 | net/ipv4/tcp_input.c | newsk->window_clamp = rt->rt_window; |
rt | 486 | net/ipv4/tcp_input.c | else if (rt) |
rt | 487 | net/ipv4/tcp_input.c | newsk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
rt | 319 | net/ipv4/tcp_output.c | struct rtable *rt; |
rt | 379 | net/ipv4/tcp_output.c | rt = ip_check_route(&sk->ip_route_cache, opt->srr?opt->faddr:iph->daddr, skb->localroute); |
rt | 384 | net/ipv4/tcp_output.c | if (rt && ntohs(iph->tot_len) > rt->rt_mtu) |
rt | 389 | net/ipv4/tcp_output.c | if (rt==NULL) /* Deep poo */ |
rt | 399 | net/ipv4/tcp_output.c | dev=rt->rt_dev; |
rt | 400 | net/ipv4/tcp_output.c | skb->raddr=rt->rt_gateway; |
rt | 403 | net/ipv4/tcp_output.c | if (rt->rt_hh) |
rt | 405 | net/ipv4/tcp_output.c | memcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len); |
rt | 406 | net/ipv4/tcp_output.c | if (!rt->rt_hh->hh_uptodate) |
rt | 410 | net/ipv4/tcp_output.c | printk("tcp_do_retransmit: hh miss %08x via %08x\n", iph->daddr, rt->rt_gateway); |
rt | 301 | net/ipv4/udp.c | const unsigned char *from, int len, int rt, |
rt | 327 | net/ipv4/udp.c | sin->sin_addr.s_addr, saddr, sk->opt, rt, IPPROTO_UDP, noblock); |
rt | 330 | net/ipv4/udp.c | sin->sin_addr.s_addr, saddr, sk->opt, rt, IPPROTO_UDP, noblock); |
rt | 548 | net/ipv4/udp.c | struct rtable *rt; |
rt | 560 | net/ipv4/udp.c | rt=ip_rt_route((__u32)usin->sin_addr.s_addr, sk->localroute); |
rt | 561 | net/ipv4/udp.c | if (rt==NULL) |
rt | 564 | net/ipv4/udp.c | sk->saddr = rt->rt_src; /* Update source address */ |
rt | 566 | net/ipv4/udp.c | sk->rcv_saddr = rt->rt_src; |
rt | 571 | net/ipv4/udp.c | sk->ip_route_cache = rt; |
rt | 1089 | net/ipx/af_ipx.c | ipx_route *rt; |
rt | 1092 | net/ipx/af_ipx.c | rt = ipxrtr_lookup(network); |
rt | 1093 | net/ipx/af_ipx.c | if (rt==NULL) { |
rt | 1094 | net/ipx/af_ipx.c | rt=(ipx_route *)kmalloc(sizeof(ipx_route),GFP_ATOMIC); |
rt | 1095 | net/ipx/af_ipx.c | if(rt==NULL) |
rt | 1097 | net/ipx/af_ipx.c | rt->ir_next=ipx_routes; |
rt | 1098 | net/ipx/af_ipx.c | ipx_routes=rt; |
rt | 1103 | net/ipx/af_ipx.c | rt->ir_net = network; |
rt | 1104 | net/ipx/af_ipx.c | rt->ir_intrfc = intrfc; |
rt | 1106 | net/ipx/af_ipx.c | memset(rt->ir_router_node, '\0', IPX_NODE_LEN); |
rt | 1107 | net/ipx/af_ipx.c | rt->ir_routed = 0; |
rt | 1109 | net/ipx/af_ipx.c | memcpy(rt->ir_router_node, node, IPX_NODE_LEN); |
rt | 1110 | net/ipx/af_ipx.c | rt->ir_routed=1; |
rt | 1177 | net/ipx/af_ipx.c | ipx_route *rt = NULL; |
rt | 1188 | net/ipx/af_ipx.c | rt = ipxrtr_lookup(usipx->sipx_network); |
rt | 1189 | net/ipx/af_ipx.c | if (rt==NULL) { |
rt | 1192 | net/ipx/af_ipx.c | intrfc = rt->ir_intrfc; |
rt | 1247 | net/ipx/af_ipx.c | return ipxitf_send(intrfc, skb, (rt && rt->ir_routed) ? |
rt | 1248 | net/ipx/af_ipx.c | rt->ir_router_node : ipx->ipx_dest.node); |
rt | 1277 | net/ipx/af_ipx.c | struct rtentry rt; /* Use these to behave like 'other' stacks */ |
rt | 1280 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(rt)); |
rt | 1284 | net/ipx/af_ipx.c | memcpy_fromfs(&rt,arg,sizeof(rt)); |
rt | 1286 | net/ipx/af_ipx.c | sg=(struct sockaddr_ipx *)&rt.rt_gateway; |
rt | 1287 | net/ipx/af_ipx.c | st=(struct sockaddr_ipx *)&rt.rt_dst; |
rt | 1289 | net/ipx/af_ipx.c | if(!(rt.rt_flags&RTF_GATEWAY)) |
rt | 1456 | net/ipx/af_ipx.c | ipx_route *rt; |
rt | 1463 | net/ipx/af_ipx.c | for (rt = ipx_routes; rt != NULL; rt = rt->ir_next) |
rt | 1465 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX ", ntohl(rt->ir_net)); |
rt | 1466 | net/ipx/af_ipx.c | if (rt->ir_routed) { |
rt | 1468 | net/ipx/af_ipx.c | ntohl(rt->ir_intrfc->if_netnum), |
rt | 1469 | net/ipx/af_ipx.c | rt->ir_router_node[0], rt->ir_router_node[1], |
rt | 1470 | net/ipx/af_ipx.c | rt->ir_router_node[2], rt->ir_router_node[3], |
rt | 1471 | net/ipx/af_ipx.c | rt->ir_router_node[4], rt->ir_router_node[5]); |