Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_lte.c108 struct arpdata *arp_data_out; in gdm_lte_emulate_arp() local
135 arp_data_out = (struct arpdata *)(arp_temp + sizeof(struct arphdr)); in gdm_lte_emulate_arp()
142 arp_data_out->ar_sha[0] = arp_data_in->ar_sha[0]; in gdm_lte_emulate_arp()
143 arp_data_out->ar_sha[1] = arp_data_in->ar_sha[1]; in gdm_lte_emulate_arp()
144 memcpy(&arp_data_out->ar_sha[2], &arp_data_in->ar_tip[0], 4); in gdm_lte_emulate_arp()
145 memcpy(&arp_data_out->ar_sip[0], &arp_data_in->ar_tip[0], 4); in gdm_lte_emulate_arp()
146 memcpy(&arp_data_out->ar_tha[0], &arp_data_in->ar_sha[0], 6); in gdm_lte_emulate_arp()
147 memcpy(&arp_data_out->ar_tip[0], &arp_data_in->ar_sip[0], 4); in gdm_lte_emulate_arp()
162 skb_put_data(skb_out, arp_data_out, sizeof(struct arpdata)); in gdm_lte_emulate_arp()