Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dsubnet.h51 struct bt_mesh_subnet { struct
94 void (*evt_handler)(struct bt_mesh_subnet *subnet, argument
118 struct bt_mesh_subnet *bt_mesh_subnet_find(bool (*cb)(struct bt_mesh_subnet *sub, void *cb_data),
127 size_t bt_mesh_subnet_foreach(void (*cb)(struct bt_mesh_subnet *sub));
138 struct bt_mesh_subnet *bt_mesh_subnet_next(struct bt_mesh_subnet *sub);
146 struct bt_mesh_subnet *bt_mesh_subnet_get(uint16_t net_idx);
206 uint8_t bt_mesh_net_flags(struct bt_mesh_subnet *sub);
217 void bt_mesh_kr_update(struct bt_mesh_subnet *sub, bool kr_flag, bool new_key);
226 bt_mesh_subnet_has_new_key(const struct bt_mesh_subnet *sub) in bt_mesh_subnet_has_new_key()
Dbeacon.h9 void bt_mesh_beacon_cache_clear(struct bt_mesh_subnet *sub);
14 int bt_mesh_beacon_create(struct bt_mesh_subnet *sub, struct net_buf_simple *buf, bool priv);
17 void bt_mesh_beacon_update(struct bt_mesh_subnet *sub);
Dproxy.h30 void bt_mesh_proxy_beacon_send(struct bt_mesh_subnet *sub);
34 void bt_mesh_proxy_identity_start(struct bt_mesh_subnet *sub, bool private);
35 void bt_mesh_proxy_identity_stop(struct bt_mesh_subnet *sub);
Dbeacon.c43 static struct bt_mesh_subnet *beacon_send_sub_curr;
78 static int private_beacon_create(struct bt_mesh_subnet *sub,
80 static int private_beacon_update(struct bt_mesh_subnet *sub);
83 static struct bt_mesh_beacon *subnet_beacon_get_by_type(struct bt_mesh_subnet *sub, bool priv) in subnet_beacon_get_by_type()
92 static bool beacon_cache_match(struct bt_mesh_subnet *sub, void *data) in beacon_cache_match()
108 void bt_mesh_beacon_cache_clear(struct bt_mesh_subnet *sub) in bt_mesh_beacon_cache_clear()
138 static int secure_beacon_create(struct bt_mesh_subnet *sub, in secure_beacon_create()
197 static int private_beacon_update(struct bt_mesh_subnet *sub) in private_beacon_update()
215 static int private_beacon_create(struct bt_mesh_subnet *sub, in private_beacon_create()
243 int bt_mesh_beacon_create(struct bt_mesh_subnet *sub, struct net_buf_simple *buf, bool priv) in bt_mesh_beacon_create()
[all …]
Dsubnet.c62 static struct bt_mesh_subnet subnets[CONFIG_BT_MESH_SUBNET_COUNT] = {
68 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt()
93 const struct bt_mesh_subnet *sub; in store_subnet()
146 uint8_t bt_mesh_net_flags(struct bt_mesh_subnet *sub) in bt_mesh_net_flags()
211 static void key_refresh(struct bt_mesh_subnet *sub, uint8_t new_phase) in key_refresh()
247 void bt_mesh_kr_update(struct bt_mesh_subnet *sub, bool kr_flag, bool new_key) in bt_mesh_kr_update()
264 static struct bt_mesh_subnet *subnet_alloc(uint16_t net_idx) in subnet_alloc()
266 struct bt_mesh_subnet *sub = NULL; in subnet_alloc()
282 static void subnet_del(struct bt_mesh_subnet *sub) in subnet_del()
373 struct bt_mesh_subnet *sub = NULL; in bt_mesh_subnet_add()
[all …]
Dproxy_srv.c104 static struct bt_mesh_subnet *beacon_sub;
321 struct bt_mesh_subnet *sub) in beacon_send()
342 static bool send_beacon_cb(struct bt_mesh_subnet *sub, void *cb_data) in send_beacon_cb()
358 void bt_mesh_proxy_beacon_send(struct bt_mesh_subnet *sub) in bt_mesh_proxy_beacon_send()
375 static void identity_enabled(struct bt_mesh_subnet *sub) in identity_enabled()
387 static void node_id_start(struct bt_mesh_subnet *sub) in node_id_start()
396 static void private_node_id_start(struct bt_mesh_subnet *sub) in private_node_id_start()
405 void bt_mesh_proxy_identity_start(struct bt_mesh_subnet *sub, bool private) in bt_mesh_proxy_identity_start()
417 void bt_mesh_proxy_identity_stop(struct bt_mesh_subnet *sub) in bt_mesh_proxy_identity_stop()
498 static int enc_id_adv(struct bt_mesh_subnet *sub, uint8_t type, in enc_id_adv()
[all …]
Dsolicitation.c57 static int srpl_entry_save(struct bt_mesh_subnet *sub, uint32_t sseq, uint16_t ssrc) in srpl_entry_save()
138 static bool sol_pdu_decrypt(struct bt_mesh_subnet *sub, void *data) in sol_pdu_decrypt()
182 struct bt_mesh_subnet *sub; in bt_mesh_sol_recv()
269 struct bt_mesh_subnet *sub; in bt_mesh_proxy_solicit()
298 static int sol_pdu_create(struct bt_mesh_subnet *sub, struct net_buf_simple *pdu) in sol_pdu_create()
484 static bool sol_subnet_find(struct bt_mesh_subnet *sub, void *cb_data) in sol_subnet_find()
494 struct bt_mesh_subnet *sub; in bt_mesh_sol_send()
Dnet.h64 struct bt_mesh_subnet *subnet;
164 struct bt_mesh_subnet *sub;
255 struct bt_mesh_subnet *sub;
269 struct bt_mesh_subnet *sub;
Dproxy_cli.c160 static bool proxy_srv_check_and_get(struct bt_mesh_subnet *sub, const uint8_t *net_id, in proxy_srv_check_and_get()
206 static bool is_hash_equal(struct bt_mesh_subnet *sub, struct find_net_id *res, uint8_t idx) in is_hash_equal()
226 static bool has_net_id(struct bt_mesh_subnet *sub, void *user_data) in has_net_id()
250 struct bt_mesh_subnet *sub; in handle_net_id()
378 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt()
Dapp_keys.h43 struct bt_mesh_subnet **sub,
Dfriend.h30 void bt_mesh_friend_clear_incomplete(struct bt_mesh_subnet *sub, uint16_t src,
Dapp_keys.c295 struct bt_mesh_subnet *sub; in bt_mesh_app_key_update()
473 struct bt_mesh_subnet **sub, in bt_mesh_keys_resolve()
619 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt()
Dcfg.c165 static bool node_id_is_running(struct bt_mesh_subnet *sub, void *cb_data) in node_id_is_running()
Dheartbeat.c167 struct bt_mesh_subnet *subnet; in hb_publish()
Dmain.c664 struct bt_mesh_subnet *sub = bt_mesh_subnet_next(NULL); in bt_mesh_start()
Dlpn.c1050 struct bt_mesh_subnet *sub = rx->sub; in bt_mesh_lpn_friend_update()
1145 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt()
Dtransport.c70 struct bt_mesh_subnet *sub;
99 struct bt_mesh_subnet *sub;
1104 static int send_ack(struct bt_mesh_subnet *sub, uint16_t src, uint16_t dst, in send_ack()
Dfriend.c372 struct bt_mesh_subnet *subnet;
1298 static void subnet_evt(struct bt_mesh_subnet *sub, enum bt_mesh_key_evt evt) in subnet_evt()
1790 void bt_mesh_friend_clear_incomplete(struct bt_mesh_subnet *sub, uint16_t src, in bt_mesh_friend_clear_incomplete()
Dprovisionee.c481 struct bt_mesh_subnet *sub = bt_mesh_subnet_get(net_idx); in refresh_is_valid()
Dnet.c102 struct bt_mesh_subnet *sub;
Drpr_srv.c412 static void subnet_evt_handler(struct bt_mesh_subnet *subnet, in subnet_evt_handler()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/
Dtest_proxy_sol.c157 static void sol_fixed_pdu_create(struct bt_mesh_subnet *sub, struct net_buf_simple *pdu) in sol_fixed_pdu_create()
182 struct bt_mesh_subnet *sub = bt_mesh_subnet_find(NULL, NULL); in sol_fixed_pdu_send()
Dtest_beacon.c1364 struct bt_mesh_subnet *sub; in test_tx_priv_interleave()