Lines Matching refs:net_id

332 	uint64_t net_id;  member
334 bool (*process_cb)(const uint8_t *net_id, void *ctx);
341 const uint8_t *net_id; in beacon_scan_cb() local
358 net_id = net_buf_simple_pull_mem(buf, 8); in beacon_scan_cb()
374 if (!beacon.process_cb || beacon.process_cb(net_id, beacon.user_ctx)) { in beacon_scan_cb()
381 bool (*process_cb)(const uint8_t *net_id, void *ctx), void *ctx) in wait_for_beacon() argument
436 uint8_t net_id[8]; in beacon_create() local
440 err = bt_mesh_k3(net_key, net_id); in beacon_create()
450 err = bt_mesh_beacon_auth(&beacon_key, flags, net_id, iv_index, auth); in beacon_create()
463 net_buf_simple_add_mem(buf, net_id, 8); in beacon_create()
707 static bool beacon_confirm_by_subnet(const uint8_t *net_id, void *ctx) in beacon_confirm_by_subnet() argument
711 return !memcmp(expected_net_id, net_id, 8); in beacon_confirm_by_subnet()
714 static bool beacon_confirm_all_subnets(const uint8_t *net_id, void *ctx) in beacon_confirm_all_subnets() argument
727 if (!memcmp(expected_net_id, net_id, 8)) { in beacon_confirm_all_subnets()
1074 static bool private_beacon_check(const uint8_t *net_id, void *ctx) in private_beacon_check() argument
1244 uint8_t net_id[8]; in private_beacon_create() local
1250 err = bt_mesh_k3(net_key, net_id); in private_beacon_create()
1557 uint8_t net_id[8]; member
1575 ASSERT_OK_MSG(bt_mesh_k3(net->net_key, net->net_id), "Failed to generate Net ID"); in pp_netkey_ctx_init()
1610 memcpy(&tmp[0], net->net_id, 8); in proxy_adv_hash_calc()
1620 static bool pp_beacon_check(const uint8_t *net_id, void *ctx) in pp_beacon_check() argument
1649 beacon.net_id = net_buf_simple_pull_le64(buf); in priv_scan_cb()
1665 uint64_t net_id; member
1688 beac->ctx.net_id = net_buf_simple_pull_le64(buf); in proxy_adv_scan_all_cb()
1833 if (!memcmp(nets[i]->net_id, &beac->ctx.net_id, 8)) { in proxy_adv_subnet_find()