tag | line | file | source code |
apt | 295 | net/tcp/arp.c | struct arp_table *apt; |
apt | 301 | net/tcp/arp.c | for (apt = (struct arp_table *)arp_table[hash]; |
apt | 302 | net/tcp/arp.c | apt != NULL; |
apt | 303 | net/tcp/arp.c | apt = (struct arp_table *)apt->next) |
apt | 305 | net/tcp/arp.c | if (apt->ip == paddr) |
apt | 308 | net/tcp/arp.c | return (apt); |
apt | 319 | net/tcp/arp.c | struct arp_table *apt; |
apt | 328 | net/tcp/arp.c | while ((apt = *lapt) != NULL) { |
apt | 329 | net/tcp/arp.c | if (apt->ip == paddr) |
apt | 331 | net/tcp/arp.c | *lapt = (struct arp_table *) apt->next; |
apt | 332 | net/tcp/arp.c | arp_free(apt, sizeof(*apt)); |
apt | 336 | net/tcp/arp.c | lapt = (struct arp_table **) &apt->next; |
apt | 346 | net/tcp/arp.c | struct arp_table *apt; |
apt | 348 | net/tcp/arp.c | apt = arp_malloc (sizeof (*apt), GFP_ATOMIC); |
apt | 349 | net/tcp/arp.c | if (apt == NULL) return (NULL); |
apt | 352 | net/tcp/arp.c | apt->ip = paddr; |
apt | 353 | net/tcp/arp.c | apt->hlen =hlen; |
apt | 354 | net/tcp/arp.c | memcpy (apt->hard, addr, hlen); |
apt | 355 | net/tcp/arp.c | apt->last_used=timer_seq; |
apt | 357 | net/tcp/arp.c | apt->next = arp_table[hash]; |
apt | 358 | net/tcp/arp.c | arp_table[hash] = apt; |
apt | 360 | net/tcp/arp.c | return (apt); |
apt | 426 | net/tcp/arp.c | struct arp_table *apt; |
apt | 431 | net/tcp/arp.c | apt = create_arp (paddr, NULL, 0); |
apt | 432 | net/tcp/arp.c | if (apt == NULL) return; |
apt | 475 | net/tcp/arp.c | struct arp_table *apt; |
apt | 483 | net/tcp/arp.c | apt = arp_lookup (paddr); |
apt | 484 | net/tcp/arp.c | if (apt != NULL) |
apt | 489 | net/tcp/arp.c | if (!before (apt->last_used, timer_seq+ARP_TIMEOUT) && |
apt | 490 | net/tcp/arp.c | apt->hlen != 0) |
apt | 492 | net/tcp/arp.c | apt->last_used=timer_seq; |
apt | 493 | net/tcp/arp.c | memcpy (haddr, apt->hard, dev->addr_len); |
apt | 517 | net/tcp/arp.c | struct arp_table *apt; |
apt | 519 | net/tcp/arp.c | apt = arp_lookup (addr); |
apt | 520 | net/tcp/arp.c | if (apt != NULL) |
apt | 522 | net/tcp/arp.c | apt->last_used = timer_seq; |
apt | 523 | net/tcp/arp.c | memcpy (apt->hard, haddr , dev->addr_len); |
apt | 576 | net/tcp/arp.c | struct arp_table *apt; |
apt | 581 | net/tcp/arp.c | apt = arp_lookup(*(unsigned long *)r.arp_pa.sa_data); |
apt | 582 | net/tcp/arp.c | if (apt) { |
apt | 583 | net/tcp/arp.c | apt->last_used = timer_seq; |
apt | 584 | net/tcp/arp.c | memcpy(apt->hard, r.arp_ha.sa_data , 6); |
apt | 598 | net/tcp/arp.c | struct arp_table *apt; |
apt | 602 | net/tcp/arp.c | apt = arp_lookup(*(unsigned long *)r.arp_pa.sa_data); |
apt | 603 | net/tcp/arp.c | if (apt) { |
apt | 604 | net/tcp/arp.c | memcpy(r.arp_ha.sa_data, apt->hard, apt->hlen); |