tag | line | file | source code |
apt | 259 | net/inet/arp.c | struct arp_table *apt = NULL;/* =NULL otherwise the compiler gives warnings */ |
apt | 268 | net/inet/arp.c | apt=arp_lookup_proxy(dst); |
apt | 269 | net/inet/arp.c | if(apt==NULL) |
apt | 310 | net/inet/arp.c | memcpy(ptr2, apt->ha, arp2->ar_hln); |
apt | 336 | net/inet/arp.c | struct arp_table *apt; |
apt | 350 | net/inet/arp.c | apt = arp_tables[hash]; |
apt | 351 | net/inet/arp.c | while(apt != NULL) { |
apt | 352 | net/inet/arp.c | if (apt->ip == paddr) { |
apt | 354 | net/inet/arp.c | return(apt); |
apt | 356 | net/inet/arp.c | apt = apt->next; |
apt | 366 | net/inet/arp.c | struct arp_table *apt; |
apt | 374 | net/inet/arp.c | apt = arp_tables[hash]; |
apt | 375 | net/inet/arp.c | while(apt != NULL) { |
apt | 376 | net/inet/arp.c | if (apt->ip == paddr && (apt->flags & ATF_PUBL) ) { |
apt | 378 | net/inet/arp.c | return(apt); |
apt | 380 | net/inet/arp.c | apt = apt->next; |
apt | 391 | net/inet/arp.c | struct arp_table *apt; |
apt | 407 | net/inet/arp.c | while ((apt = *lapt) != NULL) { |
apt | 408 | net/inet/arp.c | if (apt->ip == paddr) { |
apt | 409 | net/inet/arp.c | *lapt = apt->next; |
apt | 410 | net/inet/arp.c | if(apt->flags&ATF_PUBL) |
apt | 412 | net/inet/arp.c | kfree_s(apt, sizeof(struct arp_table)); |
apt | 416 | net/inet/arp.c | lapt = &apt->next; |
apt | 426 | net/inet/arp.c | struct arp_table *apt; |
apt | 433 | net/inet/arp.c | apt = (struct arp_table *) kmalloc(sizeof(struct arp_table), GFP_ATOMIC); |
apt | 434 | net/inet/arp.c | if (apt == NULL) { |
apt | 441 | net/inet/arp.c | apt->ip = paddr; |
apt | 442 | net/inet/arp.c | apt->hlen = hlen; |
apt | 443 | net/inet/arp.c | apt->htype = htype; |
apt | 444 | net/inet/arp.c | apt->flags = (ATF_INUSE | ATF_COM); /* USED and COMPLETED entry */ |
apt | 445 | net/inet/arp.c | memcpy(apt->ha, addr, hlen); |
apt | 446 | net/inet/arp.c | apt->last_used = jiffies; |
apt | 448 | net/inet/arp.c | apt->next = arp_tables[hash]; |
apt | 449 | net/inet/arp.c | arp_tables[hash] = apt; |
apt | 451 | net/inet/arp.c | return(apt); |
apt | 635 | net/inet/arp.c | struct arp_table *apt; |
apt | 650 | net/inet/arp.c | apt = arp_lookup(paddr); |
apt | 651 | net/inet/arp.c | if (apt != NULL) { |
apt | 657 | net/inet/arp.c | if ((!(apt->flags & ATF_PERM)) || |
apt | 658 | net/inet/arp.c | (!before(apt->last_used, jiffies+ARP_TIMEOUT) && apt->hlen != 0)) { |
apt | 659 | net/inet/arp.c | apt->last_used = jiffies; |
apt | 660 | net/inet/arp.c | memcpy(haddr, apt->ha, dev->addr_len); |
apt | 664 | net/inet/arp.c | in_ntoa(apt->ip))); |
apt | 686 | net/inet/arp.c | struct arp_table *apt; |
apt | 699 | net/inet/arp.c | apt = arp_lookup(addr); |
apt | 700 | net/inet/arp.c | if (apt != NULL) { |
apt | 702 | net/inet/arp.c | apt->last_used = jiffies; |
apt | 703 | net/inet/arp.c | memcpy(apt->ha, haddr , dev->addr_len); |
apt | 714 | net/inet/arp.c | struct arp_table *apt; |
apt | 717 | net/inet/arp.c | apt = arp_lookup(addr); |
apt | 718 | net/inet/arp.c | if (apt != NULL) { |
apt | 719 | net/inet/arp.c | apt->flags |= ATF_PERM; |
apt | 761 | net/inet/arp.c | struct arp_table *apt; |
apt | 770 | net/inet/arp.c | apt = arp_tables[i]; |
apt | 772 | net/inet/arp.c | while (apt != NULL) { |
apt | 777 | net/inet/arp.c | memcpy((char *) req->arp_pa.sa_data, (char *) &apt->ip, 4); |
apt | 778 | net/inet/arp.c | req->arp_ha.sa_family = apt->htype; |
apt | 780 | net/inet/arp.c | (char *) &apt->ha, apt->hlen); |
apt | 784 | net/inet/arp.c | apt = apt->next; |
apt | 797 | net/inet/arp.c | struct arp_table *apt; |
apt | 826 | net/inet/arp.c | apt = arp_lookup(si->sin_addr.s_addr); |
apt | 827 | net/inet/arp.c | if (apt == NULL) { |
apt | 828 | net/inet/arp.c | apt = arp_create(si->sin_addr.s_addr, |
apt | 830 | net/inet/arp.c | if (apt == NULL) return(-ENOMEM); |
apt | 834 | net/inet/arp.c | memcpy((char *) &apt->ha, (char *) &r.arp_ha.sa_data, hlen); |
apt | 835 | net/inet/arp.c | apt->last_used = jiffies; |
apt | 836 | net/inet/arp.c | apt->flags = r.arp_flags; |
apt | 837 | net/inet/arp.c | if(apt->flags&ATF_PUBL) |
apt | 849 | net/inet/arp.c | struct arp_table *apt; |
apt | 858 | net/inet/arp.c | apt = arp_lookup(si->sin_addr.s_addr); |
apt | 859 | net/inet/arp.c | if (apt == NULL) return(-ENXIO); |
apt | 862 | net/inet/arp.c | memcpy((char *) r.arp_ha.sa_data, (char *) &apt->ha, apt->hlen); |
apt | 863 | net/inet/arp.c | r.arp_ha.sa_family = apt->htype; |