HomeSort by relevance Sort by last modified time
    Searched defs:ethhdr (Results 1 - 21 of 21) sorted by null

  /development/ndk/platforms/android-3/include/linux/
if_ether.h 75 struct ethhdr { struct
  /external/wpa_supplicant/
l2_packet_freebsd.c 80 struct l2_ethhdr *ethhdr; local
86 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
89 ethhdr = (struct l2_ethhdr *) packet;
91 buf = (unsigned char *) ethhdr;
94 buf = (unsigned char *) (ethhdr + 1);
95 len = hdr.caplen - sizeof(*ethhdr);
97 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
l2_packet_ndis.c 283 struct l2_ethhdr *ethhdr = (struct l2_ethhdr *) l2->rx_buf; local
288 if (l2->l2_hdr || l2->rx_written < sizeof(*ethhdr)) {
289 rx_buf = (u8 *) ethhdr;
292 rx_buf = (u8 *) (ethhdr + 1);
293 rx_len = l2->rx_written - sizeof(*ethhdr);
295 rx_src = ethhdr->h_source;
l2_packet_pcap.c 129 struct l2_ethhdr *ethhdr; local
135 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
138 ethhdr = (struct l2_ethhdr *) packet;
140 buf = (unsigned char *) ethhdr;
143 buf = (unsigned char *) (ethhdr + 1);
144 len = hdr.caplen - sizeof(*ethhdr);
146 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
156 struct l2_ethhdr *ethhdr; local
160 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr))
163 ethhdr = (struct l2_ethhdr *) pkt_data
    [all...]
l2_packet_winpcap.c 112 struct l2_ethhdr *ethhdr; local
114 if (pkt_data == NULL || hdr->caplen < sizeof(*ethhdr))
117 ethhdr = (struct l2_ethhdr *) pkt_data;
119 l2->rx_buf = (u8 *) ethhdr;
122 l2->rx_buf = (u8 *) (ethhdr + 1);
123 l2->rx_len = hdr->caplen - sizeof(*ethhdr);
125 l2->rx_src = ethhdr->h_source;
  /external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
l2_packet_freebsd.c 83 struct l2_ethhdr *ethhdr; local
89 if (packet == NULL || hdr.caplen < sizeof(*ethhdr))
92 ethhdr = (struct l2_ethhdr *) packet;
94 buf = (unsigned char *) ethhdr;
97 buf = (unsigned char *) (ethhdr + 1);
98 len = hdr.caplen - sizeof(*ethhdr);
100 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);