Home
last modified time | relevance | path

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

/linux-3.4.99/net/core/
Dnetpoll.c430 unsigned char *arp_ptr; in arp_reply() local
473 arp_ptr = (unsigned char *)(arp+1); in arp_reply()
475 sha = arp_ptr; in arp_reply()
476 arp_ptr += skb->dev->addr_len; in arp_reply()
477 memcpy(&sip, arp_ptr, 4); in arp_reply()
478 arp_ptr += 4; in arp_reply()
481 arp_ptr += skb->dev->addr_len; in arp_reply()
482 memcpy(&tip, arp_ptr, 4); in arp_reply()
528 arp_ptr = (unsigned char *)(arp + 1); in arp_reply()
529 memcpy(arp_ptr, np->dev->dev_addr, np->dev->addr_len); in arp_reply()
[all …]
/linux-3.4.99/net/ipv4/
Darp.c587 unsigned char *arp_ptr; in arp_create() local
663 arp_ptr = (unsigned char *)(arp + 1); in arp_create()
665 memcpy(arp_ptr, src_hw, dev->addr_len); in arp_create()
666 arp_ptr += dev->addr_len; in arp_create()
667 memcpy(arp_ptr, &src_ip, 4); in arp_create()
668 arp_ptr += 4; in arp_create()
670 memcpy(arp_ptr, target_hw, dev->addr_len); in arp_create()
672 memset(arp_ptr, 0, dev->addr_len); in arp_create()
673 arp_ptr += dev->addr_len; in arp_create()
674 memcpy(arp_ptr, &dest_ip, 4); in arp_create()
[all …]
/linux-3.4.99/drivers/firewire/
Dnet.c539 unsigned char *arp_ptr; in fwnet_finish_incoming_packet() local
549 arp_ptr = (unsigned char *)(arp + 1); in fwnet_finish_incoming_packet()
597 arp_ptr += arp->ar_hln; in fwnet_finish_incoming_packet()
599 put_unaligned(arp1394->sip, (u32 *)arp_ptr); in fwnet_finish_incoming_packet()
601 arp_ptr += arp->ar_pln; in fwnet_finish_incoming_packet()
604 memset(arp_ptr, 0, sizeof(u64)); in fwnet_finish_incoming_packet()
606 memcpy(arp_ptr, net->dev_addr, sizeof(u64)); in fwnet_finish_incoming_packet()
1346 unsigned char *arp_ptr = (unsigned char *)(arp + 1); in fwnet_tx() local
1350 ipaddr = get_unaligned((__be32 *)(arp_ptr + FWNET_ALEN)); in fwnet_tx()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1955 unsigned char *arp_ptr; in cxgb3_arp_process() local
1968 arp_ptr = (unsigned char *)(arp + 1); in cxgb3_arp_process()
1969 sha = arp_ptr; in cxgb3_arp_process()
1970 arp_ptr += dev->addr_len; in cxgb3_arp_process()
1971 memcpy(&sip, arp_ptr, sizeof(sip)); in cxgb3_arp_process()
1972 arp_ptr += sizeof(sip); in cxgb3_arp_process()
1973 arp_ptr += dev->addr_len; in cxgb3_arp_process()
1974 memcpy(&tip, arp_ptr, sizeof(tip)); in cxgb3_arp_process()
/linux-3.4.99/drivers/net/bonding/
Dbond_main.c2748 unsigned char *arp_ptr; in bond_arp_rcv() local
2771 arp_ptr = (unsigned char *)(arp + 1); in bond_arp_rcv()
2772 arp_ptr += bond->dev->addr_len; in bond_arp_rcv()
2773 memcpy(&sip, arp_ptr, 4); in bond_arp_rcv()
2774 arp_ptr += 4 + bond->dev->addr_len; in bond_arp_rcv()
2775 memcpy(&tip, arp_ptr, 4); in bond_arp_rcv()