taglinefilesource code
rt256net/tcp/icmp.cstruct rtable *rt; /* we will add a new route. */
rt260net/tcp/icmp.crt = kmalloc (sizeof (*rt), GFP_ATOMIC);
rt261net/tcp/icmp.cif (rt != NULL)
rt263net/tcp/icmp.crt->net = iph->daddr;
rt266net/tcp/icmp.cif ((icmph->code & 1) == 0) rt->net &= 0x00ffffff;
rt267net/tcp/icmp.crt->dev = dev;
rt268net/tcp/icmp.crt->router = icmph->un.gateway;
rt269net/tcp/icmp.cadd_route (rt);
rt236net/tcp/ip.cprint_rt(struct rtable *rt)
rt240net/tcp/ip.c(long) rt, (long) rt->next, (long) rt->dev,
rt241net/tcp/ip.crt->dev->name, in_ntoa(rt->net));
rt242net/tcp/ip.cprintk("ROUTER=%s\n", in_ntoa(rt->router));
rt257net/tcp/ip.cstruct rtable *rt;
rt260net/tcp/ip.cfor (rt=rt_base; rt != NULL; rt=rt->next)
rt263net/tcp/ip.cif (ip_addr_match (rt->net, daddr))
rt265net/tcp/ip.cPRINTK (("IP: %X via %s (%X)\n", daddr, rt->dev->name, rt->router));
rt266net/tcp/ip.c*raddr = rt->router;
rt267net/tcp/ip.creturn (rt->dev);
rt306net/tcp/ip.cadd_route (struct rtable *rt)
rt312net/tcp/ip.cprint_rt(rt);
rt316net/tcp/ip.crt->next = NULL;
rt317net/tcp/ip.crt_base = rt;
rt326net/tcp/ip.cif (mask & rt->net)
rt337net/tcp/ip.cif (r->net == rt->net)
rt341net/tcp/ip.crt->next = r->next;
rt342net/tcp/ip.crt_base = rt;
rt346net/tcp/ip.crt->next = r->next;
rt347net/tcp/ip.cr1->next = rt;
rt359net/tcp/ip.crt->next = rt_base;
rt360net/tcp/ip.crt_base = rt;
rt363net/tcp/ip.crt->next = r;
rt364net/tcp/ip.cr1->next = rt;
rt372net/tcp/ip.crt->next = NULL;
rt373net/tcp/ip.cr1->next = rt;
rt379net/tcp/ip.cstruct rtable *rt;
rt405net/tcp/ip.crt = kmalloc (sizeof (*rt), GFP_KERNEL);
rt406net/tcp/ip.cif (rt == NULL) return (-ENOMEM);
rt407net/tcp/ip.crt->net = ipc.net;
rt408net/tcp/ip.crt->dev = dev;
rt409net/tcp/ip.crt->router = 0;
rt410net/tcp/ip.cadd_route (rt);
rt417net/tcp/ip.crt = kmalloc (sizeof (*rt),GFP_KERNEL);
rt418net/tcp/ip.cif (rt == NULL) return (-ENOMEM);
rt419net/tcp/ip.crt->net = 0;
rt420net/tcp/ip.crt->dev = dev;
rt421net/tcp/ip.crt->router = ipc.router;
rt422net/tcp/ip.cadd_route (rt);
rt428net/tcp/ip.crt = kmalloc (sizeof (*rt), GFP_KERNEL);
rt429net/tcp/ip.cif (rt == NULL) return (-ENOMEM);
rt430net/tcp/ip.crt->net = ipc.paddr;
rt431net/tcp/ip.crt->dev = dev;
rt432net/tcp/ip.crt->router = 0;
rt433net/tcp/ip.cadd_route (rt);
rt181net/tcp/ip.hvoid add_route (struct rtable *rt);