Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/drivers/net/ipvlan/
Dipvlan_core.c395 unsigned char *arp_ptr; in ipvlan_addr_lookup() local
399 arp_ptr = (unsigned char *)(arph + 1); in ipvlan_addr_lookup()
401 arp_ptr += (2 * port->dev->addr_len) + 4; in ipvlan_addr_lookup()
403 arp_ptr += port->dev->addr_len; in ipvlan_addr_lookup()
405 memcpy(&dip, arp_ptr, 4); in ipvlan_addr_lookup()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c2020 unsigned char *arp_ptr; in cxgb3_arp_process() local
2033 arp_ptr = (unsigned char *)(arp + 1); in cxgb3_arp_process()
2034 sha = arp_ptr; in cxgb3_arp_process()
2035 arp_ptr += dev->addr_len; in cxgb3_arp_process()
2036 memcpy(&sip, arp_ptr, sizeof(sip)); in cxgb3_arp_process()
2037 arp_ptr += sizeof(sip); in cxgb3_arp_process()
2038 arp_ptr += dev->addr_len; in cxgb3_arp_process()
2039 memcpy(&tip, arp_ptr, sizeof(tip)); in cxgb3_arp_process()
/Linux-v5.4/drivers/net/bonding/
Dbond_main.c2544 unsigned char *arp_ptr; in bond_arp_rcv() local
2579 arp_ptr = (unsigned char *)(arp + 1); in bond_arp_rcv()
2580 arp_ptr += bond->dev->addr_len; in bond_arp_rcv()
2581 memcpy(&sip, arp_ptr, 4); in bond_arp_rcv()
2582 arp_ptr += 4 + bond->dev->addr_len; in bond_arp_rcv()
2583 memcpy(&tip, arp_ptr, 4); in bond_arp_rcv()