tag | line | file | source code |
rt | 129 | drivers/net/new_tunnel.c | struct rtable *rt; /* Route to the other host */ |
rt | 166 | drivers/net/new_tunnel.c | if ((rt = ip_rt_route(iph->daddr, 0)) == NULL) |
rt | 177 | drivers/net/new_tunnel.c | if (!(rt->rt_flags & RTF_GATEWAY)) |
rt | 183 | drivers/net/new_tunnel.c | ip_rt_put(rt); |
rt | 188 | drivers/net/new_tunnel.c | target = rt->rt_gateway; |
rt | 189 | drivers/net/new_tunnel.c | ip_rt_put(rt); |
rt | 191 | drivers/net/new_tunnel.c | if ((rt = ip_rt_route(target, 0)) == NULL) |
rt | 201 | drivers/net/new_tunnel.c | tdev = rt->rt_dev; |
rt | 207 | drivers/net/new_tunnel.c | ip_rt_put(rt); |
rt | 236 | drivers/net/new_tunnel.c | ip_rt_put(rt); |
rt | 298 | 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 | 226 | include/net/route.h | extern __inline__ void ip_rt_put(struct rtable * rt) |
rt | 229 | include/net/route.h | if (rt) |
rt | 230 | include/net/route.h | ATOMIC_DECR(&rt->rt_refcnt); |
rt | 267 | include/net/route.h | struct rtable * rt = *rp; |
rt | 269 | include/net/route.h | if (!rt || rt->rt_dst != daddr || !(rt->rt_flags&RTF_UP) |
rt | 270 | include/net/route.h | || ((local==1)^((rt->rt_flags&RTF_LOCAL) != 0))) |
rt | 272 | include/net/route.h | ip_rt_put(rt); |
rt | 273 | include/net/route.h | rt = ip_rt_route(daddr, local); |
rt | 274 | include/net/route.h | *rp = rt; |
rt | 276 | include/net/route.h | return rt; |
rt | 203 | kernel/module.c | struct mod_routines rt; |
rt | 228 | kernel/module.c | memcpy_fromfs(&rt, routines, sizeof rt); |
rt | 245 | kernel/module.c | (unsigned long) rt.init, (unsigned long) rt.cleanup)); |
rt | 246 | kernel/module.c | mp->cleanup = rt.cleanup; |
rt | 322 | kernel/module.c | if ((*rt.init)() != 0) { |
rt | 542 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 565 | net/appletalk/ddp.c | for(rt=atalk_router_list;rt!=NULL;rt=rt->next) |
rt | 567 | net/appletalk/ddp.c | if(r->rt_flags != rt->flags) |
rt | 570 | net/appletalk/ddp.c | if(ta->sat_addr.s_net == rt->target.s_net) |
rt | 572 | net/appletalk/ddp.c | if(!(rt->flags&RTF_HOST)) |
rt | 574 | net/appletalk/ddp.c | if(ta->sat_addr.s_node == rt->target.s_node) |
rt | 596 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 598 | net/appletalk/ddp.c | rt=(struct atalk_route *)kmalloc(sizeof(struct atalk_route), GFP_KERNEL); |
rt | 599 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 602 | net/appletalk/ddp.c | rt->next=atalk_router_list; |
rt | 603 | net/appletalk/ddp.c | atalk_router_list=rt; |
rt | 609 | net/appletalk/ddp.c | rt->target=ta->sat_addr; |
rt | 610 | net/appletalk/ddp.c | rt->dev=devhint; |
rt | 611 | net/appletalk/ddp.c | rt->flags=r->rt_flags; |
rt | 612 | net/appletalk/ddp.c | rt->gateway=ga->sat_addr; |
rt | 830 | net/appletalk/ddp.c | struct rtentry rt; |
rt | 832 | net/appletalk/ddp.c | err=verify_area(VERIFY_READ, arg, sizeof(rt)); |
rt | 835 | net/appletalk/ddp.c | memcpy_fromfs(&rt,arg,sizeof(rt)); |
rt | 840 | net/appletalk/ddp.c | if(rt.rt_dst.sa_family!=AF_APPLETALK) |
rt | 842 | net/appletalk/ddp.c | return atrtr_delete(&((struct sockaddr_at *)&rt.rt_dst)->sat_addr); |
rt | 844 | net/appletalk/ddp.c | return atrtr_create(&rt, NULL); |
rt | 887 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 895 | net/appletalk/ddp.c | rt=&atrtr_default; |
rt | 897 | net/appletalk/ddp.c | ntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags, |
rt | 898 | net/appletalk/ddp.c | rt->dev->name); |
rt | 900 | net/appletalk/ddp.c | for (rt = atalk_router_list; rt != NULL; rt = rt->next) |
rt | 903 | net/appletalk/ddp.c | ntohs(rt->target.s_net),rt->target.s_node, |
rt | 904 | net/appletalk/ddp.c | ntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags, |
rt | 905 | net/appletalk/ddp.c | rt->dev->name); |
rt | 1450 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 1476 | net/appletalk/ddp.c | rt=atrtr_find(&ta); |
rt | 1477 | net/appletalk/ddp.c | if(rt==NULL || ddp->deh_hops==15) |
rt | 1489 | net/appletalk/ddp.c | if(rt->flags&RTF_GATEWAY) |
rt | 1491 | net/appletalk/ddp.c | ta.s_net = rt->gateway.s_net; |
rt | 1492 | net/appletalk/ddp.c | ta.s_node = rt->gateway.s_node; |
rt | 1496 | net/appletalk/ddp.c | skb_trim(skb,min(origlen, rt->dev->hard_header_len + |
rt | 1506 | net/appletalk/ddp.c | if(aarp_send_ddp(rt->dev, skb, &ta, NULL)==-1) |
rt | 1612 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 1660 | net/appletalk/ddp.c | rt=atrtr_find(&usat->sat_addr); |
rt | 1661 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 1663 | net/appletalk/ddp.c | dev=rt->dev; |
rt | 1670 | net/appletalk/ddp.c | rt=atrtr_find(&at_hint); |
rt | 1671 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 1673 | net/appletalk/ddp.c | dev=rt->dev; |
rt | 1741 | net/appletalk/ddp.c | if((!(rt->flags&RTF_GATEWAY))&&(!(dev->flags&IFF_LOOPBACK))) |
rt | 1775 | net/appletalk/ddp.c | if ( rt->flags & RTF_GATEWAY ) { |
rt | 1776 | net/appletalk/ddp.c | gsat.sat_addr = rt->gateway; |
rt | 1660 | net/ipv4/arp.c | struct rtable *rt; |
rt | 1679 | net/ipv4/arp.c | rt = ip_rt_route(ip, 0); |
rt | 1680 | net/ipv4/arp.c | if (!rt) |
rt | 1682 | net/ipv4/arp.c | dev1 = rt->rt_dev; |
rt | 1683 | net/ipv4/arp.c | ip_rt_put(rt); |
rt | 84 | net/ipv4/ip_alias.c | struct rtable *rt; |
rt | 105 | net/ipv4/ip_alias.c | rt = ip_rt_route(addr, 0); |
rt | 107 | net/ipv4/ip_alias.c | return (rt)? rt->rt_dev : NULL; |
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 | 212 | net/ipv4/ip_forward.c | (rt->rt_flags&RTF_MODIFIED) && !opt->srr) |
rt | 226 | net/ipv4/ip_forward.c | rt=NULL; |
rt | 252 | net/ipv4/ip_forward.c | if(rt) |
rt | 253 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 274 | net/ipv4/ip_forward.c | if(rt) |
rt | 275 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 292 | net/ipv4/ip_forward.c | ip_send(rt,skb2,raddr,skb->len,dev2,dev2->pa_addr); |
rt | 332 | net/ipv4/ip_forward.c | printk("ip_forward: hh miss %08x via %08x\n", target_addr, rt->rt_gateway); |
rt | 448 | net/ipv4/ip_forward.c | if(rt) |
rt | 449 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 452 | net/ipv4/ip_forward.c | if(rt) |
rt | 453 | 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 | 952 | net/ipv4/route.c | static void rt_free(struct rtable * rt) |
rt | 958 | net/ipv4/route.c | if (!rt->rt_refcnt) |
rt | 960 | net/ipv4/route.c | struct hh_cache * hh = rt->rt_hh; |
rt | 961 | net/ipv4/route.c | rt->rt_hh = NULL; |
rt | 968 | net/ipv4/route.c | kfree_s(rt, sizeof(struct rt_table)); |
rt | 971 | net/ipv4/route.c | rt->rt_next = rt_free_queue; |
rt | 972 | net/ipv4/route.c | rt->rt_flags &= ~RTF_UP; |
rt | 973 | net/ipv4/route.c | rt_free_queue = rt; |
rt | 976 | net/ipv4/route.c | printk("rt_free: %08x\n", rt->rt_dst); |
rt | 987 | net/ipv4/route.c | struct rtable *rt, **rtp; |
rt | 991 | net/ipv4/route.c | while ((rt = *rtp) != NULL) |
rt | 993 | net/ipv4/route.c | if (!rt->rt_refcnt) |
rt | 995 | net/ipv4/route.c | struct hh_cache * hh = rt->rt_hh; |
rt | 997 | net/ipv4/route.c | __u32 daddr = rt->rt_dst; |
rt | 999 | net/ipv4/route.c | *rtp = rt->rt_next; |
rt | 1000 | net/ipv4/route.c | rt->rt_hh = NULL; |
rt | 1007 | net/ipv4/route.c | kfree_s(rt, sizeof(struct rt_table)); |
rt | 1014 | net/ipv4/route.c | rtp = &rt->rt_next; |
rt | 1114 | net/ipv4/route.c | struct rtable *rt; |
rt | 1121 | net/ipv4/route.c | rt = (struct rtable *) kmalloc(sizeof(struct rtable), GFP_ATOMIC); |
rt | 1122 | net/ipv4/route.c | if (rt == NULL) |
rt | 1124 | net/ipv4/route.c | memset(rt, 0, sizeof(struct rtable)); |
rt | 1125 | net/ipv4/route.c | rt->rt_flags = RTF_DYNAMIC | RTF_MODIFIED | RTF_HOST | RTF_GATEWAY | RTF_UP; |
rt | 1126 | net/ipv4/route.c | rt->rt_dst = dst; |
rt | 1127 | net/ipv4/route.c | rt->rt_dev = dev; |
rt | 1128 | net/ipv4/route.c | rt->rt_gateway = gw; |
rt | 1129 | net/ipv4/route.c | rt->rt_src = dev->pa_addr; |
rt | 1130 | net/ipv4/route.c | rt->rt_mtu = dev->mtu; |
rt | 1133 | net/ipv4/route.c | rt->rt_mtu = 576; |
rt | 1135 | net/ipv4/route.c | rt->rt_lastuse = jiffies; |
rt | 1136 | net/ipv4/route.c | rt->rt_refcnt = 1; |
rt | 1137 | net/ipv4/route.c | rt_cache_add(hash, rt); |
rt | 1138 | net/ipv4/route.c | ip_rt_put(rt); |
rt | 1328 | net/ipv4/route.c | struct rtable * rt; |
rt | 1330 | net/ipv4/route.c | rt = ip_rt_route(dst, 0); |
rt | 1331 | net/ipv4/route.c | if (!rt) |
rt | 1334 | net/ipv4/route.c | if (rt->rt_gateway != src || |
rt | 1335 | net/ipv4/route.c | rt->rt_dev != dev || |
rt | 1339 | net/ipv4/route.c | ip_rt_put(rt); |
rt | 1342 | net/ipv4/route.c | ip_rt_put(rt); |
rt | 1574 | net/ipv4/route.c | void ip_rt_put(struct rtable * rt) |
rt | 1576 | net/ipv4/route.c | if (rt) |
rt | 1577 | net/ipv4/route.c | ATOMIC_DECR(&rt->rt_refcnt); |
rt | 1755 | net/ipv4/route.c | struct rtentry rt; |
rt | 1766 | net/ipv4/route.c | memcpy_fromfs(&rt, arg, sizeof(struct rtentry)); |
rt | 1767 | net/ipv4/route.c | return (cmd == SIOCDELRT) ? 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 | 1952 | net/ipv4/tcp.c | struct rtable *rt; |
rt | 2016 | net/ipv4/tcp.c | if ((rt = sk->ip_route_cache) != NULL && !sk->saddr) |
rt | 2017 | net/ipv4/tcp.c | sk->saddr = rt->rt_src; |
rt | 2033 | net/ipv4/tcp.c | if(rt!=NULL && (rt->rt_flags&RTF_WINDOW)) |
rt | 2034 | net/ipv4/tcp.c | sk->window_clamp=rt->rt_window; |
rt | 2040 | net/ipv4/tcp.c | else if (rt) |
rt | 2041 | net/ipv4/tcp.c | sk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
rt | 2088 | net/ipv4/tcp.c | if(rt&&rt->rt_flags&RTF_IRTT) |
rt | 2089 | net/ipv4/tcp.c | sk->rto = rt->rt_irtt; |
rt | 320 | net/ipv4/tcp_input.c | struct rtable *rt; |
rt | 473 | net/ipv4/tcp_input.c | rt = ip_rt_route(newsk->opt && newsk->opt->srr ? newsk->opt->faddr : saddr, 0); |
rt | 474 | net/ipv4/tcp_input.c | newsk->ip_route_cache = rt; |
rt | 476 | net/ipv4/tcp_input.c | if(rt!=NULL && (rt->rt_flags&RTF_WINDOW)) |
rt | 477 | net/ipv4/tcp_input.c | newsk->window_clamp = rt->rt_window; |
rt | 483 | net/ipv4/tcp_input.c | else if (rt) |
rt | 484 | 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 | 1078 | net/ipx/af_ipx.c | ipx_route *rt; |
rt | 1081 | net/ipx/af_ipx.c | rt = ipxrtr_lookup(network); |
rt | 1082 | net/ipx/af_ipx.c | if (rt==NULL) { |
rt | 1083 | net/ipx/af_ipx.c | rt=(ipx_route *)kmalloc(sizeof(ipx_route),GFP_ATOMIC); |
rt | 1084 | net/ipx/af_ipx.c | if(rt==NULL) |
rt | 1086 | net/ipx/af_ipx.c | rt->ir_next=ipx_routes; |
rt | 1087 | net/ipx/af_ipx.c | ipx_routes=rt; |
rt | 1092 | net/ipx/af_ipx.c | rt->ir_net = network; |
rt | 1093 | net/ipx/af_ipx.c | rt->ir_intrfc = intrfc; |
rt | 1095 | net/ipx/af_ipx.c | memset(rt->ir_router_node, '\0', IPX_NODE_LEN); |
rt | 1096 | net/ipx/af_ipx.c | rt->ir_routed = 0; |
rt | 1098 | net/ipx/af_ipx.c | memcpy(rt->ir_router_node, node, IPX_NODE_LEN); |
rt | 1099 | net/ipx/af_ipx.c | rt->ir_routed=1; |
rt | 1166 | net/ipx/af_ipx.c | ipx_route *rt = NULL; |
rt | 1177 | net/ipx/af_ipx.c | rt = ipxrtr_lookup(usipx->sipx_network); |
rt | 1178 | net/ipx/af_ipx.c | if (rt==NULL) { |
rt | 1181 | net/ipx/af_ipx.c | intrfc = rt->ir_intrfc; |
rt | 1236 | net/ipx/af_ipx.c | return ipxitf_send(intrfc, skb, (rt && rt->ir_routed) ? |
rt | 1237 | net/ipx/af_ipx.c | rt->ir_router_node : ipx->ipx_dest.node); |
rt | 1266 | net/ipx/af_ipx.c | struct rtentry rt; /* Use these to behave like 'other' stacks */ |
rt | 1269 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(rt)); |
rt | 1273 | net/ipx/af_ipx.c | memcpy_fromfs(&rt,arg,sizeof(rt)); |
rt | 1275 | net/ipx/af_ipx.c | sg=(struct sockaddr_ipx *)&rt.rt_gateway; |
rt | 1276 | net/ipx/af_ipx.c | st=(struct sockaddr_ipx *)&rt.rt_dst; |
rt | 1278 | net/ipx/af_ipx.c | if(!(rt.rt_flags&RTF_GATEWAY)) |
rt | 1445 | net/ipx/af_ipx.c | ipx_route *rt; |
rt | 1452 | net/ipx/af_ipx.c | for (rt = ipx_routes; rt != NULL; rt = rt->ir_next) |
rt | 1454 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX ", ntohl(rt->ir_net)); |
rt | 1455 | net/ipx/af_ipx.c | if (rt->ir_routed) { |
rt | 1457 | net/ipx/af_ipx.c | ntohl(rt->ir_intrfc->if_netnum), |
rt | 1458 | net/ipx/af_ipx.c | rt->ir_router_node[0], rt->ir_router_node[1], |
rt | 1459 | net/ipx/af_ipx.c | rt->ir_router_node[2], rt->ir_router_node[3], |
rt | 1460 | net/ipx/af_ipx.c | rt->ir_router_node[4], rt->ir_router_node[5]); |