Home
last modified time | relevance | path

Searched refs:rx_callback (Results 1 – 23 of 23) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
Dl2_packet_none.c21 void (*rx_callback)(void *ctx, const u8 *src_addr, member
62 l2->rx_callback(l2->rx_callback_ctx, NULL /* TODO: src addr */, in l2_packet_receive()
69 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
79 l2->rx_callback = rx_callback; in l2_packet_init()
87 if (rx_callback && l2->fd >= 0) in l2_packet_init()
97 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
101 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_rtos.c20 void (*rx_callback)(void *ctx, const u8 *src_addr, member
71 if (l2->rx_callback != NULL) { in l2_packet_receive()
73 l2->rx_callback(l2->rx_callback_ctx, puc_src, st_rx_eapol.buf, st_rx_eapol.len); in l2_packet_receive()
89 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
108 l2->rx_callback = rx_callback; in l2_packet_init()
124 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
129 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_pcap.c35 void (*rx_callback)(void *ctx, const u8 *src_addr, member
130 if (!l2->rx_callback || !packet || hdr.caplen < sizeof(*ethhdr)) in l2_packet_receive()
141 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); in l2_packet_receive()
155 if (!l2->rx_callback || !pkt_data || hdr->caplen < sizeof(*ethhdr)) in l2_packet_receive_cb()
166 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); in l2_packet_receive_cb()
281 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
291 l2->rx_callback = rx_callback; in l2_packet_init()
318 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
322 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_privsep.c20 void (*rx_callback)(void *ctx, const u8 *src_addr, member
123 l2->rx_callback(l2->rx_callback_ctx, buf, buf + ETH_ALEN, in l2_packet_receive()
130 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
149 l2->rx_callback = rx_callback; in l2_packet_init()
219 if (rx_callback) in l2_packet_init()
238 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
242 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_freebsd.c40 void (*rx_callback)(void *ctx, const u8 *src_addr, member
87 if (!l2->rx_callback || !packet || hdr.caplen < sizeof(*ethhdr)) in l2_packet_receive()
98 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); in l2_packet_receive()
229 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
239 l2->rx_callback = rx_callback; in l2_packet_init()
262 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
266 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_winpcap.c52 void (*rx_callback)(void *ctx, const u8 *src_addr, member
154 l2->rx_callback(l2->rx_callback_ctx, l2->rx_src, l2->rx_buf, in l2_packet_rx_event()
200 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
215 l2->rx_callback = rx_callback; in l2_packet_init()
227 if (!rx_callback) in l2_packet_init()
257 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
261 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_linux.c29 void (*rx_callback)(void *ctx, const u8 *src_addr, member
225 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive()
277 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive_br()
284 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
296 l2->rx_callback = rx_callback; in l2_packet_init()
326 if (rx_callback && in l2_packet_init()
344 if (rx_callback) in l2_packet_init()
354 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
377 l2 = l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_ndis.c70 void (*rx_callback)(void *ctx, const u8 *src_addr, member
297 if (l2->rx_callback) in l2_packet_callback()
298 l2->rx_callback(l2->rx_callback_ctx, rx_src, rx_buf, rx_len); in l2_packet_callback()
351 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
376 l2->rx_callback = rx_callback; in l2_packet_init()
457 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
461 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet.h71 void (*rx_callback)(void *ctx, const u8 *src_addr,
84 void (*rx_callback)(void *ctx, const u8 *src_addr,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
Dl2_packet_rtos.c20 void (*rx_callback)(void *ctx, const u8 *src_addr, member
71 if (l2->rx_callback != NULL) { in l2_packet_receive()
73 l2->rx_callback(l2->rx_callback_ctx, puc_src, st_rx_eapol.buf, st_rx_eapol.len); in l2_packet_receive()
89 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
108 l2->rx_callback = rx_callback; in l2_packet_init()
124 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
129 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_none.c21 void (*rx_callback)(void *ctx, const u8 *src_addr, member
62 l2->rx_callback(l2->rx_callback_ctx, NULL /* TODO: src addr */, in l2_packet_receive()
69 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
79 l2->rx_callback = rx_callback; in l2_packet_init()
97 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
101 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_privsep.c20 void (*rx_callback)(void *ctx, const u8 *src_addr, member
123 l2->rx_callback(l2->rx_callback_ctx, buf, buf + ETH_ALEN, in l2_packet_receive()
130 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
149 l2->rx_callback = rx_callback; in l2_packet_init()
237 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
241 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_pcap.c35 void (*rx_callback)(void *ctx, const u8 *src_addr, member
141 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); in l2_packet_receive()
166 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); in l2_packet_receive_cb()
281 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
291 l2->rx_callback = rx_callback; in l2_packet_init()
318 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
322 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_freebsd.c40 void (*rx_callback)(void *ctx, const u8 *src_addr, member
98 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); in l2_packet_receive()
229 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
239 l2->rx_callback = rx_callback; in l2_packet_init()
262 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
266 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_winpcap.c52 void (*rx_callback)(void *ctx, const u8 *src_addr, member
154 l2->rx_callback(l2->rx_callback_ctx, l2->rx_src, l2->rx_buf, in l2_packet_rx_event()
200 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
215 l2->rx_callback = rx_callback; in l2_packet_init()
254 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
258 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_linux.c29 void (*rx_callback)(void *ctx, const u8 *src_addr, member
222 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive()
274 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive_br()
281 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
293 l2->rx_callback = rx_callback; in l2_packet_init()
349 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
372 l2 = l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet_ndis.c70 void (*rx_callback)(void *ctx, const u8 *src_addr, member
297 l2->rx_callback(l2->rx_callback_ctx, rx_src, rx_buf, rx_len); in l2_packet_callback()
350 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
375 l2->rx_callback = rx_callback; in l2_packet_init()
456 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
460 return l2_packet_init(br_ifname, own_addr, protocol, rx_callback, in l2_packet_init_bridge()
Dl2_packet.h67 void (*rx_callback)(void *ctx, const u8 *src_addr,
80 void (*rx_callback)(void *ctx, const u8 *src_addr,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Deth_p_oui.c36 void (*rx_callback)(void *ctx, const u8 *src_addr, member
46 ctx->rx_callback(ctx->rx_callback_ctx, src_addr, dst_addr, in eth_p_oui_deliver()
86 void (*rx_callback)(void *ctx, const u8 *src_addr, in eth_p_oui_register()
101 receiver->rx_callback = rx_callback; in eth_p_oui_register()
Deth_p_oui.h18 void (*rx_callback)(void *ctx, const u8 *src_addr,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Deth_p_oui.c36 void (*rx_callback)(void *ctx, const u8 *src_addr, member
46 ctx->rx_callback(ctx->rx_callback_ctx, src_addr, dst_addr, in eth_p_oui_deliver()
86 void (*rx_callback)(void *ctx, const u8 *src_addr, in eth_p_oui_register()
101 receiver->rx_callback = rx_callback; in eth_p_oui_register()
Deth_p_oui.h18 void (*rx_callback)(void *ctx, const u8 *src_addr,
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h63572 void (*rx_callback)(struct mbox_client *, void *); member