Home | History | Annotate | Download | only in slirp-android

Lines Matching refs:ETH_HLEN

654 #define ETH_HLEN 14
689 struct arphdr *ah = (struct arphdr *)(pkt + ETH_HLEN);
690 uint8_t arp_reply[ETH_HLEN + sizeof(struct arphdr)];
692 struct arphdr *rah = (struct arphdr *)(arp_reply + ETH_HLEN);
750 if (pkt_len < ETH_HLEN)
769 m->m_data += 2 + ETH_HLEN;
770 m->m_len -= 2 + ETH_HLEN;
785 if (ip_data_len + ETH_HLEN > sizeof(buf))
789 uint8_t arp_req[ETH_HLEN + sizeof(struct arphdr)];
791 struct arphdr *rah = (struct arphdr *)(arp_req + ETH_HLEN);
826 slirp_output(buf, ip_data_len + ETH_HLEN);