Home
last modified time | relevance | path

Searched refs:arp_ptr (Results 1 – 1 of 1) sorted by relevance

/net/ipv4/
Darp.c529 unsigned char *arp_ptr; in arp_create() local
599 arp_ptr = (unsigned char *)(arp + 1); in arp_create()
601 memcpy(arp_ptr, src_hw, dev->addr_len); in arp_create()
602 arp_ptr += dev->addr_len; in arp_create()
603 memcpy(arp_ptr, &src_ip, 4); in arp_create()
604 arp_ptr += 4; in arp_create()
613 memcpy(arp_ptr, target_hw, dev->addr_len); in arp_create()
615 memset(arp_ptr, 0, dev->addr_len); in arp_create()
616 arp_ptr += dev->addr_len; in arp_create()
618 memcpy(arp_ptr, &dest_ip, 4); in arp_create()
[all …]