Home
last modified time | relevance | path

Searched refs:rpl (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Drpl.c47 static inline int rpl_idx(const struct bt_mesh_rpl *rpl) in rpl_idx() argument
49 return rpl - &replay_list[0]; in rpl_idx()
52 static void clear_rpl(struct bt_mesh_rpl *rpl) in clear_rpl() argument
57 if (!rpl->src) { in clear_rpl()
61 atomic_clear_bit(store, rpl_idx(rpl)); in clear_rpl()
63 snprintk(path, sizeof(path), "bt/mesh/RPL/%x", rpl->src); in clear_rpl()
85 void bt_mesh_rpl_update(struct bt_mesh_rpl *rpl, in bt_mesh_rpl_update() argument
91 if (rpl->old_iv && !rx->old_iv) { in bt_mesh_rpl_update()
92 rpl->seg = 0; in bt_mesh_rpl_update()
95 rpl->src = rx->ctx.addr; in bt_mesh_rpl_update()
[all …]
Drpl.h21 typedef void (*bt_mesh_rpl_func_t)(struct bt_mesh_rpl *rpl,
27 void bt_mesh_rpl_update(struct bt_mesh_rpl *rpl,
Dtransport.c1028 struct bt_mesh_rpl *rpl = NULL; in trans_unseg() local
1038 if (bt_mesh_rpl_check(rx, &rpl, false)) { in trans_unseg()
1058 if (err == 0 && rpl != NULL) { in trans_unseg()
1059 bt_mesh_rpl_update(rpl, rx); in trans_unseg()
1338 struct bt_mesh_rpl *rpl = NULL; in trans_seg() local
1352 if (bt_mesh_rpl_check(net_rx, &rpl, false)) { in trans_seg()
1430 if (rpl) { in trans_seg()
1431 bt_mesh_rpl_update(rpl, net_rx); in trans_seg()
1486 if (rpl && rpl->src && auth_seqnum <= rpl->seg && in trans_seg()
1487 (!rpl->old_iv || net_rx->old_iv)) { in trans_seg()
[all …]
DCMakeLists.txt30 zephyr_library_sources_ifdef(CONFIG_BT_MESH_RPL_STORAGE_MODE_SETTINGS rpl.c)
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_replay_cache.c377 struct bt_mesh_rpl *rpl = NULL; in test_rx_rpl_frag() local
384 ASSERT_TRUE(bt_mesh_rpl_check(&rx, &rpl, false)); in test_rx_rpl_frag()
386 ASSERT_FALSE(bt_mesh_rpl_check(&rx, &rpl, false)); in test_rx_rpl_frag()
388 ASSERT_TRUE(bt_mesh_rpl_check(&rx, &rpl, false)); in test_rx_rpl_frag()
451 struct bt_mesh_rpl *rpl = NULL; in test_rx_reboot_after_defrag() local
458 ASSERT_TRUE(bt_mesh_rpl_check(&rx, &rpl, false)); in test_rx_reboot_after_defrag()
460 ASSERT_FALSE(bt_mesh_rpl_check(&rx, &rpl, false)); in test_rx_reboot_after_defrag()
462 ASSERT_TRUE(bt_mesh_rpl_check(&rx, &rpl, false)); in test_rx_reboot_after_defrag()
/Zephyr-latest/tests/bluetooth/mesh/rpl/
DCMakeLists.txt11 ${ZEPHYR_BASE}/subsys/bluetooth/mesh/rpl.c)
/Zephyr-latest/doc/releases/
Drelease-notes-1.8.rst307 * ``ZEP-2057`` - crash in tests/net/rpl on qemu_x86 causing intermittent sanitycheck failure
Drelease-notes-1.9.rst286 * ``ZEP-2330`` - bad memory access tests/net/rpl
Drelease-notes-1.10.rst482 * :github:`4791` - rpl-node uses testcase.ini instead of sample.yaml format
Drelease-notes-1.13.rst507 * :github:`8528` - rpl-mesh-qemu sample, the net inface init failed.
Drelease-notes-1.14.rst2098 * :github:`10094` - [Coverity CID :188169] Null pointer dereferences in /subsys/net/ip/rpl.c
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dshell.c1730 SHELL_CMD_ARG(rpl-clear, NULL, NULL, cmd_rpl_clear, 1, 0),
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dshell.rst252 ``mesh test rpl-clear``
2001 ``mesh models sol_pdu_rpl sol-pdu-rpl-clear <RngStart> <Ackd> [RngLen]``