Home
last modified time | relevance | path

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

/external/avahi/avahi-autoipd/
Dmain.c119 typedef struct ArpPacket { struct
122 } ArpPacket; argument
286 static ArpPacket* packet_new(size_t packet_len) { in packet_new()
287 ArpPacket *p; in packet_new()
293 b = avahi_new0(uint8_t, sizeof(struct ArpPacket) + packet_len); in packet_new()
294 p = (ArpPacket*) b; in packet_new()
296 p->ether_payload = b + sizeof(struct ArpPacket); in packet_new()
299 b = avahi_new0(uint8_t, sizeof(struct ArpPacket) + ETHER_HDR_SIZE + packet_len); in packet_new()
300 p = (ArpPacket*) b; in packet_new()
301 p->ether_header = b + sizeof(struct ArpPacket); in packet_new()
[all …]