Home
last modified time | relevance | path

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

/external/dhcpcd/
Darp.c50 uint8_t arp_buffer[ARP_LEN]; in send_arp() local
61 memcpy(arp_buffer, &ar, sizeof(ar)); in send_arp()
62 p = arp_buffer + sizeof(ar); in send_arp()
73 len = p - arp_buffer; in send_arp()
74 retval = send_raw_packet(iface, ETHERTYPE_ARP, arp_buffer, len); in send_arp()
108 uint8_t arp_buffer[ARP_LEN]; in handle_arp_packet() local
122 arp_buffer, sizeof(arp_buffer), NULL); in handle_arp_packet()
128 memcpy(&ar, arp_buffer, sizeof(ar)); in handle_arp_packet()
140 hw_s = arp_buffer + sizeof(ar); in handle_arp_packet()
143 if ((hw_t + ar.ar_hln + ar.ar_pln) - arp_buffer > bytes) in handle_arp_packet()