Searched refs:ethhdr (Results 1 - 7 of 7) sorted by relevance
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | preauth_auth.c | 48 struct l2_ethhdr *ethhdr; local 52 if (len < sizeof(*ethhdr) + sizeof(*hdr)) { 58 ethhdr = (struct l2_ethhdr *) buf; 59 hdr = (struct ieee802_1x_hdr *) (ethhdr + 1); 61 if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { 63 MACSTR, MAC2STR(ethhdr->h_dest)); 67 sta = ap_get_sta(hapd, ethhdr->h_source); 74 sta = ap_sta_add(hapd, ethhdr->h_source); 92 ieee802_1x_receive(hapd, ethhdr->h_source, (u8 *) (ethhdr 235 struct l2_ethhdr *ethhdr; local [all...] |
H A D | eth_p_oui.c | 55 const struct l2_ethhdr *ethhdr; local 57 if (len < sizeof(*ethhdr) + sizeof(global_oui) + 1) { 62 ethhdr = (struct l2_ethhdr *) buf; 64 buf += sizeof(*ethhdr); 65 len -= sizeof(*ethhdr); 78 eth_p_oui_deliver(receiver, ethhdr->h_source, ethhdr->h_dest, 168 struct l2_ethhdr *ethhdr; local 170 packet_len = sizeof(*ethhdr) + sizeof(global_oui) + 1 + len; 176 ethhdr [all...] |
H A D | wpa_auth_glue.c | 1170 struct l2_ethhdr *ethhdr; local 1171 if (len < sizeof(*ethhdr)) 1173 ethhdr = (struct l2_ethhdr *) buf; 1175 MACSTR, MAC2STR(ethhdr->h_source), MAC2STR(ethhdr->h_dest)); 1176 if (!is_multicast_ether_addr(ethhdr->h_dest) && 1177 os_memcmp(hapd->own_addr, ethhdr->h_dest, ETH_ALEN) != 0) 1179 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), 1180 len - sizeof(*ethhdr)); [all...] |
/freebsd-11-stable/contrib/wpa/src/l2_packet/ |
H A D | l2_packet_freebsd.c | 81 struct l2_ethhdr *ethhdr; local 87 if (packet == NULL || hdr.caplen < sizeof(*ethhdr)) 90 ethhdr = (struct l2_ethhdr *) packet; 92 buf = (unsigned char *) ethhdr; 95 buf = (unsigned char *) (ethhdr + 1); 96 len = hdr.caplen - sizeof(*ethhdr); 98 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
|
H A D | 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;
|
/freebsd-11-stable/sys/dev/usb/net/ |
H A D | if_usievar.h | 193 struct ether_header ethhdr; member in struct:usie_desc
|
H A D | if_usie.c | 876 switch (be16toh(rxd->ethhdr.ether_type)) {
|
Completed in 157 milliseconds