Home
last modified time | relevance | path

Searched refs:recv_cb (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-Core-2.7.6/drivers/wifi/esp_at/
Desp_socket.c34 sock->recv_cb = NULL; in esp_socket_get()
182 if (sock->recv_cb) { in esp_socket_rx()
183 sock->recv_cb(sock->context, pkt, NULL, NULL, in esp_socket_rx()
Desp_offload.c522 if (sock->recv_cb) { in esp_close_work()
523 sock->recv_cb(sock->context, NULL, NULL, NULL, 0, in esp_close_work()
543 sock->recv_cb = cb; in esp_recv()
555 sock->recv_cb = NULL; in esp_recv()
574 sock->recv_cb = NULL; in esp_put()
Desp.h177 net_context_recv_cb_t recv_cb; member
/Zephyr-Core-2.7.6/samples/bluetooth/peripheral_past/src/
Dmain.c54 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() function
72 .recv = recv_cb
/Zephyr-Core-2.7.6/drivers/wifi/eswifi/
Deswifi_offload.h34 net_context_recv_cb_t recv_cb; member
Deswifi_socket.c115 if (socket->recv_cb) { in eswifi_off_read_work()
121 if (!len || !socket->recv_cb) { in eswifi_off_read_work()
141 socket->recv_cb(socket->context, pkt, in eswifi_off_read_work()
Deswifi_offload.c366 socket->recv_cb = cb; in eswifi_off_recv()
379 socket->recv_cb = NULL; in eswifi_off_recv()
Deswifi_socket_offload.c410 socket->recv_cb = __process_received; in eswifi_socket_open()
/Zephyr-Core-2.7.6/samples/bluetooth/direction_finding_connectionless_rx/src/
Dmain.c49 static void recv_cb(struct bt_le_per_adv_sync *sync,
61 .recv = recv_cb,
147 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() function
/Zephyr-Core-2.7.6/tests/bluetooth/tester/src/
Dbttester.c230 static uint8_t *recv_cb(uint8_t *buf, size_t *off) in recv_cb() function
268 uart_pipe_register(data, BTP_MTU, recv_cb); in uart_init()
287 recv_buf = recv_cb(recv_buf, &recv_off); in timer_expiry_cb()
Dl2cap.c52 static int recv_cb(struct bt_l2cap_chan *l2cap_chan, struct net_buf *buf) in recv_cb() function
161 .recv = recv_cb,
/Zephyr-Core-2.7.6/samples/bluetooth/periodic_sync/src/
Dmain.c136 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() function
155 .recv = recv_cb
/Zephyr-Core-2.7.6/samples/bluetooth/central_past/src/
Dmain.c209 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() function
228 .recv = recv_cb
/Zephyr-Core-2.7.6/subsys/net/lib/dns/
Dmdns_responder.c520 static void recv_cb(struct net_context *net_ctx, in recv_cb() function
620 ret = net_context_recv(ipv6, recv_cb, K_NO_WAIT, ipv6); in init_listener()
646 ret = net_context_recv(ipv4, recv_cb, K_NO_WAIT, ipv4); in init_listener()
Dllmnr_responder.c510 static void recv_cb(struct net_context *net_ctx, in recv_cb() function
610 ret = net_context_recv(ipv6, recv_cb, K_NO_WAIT, ipv6); in init_listener()
636 ret = net_context_recv(ipv4, recv_cb, K_NO_WAIT, ipv4); in init_listener()
/Zephyr-Core-2.7.6/drivers/net/
Dslip.c320 static uint8_t *recv_cb(uint8_t *buf, size_t *off) in recv_cb() function
380 uart_pipe_register(slip->buf, sizeof(slip->buf), recv_cb); in slip_init()
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/bsim_test_l2cap_stress/src/
Dmain.c120 int recv_cb(struct bt_l2cap_chan *chan, struct net_buf *buf) in recv_cb() function
158 .recv = recv_cb,
/Zephyr-Core-2.7.6/samples/bluetooth/iso_receive/src/
Dmain.c161 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() function
206 .recv = recv_cb,
/Zephyr-Core-2.7.6/drivers/wifi/winc1500/
Dwifi_winc1500.c138 net_context_recv_cb_t recv_cb; member
564 w1500_data.socket_data[socket].recv_cb = cb; in winc1500_recv()
811 if (sd->recv_cb) { in handle_socket_msg_recv()
812 sd->recv_cb(sd->context, in handle_socket_msg_recv()
/Zephyr-Core-2.7.6/tests/net/context/src/
Dmain.c453 static void recv_cb(struct net_context *context, in recv_cb() function
470 ret = net_context_recv(udp_v6_ctx, recv_cb, K_NO_WAIT, in test_net_ctx_recv_v6()
488 ret = net_context_recv(udp_v4_ctx, recv_cb, K_NO_WAIT, in test_net_ctx_recv_v4()
/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_context.c411 context->recv_cb = NULL; in net_context_put()
1848 if (!context->recv_cb) { in net_context_packet_received()
1863 context->recv_cb(context, pkt, ip_hdr, proto_hdr, 0, user_data); in net_context_packet_received()
1924 context->recv_cb = cb; in recv_udp()
1960 if (!context->recv_cb) { in net_context_raw_packet_received()
1967 context->recv_cb(context, pkt, ip_hdr, proto_hdr, 0, user_data); in net_context_raw_packet_received()
1986 context->recv_cb = cb; in recv_raw()
/Zephyr-Core-2.7.6/tests/net/traffic_class/src/
Dmain.c674 static void recv_cb(struct net_context *context, in recv_cb() function
727 ret = net_context_recv(net_ctxs[i].ctx, recv_cb, in test_traffic_class_setup_recv()
/Zephyr-Core-2.7.6/drivers/modem/
Dwncm14a2a.c176 net_context_recv_cb_t recv_cb; member
781 if (sock->recv_cb) { in sockreadrecv_cb_work()
782 sock->recv_cb(sock->context, pkt, NULL, NULL, in sockreadrecv_cb_work()
1762 sock->recv_cb = cb; in offload_recv()
/Zephyr-Core-2.7.6/include/net/
Dnet_context.h234 net_context_recv_cb_t recv_cb; member
/Zephyr-Core-2.7.6/tests/net/ipv6/src/
Dmain.c1265 static void recv_cb(struct net_context *context, in recv_cb() function
1288 ret = net_context_recv(ctx, recv_cb, K_NO_WAIT, NULL); in net_ctx_recv()

12