Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
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 …]
/linux-6.1.9/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-6.1.9/drivers/staging/r8188eu/core/
Drtw_br_ext.c410 unsigned char *arp_ptr = (unsigned char *)(arp + 1); in nat25_db_handle() local
421 memcpy(arp_ptr, GET_MY_HWADDR(priv), ETH_ALEN); in nat25_db_handle()
422 arp_ptr += arp->ar_hln; in nat25_db_handle()
423 sender = (unsigned int *)arp_ptr; in nat25_db_handle()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c2030 unsigned char *arp_ptr; in cxgb3_arp_process() local
2043 arp_ptr = (unsigned char *)(arp + 1); in cxgb3_arp_process()
2044 sha = arp_ptr; in cxgb3_arp_process()
2045 arp_ptr += dev->addr_len; in cxgb3_arp_process()
2046 memcpy(&sip, arp_ptr, sizeof(sip)); in cxgb3_arp_process()
2047 arp_ptr += sizeof(sip); in cxgb3_arp_process()
2048 arp_ptr += dev->addr_len; in cxgb3_arp_process()
2049 memcpy(&tip, arp_ptr, sizeof(tip)); in cxgb3_arp_process()
/linux-6.1.9/drivers/net/bonding/
Dbond_main.c3028 unsigned char *arp_ptr; in bond_arp_rcv() local
3050 arp_ptr = (unsigned char *)(arp + 1); in bond_arp_rcv()
3051 arp_ptr += bond->dev->addr_len; in bond_arp_rcv()
3052 memcpy(&sip, arp_ptr, 4); in bond_arp_rcv()
3053 arp_ptr += 4 + bond->dev->addr_len; in bond_arp_rcv()
3054 memcpy(&tip, arp_ptr, 4); in bond_arp_rcv()