OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ethhdr
(Results
1 - 7
of
7
) sorted by relevancy
/src/external/bsd/wpa/dist/src/ap/
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
= (struct l2_ethhdr *) packet
[
all
...]
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 (!ether_addr_equal(
ethhdr
->h_dest, hapd->own_addr)) {
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
+ 1)
235
struct l2_
ethhdr
*
ethhdr
;
local
[
all
...]
wpa_auth_glue.c
1414
struct l2_ethhdr *
ethhdr
;
local
1415
if (len < sizeof(*
ethhdr
))
1417
ethhdr
= (struct l2_ethhdr *) buf;
1419
MACSTR, MAC2STR(
ethhdr
->h_source), MAC2STR(
ethhdr
->h_dest));
1420
if (!is_multicast_ether_addr(
ethhdr
->h_dest) &&
1421
!ether_addr_equal(hapd->own_addr,
ethhdr
->h_dest))
1423
wpa_ft_rrb_rx(hapd->wpa_auth,
ethhdr
->h_source, buf + sizeof(*
ethhdr
),
1424
len - sizeof(*
ethhdr
));
[
all
...]
/src/external/bsd/wpa/dist/src/l2_packet/
l2_packet_freebsd.c
87
struct l2_ethhdr *
ethhdr
;
local
93
if (!l2->rx_callback || !packet || hdr.caplen < sizeof(*
ethhdr
))
96
ethhdr
= (struct l2_ethhdr *) packet;
98
buf = (unsigned char *)
ethhdr
;
101
buf = (unsigned char *) (
ethhdr
+ 1);
102
len = hdr.caplen - sizeof(*
ethhdr
);
106
ethhdr
->h_proto == htons(ETH_P_8021Q)) {
111
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
124
struct l2_ethhdr *
ethhdr
;
local
130
if (!l2->rx_callback || !packet || hdr.caplen < sizeof(*
ethhdr
))
133
ethhdr
= (struct l2_ethhdr *) packet;
135
buf = (unsigned char *)
ethhdr
;
138
buf = (unsigned char *) (
ethhdr
+ 1);
139
len = hdr.caplen - sizeof(*
ethhdr
);
141
l2->rx_callback(l2->rx_callback_ctx,
ethhdr
->h_source, buf, len);
151
struct l2_ethhdr *
ethhdr
;
local
155
if (!l2->rx_callback || !pkt_data || hdr->caplen < sizeof(*
ethhdr
))
158
ethhdr
= (struct l2_ethhdr *) pkt_data
[
all
...]
l2_packet_winpcap.c
106
struct l2_ethhdr *
ethhdr
;
local
108
if (pkt_data == NULL || hdr->caplen < sizeof(*
ethhdr
))
111
ethhdr
= (struct l2_ethhdr *) pkt_data;
113
l2->rx_buf = (u8 *)
ethhdr
;
116
l2->rx_buf = (u8 *) (
ethhdr
+ 1);
117
l2->rx_len = hdr->caplen - sizeof(*
ethhdr
);
119
l2->rx_src =
ethhdr
->h_source;
Completed in 25 milliseconds
Indexes created Fri Sep 04 00:26:01 UTC 2026