Home
last modified time | relevance | path

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

/linux-6.12.1/net/ipv4/
Darp.c553 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()
[all …]
/linux-6.12.1/drivers/net/ipvlan/
Dipvlan_core.c397 unsigned char *arp_ptr; in ipvlan_addr_lookup() local
401 arp_ptr = (unsigned char *)(arph + 1); in ipvlan_addr_lookup()
403 arp_ptr += (2 * port->dev->addr_len) + 4; in ipvlan_addr_lookup()
405 arp_ptr += port->dev->addr_len; in ipvlan_addr_lookup()
407 memcpy(&dip, arp_ptr, 4); in ipvlan_addr_lookup()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c2025 unsigned char *arp_ptr; in cxgb3_arp_process() local
2038 arp_ptr = (unsigned char *)(arp + 1); in cxgb3_arp_process()
2039 sha = arp_ptr; in cxgb3_arp_process()
2040 arp_ptr += dev->addr_len; in cxgb3_arp_process()
2041 memcpy(&sip, arp_ptr, sizeof(sip)); in cxgb3_arp_process()
2042 arp_ptr += sizeof(sip); in cxgb3_arp_process()
2043 arp_ptr += dev->addr_len; in cxgb3_arp_process()
2044 memcpy(&tip, arp_ptr, sizeof(tip)); in cxgb3_arp_process()
/linux-6.12.1/drivers/net/bonding/
Dbond_main.c3210 unsigned char *arp_ptr; in bond_arp_rcv() local
3232 arp_ptr = (unsigned char *)(arp + 1); in bond_arp_rcv()
3233 arp_ptr += bond->dev->addr_len; in bond_arp_rcv()
3234 memcpy(&sip, arp_ptr, 4); in bond_arp_rcv()
3235 arp_ptr += 4 + bond->dev->addr_len; in bond_arp_rcv()
3236 memcpy(&tip, arp_ptr, 4); in bond_arp_rcv()