| tag | line | file | source code |
| rt | 248 | net/tcp/icmp.c | struct rtable *rt; /* we will add a new route. */ |
| rt | 252 | net/tcp/icmp.c | rt = kmalloc (sizeof (*rt), GFP_ATOMIC); |
| rt | 253 | net/tcp/icmp.c | if (rt != NULL) |
| rt | 255 | net/tcp/icmp.c | rt->net = iph->daddr; |
| rt | 258 | net/tcp/icmp.c | if ((icmph->code & 1) == 0) rt->net &= 0x00ffffff; |
| rt | 259 | net/tcp/icmp.c | rt->dev = dev; |
| rt | 260 | net/tcp/icmp.c | rt->router = icmph->un.gateway; |
| rt | 261 | net/tcp/icmp.c | add_route (rt); |
| rt | 208 | net/tcp/ip.c | print_rt(struct rtable *rt) |
| rt | 210 | net/tcp/ip.c | PRINTK ("net = %08X router = %08X\n",rt->net, rt->router); |
| rt | 211 | net/tcp/ip.c | PRINTK ("dev = %X, next = %X\n",rt->dev, rt->next); |
| rt | 225 | net/tcp/ip.c | struct rtable *rt; |
| rt | 228 | net/tcp/ip.c | for (rt=rt_base; rt != NULL; rt=rt->next) |
| rt | 231 | net/tcp/ip.c | if (ip_addr_match (rt->net, daddr)) |
| rt | 233 | net/tcp/ip.c | *raddr = rt->router; |
| rt | 234 | net/tcp/ip.c | return (rt->dev); |
| rt | 241 | net/tcp/ip.c | add_route (struct rtable *rt) |
| rt | 246 | net/tcp/ip.c | PRINTK ("add_route (rt=%X):\n",rt); |
| rt | 247 | net/tcp/ip.c | print_rt(rt); |
| rt | 251 | net/tcp/ip.c | rt->next = NULL; |
| rt | 252 | net/tcp/ip.c | rt_base = rt; |
| rt | 261 | net/tcp/ip.c | if (mask & rt->net) |
| rt | 272 | net/tcp/ip.c | if (r->net == rt->net) |
| rt | 276 | net/tcp/ip.c | rt->next = r->next; |
| rt | 277 | net/tcp/ip.c | rt_base = rt; |
| rt | 281 | net/tcp/ip.c | rt->next = r->next; |
| rt | 282 | net/tcp/ip.c | r1->next = rt; |
| rt | 294 | net/tcp/ip.c | rt->next = rt_base; |
| rt | 295 | net/tcp/ip.c | rt_base = rt; |
| rt | 298 | net/tcp/ip.c | rt->next = r; |
| rt | 299 | net/tcp/ip.c | r1->next = rt; |
| rt | 307 | net/tcp/ip.c | rt->next = NULL; |
| rt | 308 | net/tcp/ip.c | r1->next = rt; |
| rt | 314 | net/tcp/ip.c | struct rtable *rt; |
| rt | 332 | net/tcp/ip.c | rt = kmalloc (sizeof (*rt), GFP_KERNEL); |
| rt | 333 | net/tcp/ip.c | if (rt == NULL) return (-ENOMEM); |
| rt | 335 | net/tcp/ip.c | rt->net = ipc.net; |
| rt | 336 | net/tcp/ip.c | rt->dev = dev; |
| rt | 337 | net/tcp/ip.c | rt->router = 0; |
| rt | 338 | net/tcp/ip.c | add_route (rt); |
| rt | 344 | net/tcp/ip.c | rt = kmalloc (sizeof (*rt),GFP_KERNEL); |
| rt | 345 | net/tcp/ip.c | if (rt == NULL) return (-ENOMEM); |
| rt | 346 | net/tcp/ip.c | rt->net = 0; |
| rt | 347 | net/tcp/ip.c | rt->dev = dev; |
| rt | 348 | net/tcp/ip.c | rt->router = ipc.router; |
| rt | 349 | net/tcp/ip.c | add_route (rt); |
| rt | 354 | net/tcp/ip.c | rt = kmalloc (sizeof (*rt), GFP_KERNEL); |
| rt | 355 | net/tcp/ip.c | if (rt == NULL) return (-ENOMEM); |
| rt | 356 | net/tcp/ip.c | rt->net = ipc.paddr; |
| rt | 357 | net/tcp/ip.c | rt->dev = dev; |
| rt | 358 | net/tcp/ip.c | rt->router = 0; |
| rt | 359 | net/tcp/ip.c | add_route (rt); |
| rt | 174 | net/tcp/ip.h | void add_route (struct rtable *rt); |