taglinefilesource code
rt176kernel/module.cstruct mod_routines rt;
rt198kernel/module.cmemcpy_fromfs(&rt, routines, sizeof rt);
rt207kernel/module.c(unsigned long) rt.init, (unsigned long) rt.cleanup));
rt208kernel/module.cmp->cleanup = rt.cleanup;
rt249kernel/module.cif ((*rt.init)() != 0)
rt964net/inet/arp.cstruct rtable *rt;
rt1005net/inet/arp.crt = ip_rt_route(ip, NULL, NULL);
rt1006net/inet/arp.cif (rt == NULL)
rt1056net/inet/arp.centry->dev = rt->rt_dev;
rt292net/inet/icmp.cstruct rtable *rt;
rt322net/inet/icmp.crt = ip_rt_route(ip, NULL, NULL);
rt323net/inet/icmp.cif (!rt)
rt325net/inet/icmp.cif (rt->rt_gateway != source)
rt197net/inet/ip.cstruct rtable *rt;
rt219net/inet/ip.crt = ip_rt_local(daddr, &optmem, &src);
rt221net/inet/ip.crt = ip_rt_route(daddr, &optmem, &src);
rt222net/inet/ip.cif (rt == NULL)
rt228net/inet/ip.c*dev = rt->rt_dev;
rt235net/inet/ip.craddr = rt->rt_gateway;
rt245net/inet/ip.crt = ip_rt_local(daddr, &optmem, &src);
rt247net/inet/ip.crt = ip_rt_route(daddr, &optmem, &src);
rt255net/inet/ip.craddr = (rt == NULL) ? 0 : rt->rt_gateway;
rt1259net/inet/ip.cstruct rtable *rt;  /* Route we use */
rt1296net/inet/ip.crt = ip_rt_route(iph->daddr, NULL, NULL);
rt1297net/inet/ip.cif (rt == NULL)
rt1316net/inet/ip.craddr = rt->rt_gateway;
rt1324net/inet/ip.crt = ip_rt_route(raddr, NULL, NULL);
rt1325net/inet/ip.cif (rt == NULL)
rt1333net/inet/ip.cif (rt->rt_gateway != 0)
rt1334net/inet/ip.craddr = rt->rt_gateway;
rt1343net/inet/ip.cdev2 = rt->rt_dev;
rt278net/inet/ipx.cipx_route *rt=ipxrtr_get_dev(r->ipx_network);
rt310net/inet/ipx.cif (rt==NULL)
rt312net/inet/ipx.crt=(ipx_route *)kmalloc(sizeof(ipx_route),GFP_ATOMIC);  /* Because we are brave and don't lock the table! */
rt313net/inet/ipx.cif(rt==NULL)
rt315net/inet/ipx.crt->next=ipx_router_list;
rt316net/inet/ipx.cipx_router_list=rt;
rt318net/inet/ipx.crt->net=r->ipx_network;
rt319net/inet/ipx.crt->router_net=r->ipx_router_network;
rt320net/inet/ipx.cmemcpy(rt->router_node,r->ipx_router_node,sizeof(rt->router_node));
rt321net/inet/ipx.crt->flags=IPX_RT_ROUTED;
rt322net/inet/ipx.crt->dlink_type = dlink_type;
rt323net/inet/ipx.crt->datalink = datalink;
rt324net/inet/ipx.crt->dev=rt1->dev;
rt339net/inet/ipx.crt=(ipx_route *)kmalloc(sizeof(ipx_route),GFP_ATOMIC);  /* Because we are brave and don't lock the table! */
rt340net/inet/ipx.cif(rt==NULL)
rt342net/inet/ipx.crt->next=ipx_router_list;
rt343net/inet/ipx.cipx_router_list=rt;
rt344net/inet/ipx.crt->router_net=0;
rt345net/inet/ipx.cmemset(rt->router_node,0,sizeof(rt->router_node));
rt346net/inet/ipx.crt->dev=dev;
rt347net/inet/ipx.crt->net=r->ipx_network;
rt348net/inet/ipx.crt->flags=0;
rt349net/inet/ipx.crt->dlink_type = dlink_type;
rt350net/inet/ipx.crt->datalink = datalink;
rt351net/inet/ipx.cipxrtr_add_localnet(rt);
rt433net/inet/ipx.cipx_route *rt;
rt439net/inet/ipx.cfor (rt = ipx_router_list; rt != NULL; rt = rt->next)
rt441net/inet/ipx.clen += sprintf (buffer+len,"%08lX %08lX:%02X%02X%02X%02X%02X%02X %02X    %s\n", ntohl(rt->net),
rt442net/inet/ipx.cntohl(rt->router_net), rt->router_node[0], rt->router_node[1], rt->router_node[2],
rt443net/inet/ipx.crt->router_node[3], rt->router_node[4], rt->router_node[5], rt->flags, rt->dev->name);
rt655net/inet/ipx.cstruct ipx_route *rt;
rt692net/inet/ipx.crt = ipxrtr_get_default_net();
rt696net/inet/ipx.crt = ipxrtr_get_dev(addr->sipx_network);
rt699net/inet/ipx.cif(rt == NULL)
rt707net/inet/ipx.csk->ipx_source_addr.net=rt->net;
rt711net/inet/ipx.cnodestart = sk->ipx_source_addr.node + (6 - rt->dev->addr_len);
rt712net/inet/ipx.cmemcpy(nodestart,rt->dev->dev_addr,rt->dev->addr_len);
rt801net/inet/ipx.cipx_route *rt;
rt868net/inet/ipx.crt=ipxrtr_get_dev(ipx->ipx_dest.net);
rt869net/inet/ipx.cif(rt==NULL)   /* Unlike IP we can send on the interface we received. Eg doing DIX/802.3 conversion */
rt877net/inet/ipx.coutgoing_size = rt->datalink->header_length + rt->dev->hard_header_len;
rt909net/inet/ipx.cskb2->dev = rt->dev;
rt910net/inet/ipx.crt->datalink->datalink_header(rt->datalink, skb2, 
rt911net/inet/ipx.c(rt->flags&IPX_RT_ROUTED)?rt->router_node
rt914net/inet/ipx.cdev_queue_xmit(skb2,rt->dev,SOPRI_NORMAL);
rt965net/inet/ipx.cipx_route *rt;
rt1025net/inet/ipx.crt = ipxrtr_get_default_net();
rt1026net/inet/ipx.cif (rt != NULL)
rt1027net/inet/ipx.cusipx->sipx_network = rt->net;
rt1029net/inet/ipx.crt=ipxrtr_get_dev(usipx->sipx_network);
rt1031net/inet/ipx.cif(rt==NULL)
rt1036net/inet/ipx.cdev=rt->dev;
rt1037net/inet/ipx.cdl = rt->datalink;
rt1063net/inet/ipx.cskb->dev=rt->dev;
rt1067net/inet/ipx.c(rt->flags&IPX_RT_ROUTED)?rt->router_node:usipx->sipx_node);
rt1075net/inet/ipx.c(rt->flags&IPX_RT_ROUTED)?rt->router_node
rt1102net/inet/ipx.cpt.type = rt->dlink_type;
rt1112net/inet/ipx.cpt.type = rt->dlink_type;
rt1120net/inet/ipx.cskb2->h.raw = skb2->data + rt->datalink->header_length
rt239net/inet/rarp.cstruct rtable *rt;
rt278net/inet/rarp.crt = ip_rt_route(ip, NULL, NULL);
rt279net/inet/rarp.cif (rt == NULL)
rt318net/inet/rarp.centry->dev = rt->rt_dev;
rt173net/inet/route.cstruct rtable * rt;
rt175net/inet/route.cfor (rt = rt_base ; ; rt = rt->rt_next) 
rt177net/inet/route.cif (!rt)
rt179net/inet/route.cif ((gw ^ rt->rt_dst) & rt->rt_mask)
rt185net/inet/route.cif (rt->rt_flags & RTF_GATEWAY)
rt187net/inet/route.creturn rt->rt_dev;
rt202net/inet/route.cstruct rtable *r, *rt;
rt261net/inet/route.crt = (struct rtable *) kmalloc(sizeof(struct rtable), GFP_ATOMIC);
rt262net/inet/route.cif (rt == NULL) 
rt266net/inet/route.cmemset(rt, 0, sizeof(struct rtable));
rt267net/inet/route.crt->rt_flags = flags | RTF_UP;
rt268net/inet/route.crt->rt_dst = dst;
rt269net/inet/route.crt->rt_dev = dev;
rt270net/inet/route.crt->rt_gateway = gw;
rt271net/inet/route.crt->rt_mask = mask;
rt272net/inet/route.crt->rt_mss = dev->mtu - HEADER_SIZE;
rt273net/inet/route.crt->rt_window = 0;  /* Default is no clamping */
rt277net/inet/route.cif(rt->rt_flags & RTF_MSS)
rt278net/inet/route.crt->rt_mss = mtu;
rt280net/inet/route.cif(rt->rt_flags & RTF_WINDOW)
rt281net/inet/route.crt->rt_window = window;
rt321net/inet/route.crt->rt_next = r;
rt322net/inet/route.c*rp = rt;
rt328net/inet/route.cif ((rt->rt_dev->flags & IFF_LOOPBACK) && !rt_loopback)
rt329net/inet/route.crt_loopback = rt;
rt536net/inet/route.cstruct rtable *rt;
rt538net/inet/route.cfor (rt = rt_base; rt != NULL || early_out ; rt = rt->rt_next) 
rt540net/inet/route.cif (!((rt->rt_dst ^ daddr) & rt->rt_mask))
rt546net/inet/route.cif ((rt->rt_dev->flags & IFF_BROADCAST) &&
rt547net/inet/route.crt->rt_dev->pa_brdaddr == daddr)
rt552net/inet/route.c*src_addr= rt->rt_dev->pa_addr;
rt554net/inet/route.cif (daddr == rt->rt_dev->pa_addr) {
rt555net/inet/route.cif ((rt = rt_loopback) == NULL)
rt558net/inet/route.crt->rt_use++;
rt559net/inet/route.creturn rt;
rt566net/inet/route.cstruct rtable *rt;
rt568net/inet/route.cfor (rt = rt_base; rt != NULL || early_out ; rt = rt->rt_next) 
rt573net/inet/route.cif (rt->rt_flags&RTF_GATEWAY)
rt576net/inet/route.cif (!((rt->rt_dst ^ daddr) & rt->rt_mask))
rt582net/inet/route.cif ((rt->rt_dev->flags & IFF_BROADCAST) &&
rt583net/inet/route.crt->rt_dev->pa_brdaddr == daddr)
rt588net/inet/route.c*src_addr= rt->rt_dev->pa_addr;
rt590net/inet/route.cif (daddr == rt->rt_dev->pa_addr) {
rt591net/inet/route.cif ((rt = rt_loopback) == NULL)
rt594net/inet/route.crt->rt_use++;
rt595net/inet/route.creturn rt;
rt604net/inet/route.cstatic int ip_get_old_rtent(struct old_rtentry * src, struct rtentry * rt)
rt613net/inet/route.cmemset(rt, 0, sizeof(*rt));
rt614net/inet/route.crt->rt_dst = tmp.rt_dst;
rt615net/inet/route.crt->rt_gateway = tmp.rt_gateway;
rt616net/inet/route.crt->rt_genmask.sa_family = AF_INET;
rt617net/inet/route.c((struct sockaddr_in *) &rt->rt_genmask)->sin_addr.s_addr = tmp.rt_genmask;
rt618net/inet/route.crt->rt_flags = tmp.rt_flags;
rt619net/inet/route.crt->rt_dev = tmp.rt_dev;
rt631net/inet/route.cstruct rtentry rt;
rt639net/inet/route.cerr = ip_get_old_rtent((struct old_rtentry *) arg, &rt);
rt642net/inet/route.creturn (cmd == SIOCDELRTOLD) ? rt_kill(&rt) : rt_new(&rt);
rt651net/inet/route.cmemcpy_fromfs(&rt, arg, sizeof(struct rtentry));
rt652net/inet/route.creturn (cmd == SIOCDELRT) ? rt_kill(&rt) : rt_new(&rt);
rt1951net/inet/tcp.cstruct rtable *rt;
rt2078net/inet/tcp.crt=ip_rt_route(saddr, NULL,NULL);
rt2080net/inet/tcp.cif(rt!=NULL && (rt->rt_flags&RTF_WINDOW))
rt2081net/inet/tcp.cnewsk->window_clamp = rt->rt_window;
rt2087net/inet/tcp.celse if(rt!=NULL && (rt->rt_flags&RTF_MSS))
rt2088net/inet/tcp.cnewsk->mtu = rt->rt_mss - HEADER_SIZE;
rt3566net/inet/tcp.cstruct rtable *rt;
rt3626net/inet/tcp.crt=ip_rt_route(sk->daddr, NULL, NULL);
rt3661net/inet/tcp.cif(rt!=NULL && (rt->rt_flags&RTF_WINDOW))
rt3662net/inet/tcp.csk->window_clamp=rt->rt_window;
rt3668net/inet/tcp.celse if(rt!=NULL && (rt->rt_flags&RTF_MTU))
rt3669net/inet/tcp.csk->mtu = rt->rt_mss;
rt250net/inet/udp.cunsigned char *from, int len, int rt)
rt272net/inet/udp.cskb->localroute = sk->localroute|(rt&MSG_DONTROUTE);