Home
last modified time | relevance | path

Searched refs:l2_packet_data (Results 1 – 25 of 41) sorted by relevance

12

/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_none.c24 struct l2_packet_data { struct
36 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
43 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
60 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
73 struct l2_packet_data * l2_packet_init( in l2_packet_init()
79 struct l2_packet_data *l2; in l2_packet_init()
81 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
99 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
113 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
120 void l2_packet_notify_auth_start(struct l2_packet_data *l2) in l2_packet_notify_auth_start()
Dl2_packet.h32 struct l2_packet_data;
65 struct l2_packet_data * l2_packet_init(
75 void l2_packet_deinit(struct l2_packet_data *l2);
83 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr);
97 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto,
114 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len);
128 void l2_packet_notify_auth_start(struct l2_packet_data *l2);
Dl2_packet_pcap.c32 struct l2_packet_data { struct
49 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
57 static int l2_packet_init_libdnet(struct l2_packet_data *l2) in l2_packet_init_libdnet()
83 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
125 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
155 struct l2_packet_data *l2 = (struct l2_packet_data *) user; in l2_packet_receive_cb()
182 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive_timeout()
202 static int l2_packet_init_libpcap(struct l2_packet_data *l2, in l2_packet_init_libpcap()
284 struct l2_packet_data * l2_packet_init( in l2_packet_init()
290 struct l2_packet_data *l2; in l2_packet_init()
[all …]
Dl2_packet_winpcap.c53 struct l2_packet_data { struct
71 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
78 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
111 struct l2_packet_data *l2 = (struct l2_packet_data *) user; in l2_packet_receive_cb()
136 struct l2_packet_data *l2 = arg; in l2_packet_receive_thread()
159 struct l2_packet_data *l2 = eloop_data; in l2_packet_rx_event()
167 static int l2_packet_init_libpcap(struct l2_packet_data *l2, in l2_packet_init_libpcap()
204 struct l2_packet_data * l2_packet_init( in l2_packet_init()
210 struct l2_packet_data *l2; in l2_packet_init()
213 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
[all …]
Dl2_packet_ndis.c57 struct l2_packet_data;
62 struct l2_packet_data *l2[2];
73 struct l2_packet_data { struct
90 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
97 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
163 static void l2_packet_callback(struct l2_packet_data *l2);
166 static void l2_packet_rx_thread_try_read(struct l2_packet_data *l2) in l2_packet_rx_thread_try_read()
204 struct l2_packet_data *l2 = arg; in l2_packet_rx_thread()
256 static int l2_ndisuio_start_read(struct l2_packet_data *l2, int recursive) in l2_ndisuio_start_read()
285 static void l2_packet_callback(struct l2_packet_data *l2) in l2_packet_callback()
[all …]
Dl2_packet_linux.c25 struct l2_packet_data { struct
38 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
45 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
77 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
97 struct l2_packet_data * l2_packet_init( in l2_packet_init()
103 struct l2_packet_data *l2; in l2_packet_init()
107 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
161 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
175 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
208 void l2_packet_notify_auth_start(struct l2_packet_data *l2) in l2_packet_notify_auth_start()
Dl2_packet_privsep.c24 struct l2_packet_data { struct
35 static int wpa_priv_cmd(struct l2_packet_data *l2, int cmd, in wpa_priv_cmd() argument
61 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr()
68 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
101 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
132 struct l2_packet_data * l2_packet_init( in l2_packet_init()
138 struct l2_packet_data *l2; in l2_packet_init()
150 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
237 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
257 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
[all …]
Dl2_packet_freebsd.c42 struct l2_packet_data { struct
54 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
61 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
83 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
108 static int l2_packet_init_libpcap(struct l2_packet_data *l2, in l2_packet_init_libpcap()
233 struct l2_packet_data * l2_packet_init( in l2_packet_init()
239 struct l2_packet_data *l2; in l2_packet_init()
241 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
265 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
278 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
[all …]
/external/wpa_supplicant/
Dl2_packet_none.c24 struct l2_packet_data { struct
36 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
43 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
60 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
73 struct l2_packet_data * l2_packet_init( in l2_packet_init()
79 struct l2_packet_data *l2; in l2_packet_init()
81 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
99 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
113 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
120 void l2_packet_notify_auth_start(struct l2_packet_data *l2) in l2_packet_notify_auth_start()
Dl2_packet.h43 struct l2_packet_data;
76 struct l2_packet_data * l2_packet_init(
86 void l2_packet_deinit(struct l2_packet_data *l2);
94 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr);
108 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto,
125 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len);
139 void l2_packet_notify_auth_start(struct l2_packet_data *l2);
Dl2_packet_pcap.c32 struct l2_packet_data { struct
49 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
57 static int l2_packet_init_libdnet(struct l2_packet_data *l2) in l2_packet_init_libdnet()
83 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
125 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
155 struct l2_packet_data *l2 = (struct l2_packet_data *) user; in l2_packet_receive_cb()
182 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive_timeout()
202 static int l2_packet_init_libpcap(struct l2_packet_data *l2, in l2_packet_init_libpcap()
284 struct l2_packet_data * l2_packet_init( in l2_packet_init()
290 struct l2_packet_data *l2; in l2_packet_init()
[all …]
Dl2_packet_winpcap.c53 struct l2_packet_data { struct
71 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
78 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
111 struct l2_packet_data *l2 = (struct l2_packet_data *) user; in l2_packet_receive_cb()
136 struct l2_packet_data *l2 = arg; in l2_packet_receive_thread()
159 struct l2_packet_data *l2 = eloop_data; in l2_packet_rx_event()
167 static int l2_packet_init_libpcap(struct l2_packet_data *l2, in l2_packet_init_libpcap()
204 struct l2_packet_data * l2_packet_init( in l2_packet_init()
210 struct l2_packet_data *l2; in l2_packet_init()
213 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
[all …]
Dl2_packet_ndis.c57 struct l2_packet_data;
62 struct l2_packet_data *l2[2];
73 struct l2_packet_data { struct
90 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
97 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
157 static void l2_packet_callback(struct l2_packet_data *l2);
160 static void l2_packet_rx_thread_try_read(struct l2_packet_data *l2) in l2_packet_rx_thread_try_read()
198 struct l2_packet_data *l2 = arg; in l2_packet_rx_thread()
250 static int l2_ndisuio_start_read(struct l2_packet_data *l2, int recursive) in l2_ndisuio_start_read()
279 static void l2_packet_callback(struct l2_packet_data *l2) in l2_packet_callback()
[all …]
Dl2_packet_linux.c25 struct l2_packet_data { struct
38 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
45 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
74 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
93 struct l2_packet_data * l2_packet_init( in l2_packet_init()
99 struct l2_packet_data *l2; in l2_packet_init()
103 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
152 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
166 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
194 void l2_packet_notify_auth_start(struct l2_packet_data *l2) in l2_packet_notify_auth_start()
Dl2_packet_freebsd.c35 struct l2_packet_data { struct
47 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
54 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
76 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
101 static int l2_packet_init_libpcap(struct l2_packet_data *l2, in l2_packet_init_libpcap()
199 struct l2_packet_data * l2_packet_init( in l2_packet_init()
205 struct l2_packet_data *l2; in l2_packet_init()
207 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
231 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
244 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
[all …]
Dwpa_i.h96 struct l2_packet_data *l2_preauth;
97 struct l2_packet_data *l2_preauth_br;
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
Dl2_packet_none.c24 struct l2_packet_data { struct
36 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
43 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
60 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
73 struct l2_packet_data * l2_packet_init( in l2_packet_init()
79 struct l2_packet_data *l2; in l2_packet_init()
81 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
99 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
113 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
120 void l2_packet_notify_auth_start(struct l2_packet_data *l2) in l2_packet_notify_auth_start()
Dl2_packet.h32 struct l2_packet_data;
65 struct l2_packet_data * l2_packet_init(
75 void l2_packet_deinit(struct l2_packet_data *l2);
83 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr);
97 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto,
114 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len);
128 void l2_packet_notify_auth_start(struct l2_packet_data *l2);
Dl2_packet_pcap.c32 struct l2_packet_data { struct
49 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
57 static int l2_packet_init_libdnet(struct l2_packet_data *l2) in l2_packet_init_libdnet()
83 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
125 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
155 struct l2_packet_data *l2 = (struct l2_packet_data *) user; in l2_packet_receive_cb()
182 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive_timeout()
202 static int l2_packet_init_libpcap(struct l2_packet_data *l2, in l2_packet_init_libpcap()
284 struct l2_packet_data * l2_packet_init( in l2_packet_init()
290 struct l2_packet_data *l2; in l2_packet_init()
[all …]
Dl2_packet_winpcap.c53 struct l2_packet_data { struct
71 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
78 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
111 struct l2_packet_data *l2 = (struct l2_packet_data *) user; in l2_packet_receive_cb()
136 struct l2_packet_data *l2 = arg; in l2_packet_receive_thread()
159 struct l2_packet_data *l2 = eloop_data; in l2_packet_rx_event()
167 static int l2_packet_init_libpcap(struct l2_packet_data *l2, in l2_packet_init_libpcap()
204 struct l2_packet_data * l2_packet_init( in l2_packet_init()
210 struct l2_packet_data *l2; in l2_packet_init()
213 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
[all …]
Dl2_packet_ndis.c57 struct l2_packet_data;
62 struct l2_packet_data *l2[2];
73 struct l2_packet_data { struct
90 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
97 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
157 static void l2_packet_callback(struct l2_packet_data *l2);
160 static void l2_packet_rx_thread_try_read(struct l2_packet_data *l2) in l2_packet_rx_thread_try_read()
198 struct l2_packet_data *l2 = arg; in l2_packet_rx_thread()
250 static int l2_ndisuio_start_read(struct l2_packet_data *l2, int recursive) in l2_ndisuio_start_read()
279 static void l2_packet_callback(struct l2_packet_data *l2) in l2_packet_callback()
[all …]
Dl2_packet_linux.c25 struct l2_packet_data { struct
38 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
45 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
74 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
93 struct l2_packet_data * l2_packet_init( in l2_packet_init()
99 struct l2_packet_data *l2; in l2_packet_init()
103 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
153 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
167 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
198 void l2_packet_notify_auth_start(struct l2_packet_data *l2) in l2_packet_notify_auth_start()
Dl2_packet_privsep.c24 struct l2_packet_data { struct
35 static int wpa_priv_cmd(struct l2_packet_data *l2, int cmd, in wpa_priv_cmd() argument
61 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr()
68 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
101 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
132 struct l2_packet_data * l2_packet_init( in l2_packet_init()
138 struct l2_packet_data *l2; in l2_packet_init()
150 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
237 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
257 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
[all …]
Dl2_packet_freebsd.c38 struct l2_packet_data { struct
50 int l2_packet_get_own_addr(struct l2_packet_data *l2, u8 *addr) in l2_packet_get_own_addr() argument
57 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto, in l2_packet_send()
79 struct l2_packet_data *l2 = eloop_ctx; in l2_packet_receive()
104 static int l2_packet_init_libpcap(struct l2_packet_data *l2, in l2_packet_init_libpcap()
202 struct l2_packet_data * l2_packet_init( in l2_packet_init()
208 struct l2_packet_data *l2; in l2_packet_init()
210 l2 = os_zalloc(sizeof(struct l2_packet_data)); in l2_packet_init()
234 void l2_packet_deinit(struct l2_packet_data *l2) in l2_packet_deinit()
247 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
[all …]
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_i.h45 struct l2_packet_data *l2_preauth;
46 struct l2_packet_data *l2_preauth_br;
47 struct l2_packet_data *l2_tdls;

12