Lines Matching refs:arp_ptr
553 unsigned char *arp_ptr; in arp_create() local
623 arp_ptr = (unsigned char *)(arp + 1); in arp_create()
625 memcpy(arp_ptr, src_hw, dev->addr_len); in arp_create()
626 arp_ptr += dev->addr_len; in arp_create()
627 memcpy(arp_ptr, &src_ip, 4); in arp_create()
628 arp_ptr += 4; in arp_create()
637 memcpy(arp_ptr, target_hw, dev->addr_len); in arp_create()
639 memset(arp_ptr, 0, dev->addr_len); in arp_create()
640 arp_ptr += dev->addr_len; in arp_create()
642 memcpy(arp_ptr, &dest_ip, 4); in arp_create()
704 unsigned char *arp_ptr; in arp_process() local
768 arp_ptr = (unsigned char *)(arp + 1); in arp_process()
769 sha = arp_ptr; in arp_process()
770 arp_ptr += dev->addr_len; in arp_process()
771 memcpy(&sip, arp_ptr, 4); in arp_process()
772 arp_ptr += 4; in arp_process()
779 tha = arp_ptr; in arp_process()
780 arp_ptr += dev->addr_len; in arp_process()
782 memcpy(&tip, arp_ptr, 4); in arp_process()