Home
last modified time | relevance | path

Searched refs:send_cb (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/tests/bluetooth/mesh/delayable_msg/src/
Dmain.c34 static struct bt_mesh_send_cb send_cb = { variable
98 ztest_expect_data(bt_mesh_access_send, cb, &send_cb); in set_expectation()
148 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id)); in ZTEST()
181 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf1_id)); in ZTEST()
183 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf2, SRC_ADDR, &send_cb, &buf2_id)); in ZTEST()
185 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf3, SRC_ADDR, &send_cb, &buf3_id)); in ZTEST()
187 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf4, SRC_ADDR, &send_cb, &buf4_id)); in ZTEST()
224 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id1)); in ZTEST()
226 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id2)); in ZTEST()
228 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf, SRC_ADDR, &send_cb, &buf_id3)); in ZTEST()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_advertiser.c31 static struct bt_mesh_send_cb send_cb; variable
281 send_cb.start = send_order_start_cb; in send_adv_buf()
282 send_cb.end = send_order_end_cb; in send_adv_buf()
287 bt_mesh_adv_send(adv, &send_cb, adv); in send_adv_buf()
328 send_cb.start = single_start_cb; in test_tx_cb_single()
329 send_cb.end = single_end_cb; in test_tx_cb_single()
334 bt_mesh_adv_send(adv, &send_cb, (void *)cb_msg); in test_tx_cb_single()
368 send_cb.start = NULL; in test_tx_cb_multi()
369 send_cb.end = realloc_end_cb; in test_tx_cb_multi()
372 bt_mesh_adv_send(adv[0], &send_cb, adv[0]); in test_tx_cb_multi()
[all …]
Dtest_replay_cache.c126 static const struct bt_mesh_send_cb send_cb = { in test_tx_immediate_replay_attack() local
141 &send_cb, &sem)); in test_tx_immediate_replay_attack()
159 &send_cb, &sem)); in test_tx_immediate_replay_attack()
191 static const struct bt_mesh_send_cb send_cb = { in test_tx_power_replay_attack() local
204 &send_cb, &sem)); in test_tx_power_replay_attack()
220 &send_cb, &sem)); in test_tx_power_replay_attack()
Dmesh_test.c448 const struct bt_mesh_send_cb *send_cb, in bt_mesh_test_send_async() argument
486 err = bt_mesh_model_send(test_model, &test_send_ctx, &buf, send_cb, in bt_mesh_test_send_async()
505 static const struct bt_mesh_send_cb send_cb = { in bt_mesh_test_send() local
514 err = bt_mesh_test_send_async(addr, uuid, len, flags, &send_cb, &send_ctx); in bt_mesh_test_send()
535 const struct bt_mesh_send_cb *send_cb, void *cb_data) in bt_mesh_test_send_data() argument
549 err = bt_mesh_model_send(test_model, &test_send_ctx, &buf, send_cb, cb_data); in bt_mesh_test_send_data()
Dmesh_test.h197 const struct bt_mesh_send_cb *send_cb,
200 const struct bt_mesh_send_cb *send_cb, void *cb_data);
Dtest_suspend.c342 const struct bt_mesh_send_cb send_cb = { in dut_gatt_common() local
363 bt_mesh_test_send_over_adv_cb(&dut_status, sizeof(enum dut_mesh_status), &send_cb, in dut_gatt_common()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_offload.h36 net_context_send_cb_t send_cb; member
Deswifi_offload.c236 cb = socket->send_cb; in eswifi_off_send_work()
275 socket->send_cb = cb; in eswifi_off_send()
331 socket->send_cb = cb; in eswifi_off_sendto()
/Zephyr-latest/tests/net/context/src/
Dmain.c412 static void send_cb(struct net_context *context, int status, void *user_data) in send_cb() function
433 send_cb, K_FOREVER, INT_TO_POINTER(AF_INET6)); in net_ctx_send_v6()
447 send_cb, K_FOREVER, INT_TO_POINTER(AF_INET)); in net_ctx_send_v4()
468 sizeof(struct sockaddr_in6), send_cb, in net_ctx_sendto_v6()
487 sizeof(struct sockaddr_in), send_cb, in net_ctx_sendto_v4()
567 sizeof(struct sockaddr_in6), send_cb, in net_ctx_sendto_v6_wrong_src()
616 sizeof(struct sockaddr_in), send_cb, in net_ctx_sendto_v4_wrong_src()
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_srv.c226 const struct bt_mesh_send_cb *send_cb) in update_status_rsp() argument
244 bt_mesh_model_send(srv->mod, ctx, &buf, send_cb, srv); in update_status_rsp()
404 static const struct bt_mesh_send_cb send_cb = { in handle_apply() local
426 update_status_rsp(srv, ctx, BT_MESH_DFU_SUCCESS, &send_cb); in handle_apply()
Ddfu_cli.c289 static const struct bt_mesh_send_cb send_cb = { variable
345 info_get(cli, &ctx, 0, cli->req.img_cnt, &send_cb); in send_info_get()
373 (void)tx(cli->mod, &ctx, &buf, &send_cb, cli); in send_update_start()
384 (void)tx(cli->mod, &ctx, &buf, &send_cb, cli); in send_update_get()
395 (void)tx(cli->mod, &ctx, &buf, &send_cb, cli); in send_update_cancel()
406 (void)tx(cli->mod, &ctx, &buf, &send_cb, cli); in send_update_apply()
905 (cli->req.type == REQ_IMG) ? NULL : &send_cb); in handle_info_status()
Dbeacon.c269 static const struct bt_mesh_send_cb send_cb = { in net_beacon_send() local
298 bt_mesh_adv_send(adv, &send_cb, beacon); in net_beacon_send()
Drpr_srv.c1378 static const struct bt_mesh_send_cb send_cb = { in node_refresh_buf_send() local
1393 err = inbound_pdu_send(buf, &send_cb); in node_refresh_buf_send()
/Zephyr-latest/drivers/wifi/esp_at/
Desp_offload.c394 } else if (context->send_cb) { in esp_socket_send_one_pkt()
395 context->send_cb(context, ret, context->user_data); in esp_socket_send_one_pkt()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_shell.c62 static void send_cb(enum lwm2m_send_status status) in send_cb() function
98 ret = lwm2m_send_cb(ctx, lwm2m_path_list, path_cnt, send_cb); in cmd_send()
/Zephyr-latest/include/zephyr/net/
Dnet_context.h245 net_context_send_cb_t send_cb; member
/Zephyr-latest/subsys/net/ip/
Dnet_context.c698 context->send_cb = NULL; in net_context_put()
2471 context->send_cb = cb; in context_sendto()
Dnet_if.c186 if (context->send_cb) { in net_context_send_cb()
187 context->send_cb(context, status, context->user_data); in net_context_send_cb()