Lines Matching full:sub
27 #define SUBNET_KEY_TX_IDX(sub) ((sub)->kr_phase == BT_MESH_KR_PHASE_2) argument
120 struct bt_mesh_subnet *bt_mesh_subnet_find(bool (*cb)(struct bt_mesh_subnet *sub, void *cb_data),
129 size_t bt_mesh_subnet_foreach(void (*cb)(struct bt_mesh_subnet *sub));
135 * @param sub Previous Subnet, or NULL to get the first valid.
137 * @returns Gets the next valid Subnet after @c sub, or NULL if there are no
140 struct bt_mesh_subnet *bt_mesh_subnet_next(struct bt_mesh_subnet *sub);
204 * @param sub Subnet to get the network flags of.
208 uint8_t bt_mesh_net_flags(struct bt_mesh_subnet *sub);
212 * @param sub Subnet the Key Refresh was received on.
219 void bt_mesh_kr_update(struct bt_mesh_subnet *sub, bool kr_flag, bool new_key);
223 * @param sub Subnet.
228 bt_mesh_subnet_has_new_key(const struct bt_mesh_subnet *sub) in bt_mesh_subnet_has_new_key() argument
230 return sub->kr_phase != BT_MESH_KR_NORMAL; in bt_mesh_subnet_has_new_key()