ESP-IDF
l2_ethhdr
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
l2_ethhdr
l2_ethhdr struct
Syntax
Show:
Summary
Declaration
from
wpa.h:32
struct
l2_ethhdr
{
u8
h_dest
[
ETH_ALEN
]
;
u8
h_source
[
ETH_ALEN
]
;
be16
h_proto
;
}
;
Fields
Field
Declared as
l2_ethhdr::h_dest
u8
[
ETH_ALEN
]
l2_ethhdr::h_source
u8
[
ETH_ALEN
]
l2_ethhdr::h_proto
be16
Examples
References
from
examples
Code
Location
Scope
Referrer
struct
l2_ethhdr
{
wpa.h:32
buffer
=
os_malloc
(
*
msg_len
+
sizeof
(
struct
l2_ethhdr
)
)
;
esp_wpas_glue.c:26
wpa_alloc_eapol()
hdr
=
(
struct
ieee802_1x_hdr
*
)
(
(
char
*
)
buffer
+
sizeof
(
struct
l2_ethhdr
)
)
;
esp_wpas_glue.c:33
wpa_alloc_eapol()
buffer
=
buffer
-
sizeof
(
struct
l2_ethhdr
)
;
esp_wpas_glue.c:57
wpa_free_eapol()
void
*
buffer
=
(
void
*
)
(
data
-
sizeof
(
struct
l2_ethhdr
)
)
;
esp_wpas_glue.c:64
wpa_ether_send()
struct
l2_ethhdr
*
eth
=
(
struct
l2_ethhdr
*
)
buffer
;
esp_wpas_glue.c:65
wpa_ether_send()
return
esp_wifi_internal_tx
(
WIFI_IF_STA
,
buffer
,
sizeof
(
struct
l2_ethhdr
)
+
data_len
)
;
esp_wpas_glue.c:71
wpa_ether_send()
void
*
buffer
=
os_malloc
(
data_len
+
sizeof
(
struct
l2_ethhdr
)
)
;
esp_wpas_glue.c:77
hostapd_send_eapol()
struct
l2_ethhdr
*
eth
=
buffer
;
esp_wpas_glue.c:78
hostapd_send_eapol()
memcpy
(
(
char
*
)
buffer
+
sizeof
(
struct
l2_ethhdr
)
,
data
,
data_len
)
;
esp_wpas_glue.c:89
hostapd_send_eapol()
esp_wifi_internal_tx
(
WIFI_IF_AP
,
buffer
,
sizeof
(
struct
l2_ethhdr
)
+
data_len
)
;
esp_wpas_glue.c:90
hostapd_send_eapol()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out