Searched refs:nid (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | subnet.h | 34 uint8_t nid; /* NID */ member
|
D | net.c | 447 static int net_header_encode(struct bt_mesh_net_tx *tx, uint8_t nid, in net_header_encode() argument 473 net_buf_simple_push_u8(buf, (nid | (BT_MESH_NET_IVI_TX & 1) << 7)); in net_header_encode() 499 err = net_header_encode(tx, cred->nid, buf); in bt_mesh_net_encode() 543 err = net_header_encode(tx, cred->nid, &adv->b); in bt_mesh_net_send() 628 if (NID(in->data) != cred->nid) { in net_decrypt() 734 adv->b.data[0] |= cred->nid; in bt_mesh_net_relay()
|
D | solicitation.c | 302 net_buf_simple_add_u8(pdu, sub->keys[SUBNET_KEY_TX_IDX(sub)].msg.nid); in sol_pdu_create()
|
D | subnet.c | 304 return bt_mesh_k2(key, p, p_len, &cred->nid, &cred->enc, &cred->privacy); in msg_cred_create() 326 LOG_DBG("NID 0x%02x EncKey %s", keys->msg.nid, in net_keys_create()
|
D | friend.c | 526 buf->data[0] = (cred->nid | (iv_index & 1) << 7); in encrypt_friend_pdu()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_proxy_sol.c | 161 net_buf_simple_add_u8(pdu, sub->keys[SUBNET_KEY_TX_IDX(sub)].msg.nid); in sol_fixed_pdu_create()
|