Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Darp.c552 unsigned char *arp_ptr; in arp_create() local
622 arp_ptr = (unsigned char *)(arp + 1); in arp_create()
624 memcpy(arp_ptr, src_hw, dev->addr_len); in arp_create()
625 arp_ptr += dev->addr_len; in arp_create()
626 memcpy(arp_ptr, &src_ip, 4); in arp_create()
627 arp_ptr += 4; in arp_create()
636 memcpy(arp_ptr, target_hw, dev->addr_len); in arp_create()
638 memset(arp_ptr, 0, dev->addr_len); in arp_create()
639 arp_ptr += dev->addr_len; in arp_create()
641 memcpy(arp_ptr, &dest_ip, 4); in arp_create()
[all …]
/openbmc/linux/drivers/net/ipvlan/
H A 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A 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()
/openbmc/linux/drivers/net/bonding/
H A Dbond_main.c3135 unsigned char *arp_ptr; in bond_arp_rcv() local
3157 arp_ptr = (unsigned char *)(arp + 1); in bond_arp_rcv()
3158 arp_ptr += bond->dev->addr_len; in bond_arp_rcv()
3159 memcpy(&sip, arp_ptr, 4); in bond_arp_rcv()
3160 arp_ptr += 4 + bond->dev->addr_len; in bond_arp_rcv()
3161 memcpy(&tip, arp_ptr, 4); in bond_arp_rcv()