ESP-IDF
bt_mesh_net_rx::old_iv
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
bt_mesh_net_rx::old_iv
bt_mesh_net_rx::old_iv field
Syntax
Show:
Summary
Declaration
from
net.h:387
uint16_t
old_iv
:
1
;
Examples
References
from
examples
Code
Location
Referrer
uint16_t
old_iv
:
1
,
/* iv_index - 1 was used */
net.h:387
uint8_t
old_iv
:
1
,
/* iv_index - 1 was used */
net.h:242
return
NET_RX
(
rx
)
->
old_iv
;
ext.c:3482
bt_mesh_ext_net_rx_get_old_iv()
info
.
iv_index
=
BT_MESH_NET_IVI_RX
(
rx
)
;
friend.c:1458
friend_lpn_enqueue_rx()
rx
->
old_iv
=
(
BLE_MESH_NET_HDR_IVI
(
data
)
!=
(
bt_mesh
.
iv_index
&
0x01
)
)
;
net.c:1288
net_decrypt()
if
(
bt_mesh_net_obfuscate
(
buf
->
data
,
BLE_MESH_NET_IVI_RX
(
rx
)
,
priv
)
)
{
net.c:1293
net_decrypt()
return
bt_mesh_net_decrypt
(
enc
,
buf
,
BLE_MESH_NET_IVI_RX
(
rx
)
,
net.c:1312
net_decrypt()
return
bt_mesh_net_decrypt
(
enc
,
buf
,
BLE_MESH_NET_IVI_RX
(
rx
)
,
false
,
false
)
;
net.c:1316
net_decrypt()
if
(
bt_mesh_net_encrypt
(
enc
,
&
buf
->
b
,
BLE_MESH_NET_IVI_RX
(
rx
)
,
false
,
false
)
)
{
net.c:1713
bt_mesh_net_relay()
if
(
bt_mesh_net_obfuscate
(
buf
->
data
,
BLE_MESH_NET_IVI_RX
(
rx
)
,
priv
)
)
{
net.c:1718
bt_mesh_net_relay()
rx
->
old_iv
=
(
BLE_MESH_NET_HDR_IVI
(
buf
->
data
)
!=
(
bt_mesh
.
iv_index
&
0x01
)
)
;
net.c:1764
bt_mesh_net_header_parse()
.
old_iv
=
(
IVI
(
buf
->
om_data
)
!=
(
bt_mesh
.
iv_index
&
0x01
)
)
,
net.c:389
bt_mesh_net_local()
rx
->
old_iv
=
(
IVI
(
in
->
om_data
)
!=
(
bt_mesh
.
iv_index
&
0x01
)
)
;
net.c:608
net_decrypt()
if
(
bt_mesh_net_obfuscate
(
out
->
om_data
,
BT_MESH_NET_IVI_RX
(
rx
)
,
net.c:612
net_decrypt()
return
bt_mesh_net_decrypt
(
cred
->
enc
,
out
,
BT_MESH_NET_IVI_RX
(
rx
)
,
net.c:634
net_decrypt()
if
(
net_encrypt
(
buf
,
cred
,
BT_MESH_NET_IVI_RX
(
rx
)
,
false
)
)
{
net.c:712
bt_mesh_net_relay()
rx
->
old_iv
=
(
IVI
(
buf
->
om_data
)
!=
(
bt_mesh
.
iv_index
&
0x01
)
)
;
net.c:741
bt_mesh_net_header_parse()
rpl
->
old_iv
=
rx
->
old_iv
;
rpl.c:22
bt_mesh_update_rpl()
if
(
rx
->
old_iv
&&
!
rpl
->
old_iv
)
{
rpl.c:52
rpl_check_and_store()
if
(
(
!
rx
->
old_iv
&&
rpl
->
old_iv
)
||
rpl.c:56
rpl_check_and_store()
if
(
rpl
->
old_iv
&&
!
rx
->
old_iv
)
{
rpl.c:86
bt_mesh_rpl_update()
rpl
->
old_iv
=
rx
->
old_iv
;
rpl.c:92
bt_mesh_rpl_update()
if
(
rx
->
old_iv
&&
!
rpl
->
old_iv
)
{
rpl.c:135
bt_mesh_rpl_check()
if
(
(
!
rx
->
old_iv
&&
rpl
->
old_iv
)
||
rpl.c:139
bt_mesh_rpl_check()
BLE_MESH_NET_IVI_RX
(
rx
)
)
;
transport.c:785
sdu_recv()
BLE_MESH_NET_IVI_RX
(
rx
)
)
;
transport.c:849
sdu_recv()
*
seq_auth
=
SEQ_AUTH
(
BLE_MESH_NET_IVI_RX
(
rx
)
,
seq_zero
)
;
transport.c:928
trans_ack()
*
seq_auth
=
SEQ_AUTH
(
BLE_MESH_NET_IVI_RX
(
net_rx
)
,
transport.c:1464
trans_seg()
.
iv_index
=
BT_MESH_NET_IVI_RX
(
rx
)
,
transport.c:753
sdu_recv()
*
seq_auth
=
SEQ_AUTH
(
BT_MESH_NET_IVI_RX
(
rx
)
,
seq_zero
)
;
transport.c:839
trans_ack()
*
seq_auth
=
SEQ_AUTH
(
BT_MESH_NET_IVI_RX
(
net_rx
)
,
transport.c:1337
trans_seg()
(
!
rpl
->
old_iv
||
net_rx
->
old_iv
)
)
{
transport.c:1428
trans_seg()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_net_rx::old_iv
is written by 2 functions and is read by 11 functions:
net_decrypt()
bt_mesh_net_header_parse()
All items filtered out
bt_mesh_net_rx::old_iv
net_decrypt()
bt_mesh_net_relay()
bt_mesh_update_rpl()
rpl_check_and_store()
bt_mesh_ext_net_rx_get_old_iv()
sdu_recv()
trans_ack()
trans_seg()
friend_lpn_enqueue_rx()
bt_mesh_rpl_update()
bt_mesh_rpl_check()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out