Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/mesh/
Dnet.c86 } msg_cache[CONFIG_BT_MESH_MSG_CACHE_SIZE]; variable
153 if (msg_cache[--i].src == SRC(pdu->data) && in msg_cache_match()
154 msg_cache[i].seq == (SEQ(pdu->data) & BIT_MASK(17))) { in msg_cache_match()
159 for (i = ARRAY_SIZE(msg_cache); i > msg_cache_next;) { in msg_cache_match()
160 if (msg_cache[--i].src == SRC(pdu->data) && in msg_cache_match()
161 msg_cache[i].seq == (SEQ(pdu->data) & BIT_MASK(17))) { in msg_cache_match()
171 msg_cache_next %= ARRAY_SIZE(msg_cache); in msg_cache_add()
172 msg_cache[msg_cache_next].src = rx->ctx.addr; in msg_cache_add()
173 msg_cache[msg_cache_next].seq = rx->seq; in msg_cache_add()
218 (void)memset(msg_cache, 0, sizeof(msg_cache)); in bt_mesh_net_create()
[all …]