tag | line | file | source code |
rt | 88 | 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 | 146 | include/net/route.h | extern int ip_rt_new(struct rtentry *rt); |
rt | 178 | include/net/route.h | extern __inline__ void ip_rt_put(struct rtable * rt) |
rt | 181 | include/net/route.h | if (rt) |
rt | 182 | include/net/route.h | ATOMIC_DECR(&rt->rt_refcnt); |
rt | 215 | include/net/route.h | struct rtable * rt = *rp; |
rt | 217 | include/net/route.h | if (!rt || rt->rt_dst != daddr || !(rt->rt_flags&RTF_UP) |
rt | 218 | include/net/route.h | || ((local==1)^((rt->rt_flags&RTF_LOCAL) != 0))) |
rt | 220 | include/net/route.h | ip_rt_put(rt); |
rt | 221 | include/net/route.h | rt = ip_rt_route(daddr, local); |
rt | 222 | include/net/route.h | *rp = rt; |
rt | 224 | include/net/route.h | return rt; |
rt | 197 | kernel/module.c | struct mod_routines rt; |
rt | 222 | kernel/module.c | memcpy_fromfs(&rt, routines, sizeof rt); |
rt | 231 | kernel/module.c | (unsigned long) rt.init, (unsigned long) rt.cleanup)); |
rt | 232 | kernel/module.c | mp->cleanup = rt.cleanup; |
rt | 309 | kernel/module.c | if ((*rt.init)() != 0) { |
rt | 536 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 559 | net/appletalk/ddp.c | for(rt=atalk_router_list;rt!=NULL;rt=rt->next) |
rt | 561 | net/appletalk/ddp.c | if(r->rt_flags != rt->flags) |
rt | 564 | net/appletalk/ddp.c | if(ta->sat_addr.s_net == rt->target.s_net) |
rt | 566 | net/appletalk/ddp.c | if(!(rt->flags&RTF_HOST)) |
rt | 568 | net/appletalk/ddp.c | if(ta->sat_addr.s_node == rt->target.s_node) |
rt | 590 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 592 | net/appletalk/ddp.c | rt=(struct atalk_route *)kmalloc(sizeof(struct atalk_route), GFP_KERNEL); |
rt | 593 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 596 | net/appletalk/ddp.c | rt->next=atalk_router_list; |
rt | 597 | net/appletalk/ddp.c | atalk_router_list=rt; |
rt | 603 | net/appletalk/ddp.c | rt->target=ta->sat_addr; |
rt | 604 | net/appletalk/ddp.c | rt->dev=devhint; |
rt | 605 | net/appletalk/ddp.c | rt->flags=r->rt_flags; |
rt | 606 | net/appletalk/ddp.c | rt->gateway=ga->sat_addr; |
rt | 818 | net/appletalk/ddp.c | struct rtentry rt; |
rt | 820 | net/appletalk/ddp.c | err=verify_area(VERIFY_READ, arg, sizeof(rt)); |
rt | 823 | net/appletalk/ddp.c | memcpy_fromfs(&rt,arg,sizeof(rt)); |
rt | 828 | net/appletalk/ddp.c | if(rt.rt_dst.sa_family!=AF_APPLETALK) |
rt | 830 | net/appletalk/ddp.c | return atrtr_delete(&((struct sockaddr_at *)&rt.rt_dst)->sat_addr); |
rt | 832 | net/appletalk/ddp.c | return atrtr_create(&rt, NULL); |
rt | 875 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 883 | net/appletalk/ddp.c | rt=&atrtr_default; |
rt | 885 | net/appletalk/ddp.c | ntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags, |
rt | 886 | net/appletalk/ddp.c | rt->dev->name); |
rt | 888 | net/appletalk/ddp.c | for (rt = atalk_router_list; rt != NULL; rt = rt->next) |
rt | 891 | net/appletalk/ddp.c | ntohs(rt->target.s_net),rt->target.s_node, |
rt | 892 | net/appletalk/ddp.c | ntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags, |
rt | 893 | net/appletalk/ddp.c | rt->dev->name); |
rt | 1436 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 1462 | net/appletalk/ddp.c | rt=atrtr_find(&ta); |
rt | 1463 | net/appletalk/ddp.c | if(rt==NULL || ddp->deh_hops==15) |
rt | 1471 | net/appletalk/ddp.c | skb_trim(skb,min(origlen, rt->dev->hard_header_len + |
rt | 1478 | net/appletalk/ddp.c | if(aarp_send_ddp(rt->dev, skb, &ta, NULL)==-1) |
rt | 1521 | net/appletalk/ddp.c | struct atalk_route *rt; |
rt | 1569 | net/appletalk/ddp.c | rt=atrtr_find(&usat->sat_addr); |
rt | 1570 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 1572 | net/appletalk/ddp.c | dev=rt->dev; |
rt | 1579 | net/appletalk/ddp.c | rt=atrtr_find(&at_hint); |
rt | 1580 | net/appletalk/ddp.c | if(rt==NULL) |
rt | 1582 | net/appletalk/ddp.c | dev=rt->dev; |
rt | 1650 | net/appletalk/ddp.c | if((!(rt->flags&RTF_GATEWAY))&&(!(dev->flags&IFF_LOOPBACK))) |
rt | 1684 | net/appletalk/ddp.c | if ( rt->flags & RTF_GATEWAY ) { |
rt | 1685 | net/appletalk/ddp.c | gsat.sat_addr = rt->gateway; |
rt | 1625 | net/ipv4/arp.c | struct rtable *rt; |
rt | 1649 | net/ipv4/arp.c | rt = ip_rt_route(ip, 0); |
rt | 1650 | net/ipv4/arp.c | if (!rt) |
rt | 1652 | net/ipv4/arp.c | dev1 = rt->rt_dev; |
rt | 1653 | net/ipv4/arp.c | ip_rt_put(rt); |
rt | 89 | net/ipv4/ip_forward.c | struct rtable *rt; /* Route we use */ |
rt | 163 | net/ipv4/ip_forward.c | rt = ip_rt_route(target_addr, 0); |
rt | 165 | net/ipv4/ip_forward.c | if (rt == NULL) |
rt | 184 | net/ipv4/ip_forward.c | raddr = rt->rt_gateway; |
rt | 186 | net/ipv4/ip_forward.c | if (opt->is_strictroute && (rt->rt_flags & RTF_GATEWAY)) { |
rt | 191 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 200 | net/ipv4/ip_forward.c | dev2 = rt->rt_dev; |
rt | 201 | net/ipv4/ip_forward.c | hh = rt->rt_hh; |
rt | 209 | net/ipv4/ip_forward.c | (rt->rt_flags&RTF_MODIFIED) && !opt->srr) |
rt | 223 | net/ipv4/ip_forward.c | rt=NULL; |
rt | 248 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 269 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 286 | net/ipv4/ip_forward.c | ip_send(rt,skb2,raddr,skb->len,dev2,dev2->pa_addr); |
rt | 326 | net/ipv4/ip_forward.c | printk("ip_forward: hh miss %08x via %08x\n", target_addr, rt->rt_gateway); |
rt | 430 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 433 | net/ipv4/ip_forward.c | ip_rt_put(rt); |
rt | 113 | 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 | 127 | net/ipv4/ip_output.c | if (rt && dev == rt->rt_dev && rt->rt_hh) |
rt | 129 | net/ipv4/ip_output.c | memcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len); |
rt | 130 | net/ipv4/ip_output.c | if (rt->rt_hh->hh_uptodate) |
rt | 133 | net/ipv4/ip_output.c | printk("ip_send: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
rt | 150 | 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 | 160 | net/ipv4/ip_output.c | if (rt && dev == rt->rt_dev && rt->rt_hh) |
rt | 162 | net/ipv4/ip_output.c | memcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len); |
rt | 163 | net/ipv4/ip_output.c | if (rt->rt_hh->hh_uptodate) |
rt | 166 | net/ipv4/ip_output.c | printk("ip_send_room: hh miss %08x via %08x\n", daddr, rt->rt_gateway); |
rt | 195 | net/ipv4/ip_output.c | struct rtable *rt; |
rt | 215 | net/ipv4/ip_output.c | rt = ip_check_route(rp, daddr, skb->localroute); |
rt | 220 | net/ipv4/ip_output.c | if (rt) |
rt | 221 | net/ipv4/ip_output.c | ATOMIC_INCR(&rt->rt_refcnt); |
rt | 224 | net/ipv4/ip_output.c | rt = ip_rt_route(daddr, skb->localroute); |
rt | 229 | net/ipv4/ip_output.c | if (rt == NULL) |
rt | 235 | net/ipv4/ip_output.c | *dev = rt->rt_dev; |
rt | 239 | net/ipv4/ip_output.c | saddr = rt ? rt->rt_src : (*dev)->pa_addr; |
rt | 241 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : 0; |
rt | 243 | net/ipv4/ip_output.c | if (opt && opt->is_strictroute && rt && (rt->rt_flags & RTF_GATEWAY)) |
rt | 245 | net/ipv4/ip_output.c | ip_rt_put(rt); |
rt | 262 | net/ipv4/ip_output.c | tmp = ip_send_room(rt, skb, raddr, len, *dev, saddr); |
rt | 264 | net/ipv4/ip_output.c | tmp = ip_send(rt, skb, raddr, len, *dev, saddr); |
rt | 266 | net/ipv4/ip_output.c | ip_rt_put(rt); |
rt | 575 | net/ipv4/ip_output.c | struct rtable *rt; |
rt | 598 | net/ipv4/ip_output.c | rt=NULL; |
rt | 607 | net/ipv4/ip_output.c | rt = ip_check_route(&sk->ip_route_cache, daddr, |
rt | 610 | net/ipv4/ip_output.c | if (rt == NULL) |
rt | 615 | net/ipv4/ip_output.c | saddr = rt->rt_src; |
rt | 617 | net/ipv4/ip_output.c | hh = rt->rt_hh; |
rt | 622 | net/ipv4/ip_output.c | dev=rt->rt_dev; |
rt | 625 | net/ipv4/ip_output.c | if (rt && !dev) |
rt | 626 | net/ipv4/ip_output.c | dev = rt->rt_dev; |
rt | 631 | net/ipv4/ip_output.c | raddr = rt ? rt->rt_gateway : daddr; |
rt | 670 | net/ipv4/ip_output.c | printk("ip_build_xmit: hh miss %08x via %08x\n", rt->rt_dst, rt->rt_gateway); |
rt | 846 | 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 | 290 | net/ipv4/rarp.c | struct rtable *rt; |
rt | 330 | net/ipv4/rarp.c | rt = ip_rt_route(ip, 0); |
rt | 331 | net/ipv4/rarp.c | if (rt == NULL) |
rt | 333 | net/ipv4/rarp.c | dev = rt->rt_dev; |
rt | 334 | net/ipv4/rarp.c | ip_rt_put(rt); |
rt | 566 | net/ipv4/rarp.c | struct rarp_table *rt, *rt_next; |
rt | 571 | net/ipv4/rarp.c | rt = rarp_tables; |
rt | 575 | net/ipv4/rarp.c | for ( ; rt != NULL; rt = rt_next) { |
rt | 576 | net/ipv4/rarp.c | rt_next = rt->next; |
rt | 577 | net/ipv4/rarp.c | rarp_release_entry(rt); |
rt | 943 | net/ipv4/route.c | static void rt_free(struct rtable * rt) |
rt | 949 | net/ipv4/route.c | if (!rt->rt_refcnt) |
rt | 951 | net/ipv4/route.c | struct hh_cache * hh = rt->rt_hh; |
rt | 952 | net/ipv4/route.c | rt->rt_hh = NULL; |
rt | 959 | net/ipv4/route.c | kfree_s(rt, sizeof(struct rt_table)); |
rt | 962 | net/ipv4/route.c | rt->rt_next = rt_free_queue; |
rt | 963 | net/ipv4/route.c | rt->rt_flags &= ~RTF_UP; |
rt | 964 | net/ipv4/route.c | rt_free_queue = rt; |
rt | 967 | net/ipv4/route.c | printk("rt_free: %08x\n", rt->rt_dst); |
rt | 978 | net/ipv4/route.c | struct rtable *rt, **rtp; |
rt | 982 | net/ipv4/route.c | while ((rt = *rtp) != NULL) |
rt | 984 | net/ipv4/route.c | if (!rt->rt_refcnt) |
rt | 986 | net/ipv4/route.c | struct hh_cache * hh = rt->rt_hh; |
rt | 988 | net/ipv4/route.c | __u32 daddr = rt->rt_dst; |
rt | 990 | net/ipv4/route.c | *rtp = rt->rt_next; |
rt | 991 | net/ipv4/route.c | rt->rt_hh = NULL; |
rt | 998 | net/ipv4/route.c | kfree_s(rt, sizeof(struct rt_table)); |
rt | 1005 | net/ipv4/route.c | rtp = &rt->rt_next; |
rt | 1105 | net/ipv4/route.c | struct rtable *rt; |
rt | 1112 | net/ipv4/route.c | rt = (struct rtable *) kmalloc(sizeof(struct rtable), GFP_ATOMIC); |
rt | 1113 | net/ipv4/route.c | if (rt == NULL) |
rt | 1115 | net/ipv4/route.c | memset(rt, 0, sizeof(struct rtable)); |
rt | 1116 | net/ipv4/route.c | rt->rt_flags = RTF_DYNAMIC | RTF_MODIFIED | RTF_HOST | RTF_GATEWAY | RTF_UP; |
rt | 1117 | net/ipv4/route.c | rt->rt_dst = dst; |
rt | 1118 | net/ipv4/route.c | rt->rt_dev = dev; |
rt | 1119 | net/ipv4/route.c | rt->rt_gateway = gw; |
rt | 1120 | net/ipv4/route.c | rt->rt_src = dev->pa_addr; |
rt | 1121 | net/ipv4/route.c | rt->rt_mtu = dev->mtu; |
rt | 1124 | net/ipv4/route.c | rt->rt_mtu = 576; |
rt | 1126 | net/ipv4/route.c | rt->rt_lastuse = jiffies; |
rt | 1127 | net/ipv4/route.c | rt->rt_refcnt = 1; |
rt | 1128 | net/ipv4/route.c | rt_cache_add(hash, rt); |
rt | 1129 | net/ipv4/route.c | ip_rt_put(rt); |
rt | 1319 | net/ipv4/route.c | struct rtable * rt; |
rt | 1321 | net/ipv4/route.c | rt = ip_rt_route(dst, 0); |
rt | 1322 | net/ipv4/route.c | if (!rt) |
rt | 1325 | net/ipv4/route.c | if (rt->rt_gateway != src || |
rt | 1326 | net/ipv4/route.c | rt->rt_dev != dev || |
rt | 1330 | net/ipv4/route.c | ip_rt_put(rt); |
rt | 1333 | net/ipv4/route.c | ip_rt_put(rt); |
rt | 1555 | net/ipv4/route.c | void ip_rt_put(struct rtable * rt) |
rt | 1557 | net/ipv4/route.c | if (rt) |
rt | 1558 | net/ipv4/route.c | ATOMIC_DECR(&rt->rt_refcnt); |
rt | 1737 | net/ipv4/route.c | struct rtentry rt; |
rt | 1748 | net/ipv4/route.c | memcpy_fromfs(&rt, arg, sizeof(struct rtentry)); |
rt | 1749 | net/ipv4/route.c | return (cmd == SIOCDELRT) ? rt_kill(&rt) : ip_rt_new(&rt); |
rt | 638 | net/ipv4/tcp.c | struct rtable *rt; |
rt | 685 | net/ipv4/tcp.c | rt = ip_check_route(&sk->ip_route_cache, opt->srr?opt->faddr:iph->daddr, skb->localroute); |
rt | 690 | net/ipv4/tcp.c | if (rt && ntohs(iph->tot_len) > rt->rt_mtu) |
rt | 695 | net/ipv4/tcp.c | if (rt==NULL) /* Deep poo */ |
rt | 705 | net/ipv4/tcp.c | dev=rt->rt_dev; |
rt | 706 | net/ipv4/tcp.c | skb->raddr=rt->rt_gateway; |
rt | 709 | net/ipv4/tcp.c | if (rt->rt_hh) |
rt | 711 | net/ipv4/tcp.c | memcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len); |
rt | 712 | net/ipv4/tcp.c | if (!rt->rt_hh->hh_uptodate) |
rt | 716 | net/ipv4/tcp.c | printk("tcp_do_retransmit: hh miss %08x via %08x\n", iph->daddr, rt->rt_gateway); |
rt | 1093 | net/ipv4/tcp.c | struct rtable * rt; |
rt | 1100 | net/ipv4/tcp.c | if ((rt = sk->ip_route_cache) != NULL) |
rt | 1101 | net/ipv4/tcp.c | if (rt->rt_mtu > new_mtu) |
rt | 1102 | net/ipv4/tcp.c | rt->rt_mtu = new_mtu; |
rt | 2931 | net/ipv4/tcp.c | struct rtable *rt; |
rt | 3085 | net/ipv4/tcp.c | rt = ip_rt_route(newsk->opt && newsk->opt->srr ? newsk->opt->faddr : saddr, 0); |
rt | 3086 | net/ipv4/tcp.c | newsk->ip_route_cache = rt; |
rt | 3088 | net/ipv4/tcp.c | if(rt!=NULL && (rt->rt_flags&RTF_WINDOW)) |
rt | 3089 | net/ipv4/tcp.c | newsk->window_clamp = rt->rt_window; |
rt | 3095 | net/ipv4/tcp.c | else if (rt) |
rt | 3096 | net/ipv4/tcp.c | newsk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
rt | 4537 | net/ipv4/tcp.c | struct rtable *rt; |
rt | 4601 | net/ipv4/tcp.c | if ((rt = sk->ip_route_cache) != NULL && !sk->saddr) |
rt | 4602 | net/ipv4/tcp.c | sk->saddr = rt->rt_src; |
rt | 4624 | net/ipv4/tcp.c | if(rt!=NULL && (rt->rt_flags&RTF_WINDOW)) |
rt | 4625 | net/ipv4/tcp.c | sk->window_clamp=rt->rt_window; |
rt | 4631 | net/ipv4/tcp.c | else if (rt) |
rt | 4632 | net/ipv4/tcp.c | sk->mtu = rt->rt_mtu - sizeof(struct iphdr) - sizeof(struct tcphdr); |
rt | 4678 | net/ipv4/tcp.c | if(rt&&rt->rt_flags&RTF_IRTT) |
rt | 4679 | net/ipv4/tcp.c | sk->rto = rt->rt_irtt; |
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 | 549 | net/ipv4/udp.c | struct rtable *rt; |
rt | 561 | net/ipv4/udp.c | rt=ip_rt_route((__u32)usin->sin_addr.s_addr, sk->localroute); |
rt | 562 | net/ipv4/udp.c | if (rt==NULL) |
rt | 565 | net/ipv4/udp.c | sk->saddr = rt->rt_src; /* Update source address */ |
rt | 567 | net/ipv4/udp.c | sk->rcv_saddr = rt->rt_src; |
rt | 572 | net/ipv4/udp.c | sk->ip_route_cache = rt; |
rt | 957 | net/ipx/af_ipx.c | ipx_route *rt; |
rt | 960 | net/ipx/af_ipx.c | rt = ipxrtr_lookup(network); |
rt | 961 | net/ipx/af_ipx.c | if (rt==NULL) { |
rt | 962 | net/ipx/af_ipx.c | rt=(ipx_route *)kmalloc(sizeof(ipx_route),GFP_ATOMIC); |
rt | 963 | net/ipx/af_ipx.c | if(rt==NULL) |
rt | 965 | net/ipx/af_ipx.c | rt->ir_next=ipx_routes; |
rt | 966 | net/ipx/af_ipx.c | ipx_routes=rt; |
rt | 969 | net/ipx/af_ipx.c | rt->ir_net = network; |
rt | 970 | net/ipx/af_ipx.c | rt->ir_intrfc = intrfc; |
rt | 972 | net/ipx/af_ipx.c | memset(rt->ir_router_node, '\0', IPX_NODE_LEN); |
rt | 973 | net/ipx/af_ipx.c | rt->ir_routed = 0; |
rt | 975 | net/ipx/af_ipx.c | memcpy(rt->ir_router_node, node, IPX_NODE_LEN); |
rt | 976 | net/ipx/af_ipx.c | rt->ir_routed=1; |
rt | 1043 | net/ipx/af_ipx.c | ipx_route *rt = NULL; |
rt | 1054 | net/ipx/af_ipx.c | rt = ipxrtr_lookup(usipx->sipx_network); |
rt | 1055 | net/ipx/af_ipx.c | if (rt==NULL) { |
rt | 1058 | net/ipx/af_ipx.c | intrfc = rt->ir_intrfc; |
rt | 1098 | net/ipx/af_ipx.c | return ipxitf_send(intrfc, skb, (rt && rt->ir_routed) ? |
rt | 1099 | net/ipx/af_ipx.c | rt->ir_router_node : ipx->ipx_dest.node); |
rt | 1128 | net/ipx/af_ipx.c | struct rtentry rt; /* Use these to behave like 'other' stacks */ |
rt | 1131 | net/ipx/af_ipx.c | err=verify_area(VERIFY_READ,arg,sizeof(rt)); |
rt | 1135 | net/ipx/af_ipx.c | memcpy_fromfs(&rt,arg,sizeof(rt)); |
rt | 1137 | net/ipx/af_ipx.c | sg=(struct sockaddr_ipx *)&rt.rt_gateway; |
rt | 1138 | net/ipx/af_ipx.c | st=(struct sockaddr_ipx *)&rt.rt_dst; |
rt | 1140 | net/ipx/af_ipx.c | if(!(rt.rt_flags&RTF_GATEWAY)) |
rt | 1287 | net/ipx/af_ipx.c | ipx_route *rt; |
rt | 1294 | net/ipx/af_ipx.c | for (rt = ipx_routes; rt != NULL; rt = rt->ir_next) |
rt | 1296 | net/ipx/af_ipx.c | len += sprintf (buffer+len,"%08lX ", ntohl(rt->ir_net)); |
rt | 1297 | net/ipx/af_ipx.c | if (rt->ir_routed) { |
rt | 1299 | net/ipx/af_ipx.c | ntohl(rt->ir_intrfc->if_netnum), |
rt | 1300 | net/ipx/af_ipx.c | rt->ir_router_node[0], rt->ir_router_node[1], |
rt | 1301 | net/ipx/af_ipx.c | rt->ir_router_node[2], rt->ir_router_node[3], |
rt | 1302 | net/ipx/af_ipx.c | rt->ir_router_node[4], rt->ir_router_node[5]); |