taglinefilesource code
apt259net/inet/arp.cstruct arp_table *apt = NULL;/* =NULL otherwise the compiler gives warnings */
apt268net/inet/arp.capt=arp_lookup_proxy(dst);
apt269net/inet/arp.cif(apt==NULL)
apt310net/inet/arp.cmemcpy(ptr2, apt->ha, arp2->ar_hln);
apt336net/inet/arp.cstruct arp_table *apt;
apt350net/inet/arp.capt = arp_tables[hash];
apt351net/inet/arp.cwhile(apt != NULL) {
apt352net/inet/arp.cif (apt->ip == paddr) {
apt354net/inet/arp.creturn(apt);
apt356net/inet/arp.capt = apt->next;
apt366net/inet/arp.cstruct arp_table *apt;
apt374net/inet/arp.capt = arp_tables[hash];
apt375net/inet/arp.cwhile(apt != NULL) {
apt376net/inet/arp.cif (apt->ip == paddr && (apt->flags & ATF_PUBL) ) {
apt378net/inet/arp.creturn(apt);
apt380net/inet/arp.capt = apt->next;
apt391net/inet/arp.cstruct arp_table *apt;
apt407net/inet/arp.cwhile ((apt = *lapt) != NULL) {
apt408net/inet/arp.cif (apt->ip == paddr) {
apt409net/inet/arp.c*lapt = apt->next;
apt410net/inet/arp.cif(apt->flags&ATF_PUBL)
apt412net/inet/arp.ckfree_s(apt, sizeof(struct arp_table));
apt416net/inet/arp.clapt = &apt->next;
apt426net/inet/arp.cstruct arp_table *apt;
apt433net/inet/arp.capt = (struct arp_table *) kmalloc(sizeof(struct arp_table), GFP_ATOMIC);
apt434net/inet/arp.cif (apt == NULL) {
apt441net/inet/arp.capt->ip = paddr;
apt442net/inet/arp.capt->hlen = hlen;
apt443net/inet/arp.capt->htype = htype;
apt444net/inet/arp.capt->flags = (ATF_INUSE | ATF_COM);    /* USED and COMPLETED entry */
apt445net/inet/arp.cmemcpy(apt->ha, addr, hlen);
apt446net/inet/arp.capt->last_used = jiffies;
apt448net/inet/arp.capt->next = arp_tables[hash];
apt449net/inet/arp.carp_tables[hash] = apt;
apt451net/inet/arp.creturn(apt);
apt635net/inet/arp.cstruct arp_table *apt;
apt650net/inet/arp.capt = arp_lookup(paddr);
apt651net/inet/arp.cif (apt != NULL) {
apt657net/inet/arp.cif ((!(apt->flags & ATF_PERM)) ||
apt658net/inet/arp.c(!before(apt->last_used, jiffies+ARP_TIMEOUT) && apt->hlen != 0)) {
apt659net/inet/arp.capt->last_used = jiffies;
apt660net/inet/arp.cmemcpy(haddr, apt->ha, dev->addr_len);
apt664net/inet/arp.cin_ntoa(apt->ip)));
apt686net/inet/arp.cstruct arp_table *apt;
apt699net/inet/arp.capt = arp_lookup(addr);
apt700net/inet/arp.cif (apt != NULL) {
apt702net/inet/arp.capt->last_used = jiffies;
apt703net/inet/arp.cmemcpy(apt->ha, haddr , dev->addr_len);
apt714net/inet/arp.cstruct arp_table *apt;
apt717net/inet/arp.capt = arp_lookup(addr);
apt718net/inet/arp.cif (apt != NULL) {
apt719net/inet/arp.capt->flags |= ATF_PERM;
apt761net/inet/arp.cstruct arp_table *apt;
apt770net/inet/arp.capt = arp_tables[i];
apt772net/inet/arp.cwhile (apt != NULL) {
apt777net/inet/arp.cmemcpy((char *) req->arp_pa.sa_data, (char *) &apt->ip, 4);
apt778net/inet/arp.creq->arp_ha.sa_family = apt->htype;
apt780net/inet/arp.c(char *) &apt->ha, apt->hlen);
apt784net/inet/arp.capt = apt->next;
apt797net/inet/arp.cstruct arp_table *apt;
apt826net/inet/arp.capt = arp_lookup(si->sin_addr.s_addr);
apt827net/inet/arp.cif (apt == NULL) {
apt828net/inet/arp.capt = arp_create(si->sin_addr.s_addr,
apt830net/inet/arp.cif (apt == NULL) return(-ENOMEM);
apt834net/inet/arp.cmemcpy((char *) &apt->ha, (char *) &r.arp_ha.sa_data, hlen);
apt835net/inet/arp.capt->last_used = jiffies;
apt836net/inet/arp.capt->flags = r.arp_flags;
apt837net/inet/arp.cif(apt->flags&ATF_PUBL)
apt849net/inet/arp.cstruct arp_table *apt;
apt858net/inet/arp.capt = arp_lookup(si->sin_addr.s_addr);
apt859net/inet/arp.cif (apt == NULL) return(-ENXIO);
apt862net/inet/arp.cmemcpy((char *) r.arp_ha.sa_data, (char *) &apt->ha, apt->hlen);
apt863net/inet/arp.cr.arp_ha.sa_family = apt->htype;