Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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_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_linux.c27 void (*rx_callback)(void *ctx, const u8 *src_addr, member
214 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive()
266 l2->rx_callback(l2->rx_callback_ctx, ll.sll_addr, buf, res); in l2_packet_receive_br()
273 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init()
285 l2->rx_callback = rx_callback; in l2_packet_init()
315 if (rx_callback && in l2_packet_init()
333 if (rx_callback) in l2_packet_init()
343 void (*rx_callback)(void *ctx, const u8 *src_addr, in l2_packet_init_bridge()
366 l2 = 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_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,
/external/wpa_supplicant_8/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,
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Daudio_processing_test.cc204 RxCallback rx_callback; in TEST_F() local
205 EXPECT_EQ(0, voe_apm_->RegisterRxVadObserver(channel_, rx_callback)); in TEST_F()
212 EXPECT_EQ(0, rx_callback.vad_decision); in TEST_F()
217 EXPECT_EQ(1, rx_callback.vad_decision); in TEST_F()