Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > +struct arp_hdr { > + uint16_t htype; > + uint16_t ptype; > + uint8_t hlen; > + uint8_t plen; > + uint16_t oper; > + uint8_t sha[6]; > + uint32_t spa; > + uint8_t tha[6]; > + uint32_t tpa; > +} __attribute__((__packed__)); LGTM, I think hard-coding this for ethernet is fine.