/Zephyr-latest/subsys/bluetooth/mesh/ |
D | main.c | 59 struct bt_mesh_cdb_subnet *subnet = NULL; in bt_mesh_provision() local 81 subnet = bt_mesh_cdb_subnet_get(net_idx); in bt_mesh_provision() 82 if (!subnet) { in bt_mesh_provision() 98 subnet->kr_phase = BT_MESH_KR_PHASE_2; in bt_mesh_provision() 100 subnet->kr_phase = BT_MESH_KR_NORMAL; in bt_mesh_provision() 107 err = bt_mesh_cdb_subnet_key_import(subnet, BT_MESH_KEY_REFRESH(flags) ? 1 : 0, in bt_mesh_provision() 113 bt_mesh_cdb_subnet_store(subnet); in bt_mesh_provision()
|
D | friend.c | 90 return frnd->subnet != NULL; in friend_is_allocated() 121 (!frnd->subnet || frnd->subnet->net_idx != net_idx)) { in bt_mesh_friend_find() 138 &frnd->subnet->keys[idx].net); in friend_cred_create() 174 if (frnd->subnet->keys[i].valid) { in friend_clear() 196 cb->terminated(frnd->subnet->net_idx, frnd->lpn); in friend_clear() 201 frnd->subnet = NULL; in friend_clear() 243 frnd->subnet->net_idx == net_idx) { in bt_mesh_friend_sec_update() 372 struct bt_mesh_subnet *subnet; member 385 .net_idx = frnd->subnet->net_idx, in unseg_app_sdu_unpack() 390 meta->subnet = frnd->subnet; in unseg_app_sdu_unpack() [all …]
|
D | heartbeat.c | 167 struct bt_mesh_subnet *subnet; in hb_publish() local 177 subnet = bt_mesh_subnet_get(pub.net_idx); in hb_publish() 178 if (!subnet) { in hb_publish()
|
D | subnet.h | 96 void (*evt_handler)(struct bt_mesh_subnet *subnet,
|
D | CMakeLists.txt | 12 subnet.c
|
D | net.h | 71 struct bt_mesh_subnet *subnet; member
|
D | subnet.c | 922 if (!frnd->subnet) { in bt_mesh_net_cred_find() 926 rx->sub = frnd->subnet; in bt_mesh_net_cred_find() 998 BT_MESH_SETTINGS_DEFINE(subnet, "NetKey", net_key_set);
|
D | net.c | 778 struct bt_mesh_subnet *subnet = bt_mesh_subnet_find(find_subnet_cb, &new_net_idx); in bt_mesh_sbr_check_cb() local 780 if (!subnet) { in bt_mesh_sbr_check_cb() 785 ctx->rx->sub = subnet; in bt_mesh_sbr_check_cb()
|
D | rpr_srv.c | 412 static void subnet_evt_handler(struct bt_mesh_subnet *subnet, in subnet_evt_handler() argument 422 subnet->net_idx == srv.link.cli.net_idx) { in subnet_evt_handler() 430 subnet->net_idx == srv.scan.cli.net_idx) { in subnet_evt_handler()
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | brg_cfg_cli.rst | 11 subnet bridge functionality of another Mesh node containing the
|
D | brg_cfg.rst | 40 A subnet is a group of nodes within a mesh network that share a common network key, enabling them to 42 Each subnet operates independently, with nodes exchanging messages exclusively within that group. 51 messages across the subnet groups. 53 The Subnet Bridge node has a primary subnet, based on the primary NetKey, which handles the
|
D | proxy.rst | 38 Solicitation UUID, encrypted with the network key of the subnet that the legacy device wants to
|
D | shell.rst | 481 Begin Proxy Solicitation of a subnet. Support of this feature can be enabled through the 615 Get or Set of current Node Identity state of a subnet. 880 Get or set the key refresh phase of a subnet. 1818 for configuring the subnet bridge functionality of a mesh node. 1847 * ``NetIdx1``: NetKey index of the first subnet. 1848 * ``NetIdx2``: NetKey index of the second subnet. 1849 * ``Addr1``: Address of the node in the first subnet. 1850 * ``Addr2``: Address of the node in the second subnet. 1857 * ``NetIdx1``: NetKey index of the first subnet. 1858 * ``NetIdx2``: NetKey index of the second subnet. [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | shell.c | 1254 struct bt_mesh_cdb_subnet *subnet; in cdb_print_subnets() local 1262 subnet = &bt_mesh_cdb.subnets[i]; in cdb_print_subnets() 1263 if (subnet->net_idx == BT_MESH_KEY_UNUSED) { in cdb_print_subnets() 1267 if (bt_mesh_cdb_subnet_key_export(subnet, 0, net_key)) { in cdb_print_subnets() 1269 subnet->net_idx); in cdb_print_subnets() 1275 shell_print(sh, "0x%03x %s", subnet->net_idx, key_hex_str); in cdb_print_subnets() 1651 SHELL_CMD_ARG(subnet-add, NULL, "<NetKeyIdx> [<NetKey(1-16 hex)>]", cmd_cdb_subnet_add, 2, 1653 SHELL_CMD_ARG(subnet-del, NULL, "<NetKeyIdx>", cmd_cdb_subnet_del, 2, 0),
|
D | cfg.c | 561 struct bt_mesh_cdb_subnet *subnet; in cmd_net_key_add() local 563 subnet = bt_mesh_cdb_subnet_get(key_net_idx); in cmd_net_key_add() 564 if (subnet) { in cmd_net_key_add() 570 if (bt_mesh_cdb_subnet_key_export(subnet, 0, key_val)) { in cmd_net_key_add() 576 subnet = bt_mesh_cdb_subnet_alloc(key_net_idx); in cmd_net_key_add() 577 if (!subnet) { in cmd_net_key_add() 582 if (bt_mesh_cdb_subnet_key_import(subnet, 0, key_val)) { in cmd_net_key_add() 587 bt_mesh_cdb_subnet_store(subnet); in cmd_net_key_add()
|
/Zephyr-latest/samples/net/dhcpv4_client/ |
D | README.rst | 48 "subnet": "192.0.2.0/24", 140 "subnet": "192.0.2.0/24",
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_persistence.c | 432 struct bt_mesh_cdb_subnet *subnet; in provisioner_setup() local 445 subnet = bt_mesh_cdb_subnet_alloc(test_netkey_idx); in provisioner_setup() 446 ASSERT_TRUE(subnet != NULL); in provisioner_setup() 447 err = bt_mesh_cdb_subnet_key_import(subnet, 0, test_netkey); in provisioner_setup() 451 bt_mesh_cdb_subnet_store(subnet); in provisioner_setup()
|
D | test_brg.c | 192 struct bt_mesh_cdb_subnet *subnet = bt_mesh_cdb_subnet_alloc(i + 1); in tester_setup() local 194 ASSERT_TRUE(subnet != NULL); in tester_setup() 196 ASSERT_OK(bt_mesh_cdb_subnet_key_import(subnet, 0, subnet_keys[i])); in tester_setup() 198 bt_mesh_cdb_subnet_store(subnet); in tester_setup()
|
/Zephyr-latest/doc/connectivity/networking/ |
D | usbnet_setup.rst | 45 It make sense to choose addresses in the same subnet we have in Zephyr
|
/Zephyr-latest/subsys/net/ip/ |
D | net_if.c | 3458 uint32_t subnet; in net_if_ipv4_addr_mask_cmp() local 3473 subnet = UNALIGNED_GET(&addr->s_addr) & in net_if_ipv4_addr_mask_cmp() 3477 ipv4->unicast[i].netmask.s_addr) == subnet) { in net_if_ipv4_addr_mask_cmp() 3594 struct in_addr subnet; in net_if_ipv4_get_best_match() local 3604 subnet.s_addr = ipv4->unicast[i].ipv4.address.in_addr.s_addr & in net_if_ipv4_get_best_match() 3606 len = get_diff_ipv4(dst, &subnet); in net_if_ipv4_get_best_match() 3859 uint32_t subnet; in net_if_ipv4_get_netmask_by_addr() local 3878 subnet = UNALIGNED_GET(&addr->s_addr) & in net_if_ipv4_get_netmask_by_addr() 3882 ipv4->unicast[i].netmask.s_addr) == subnet) { in net_if_ipv4_get_netmask_by_addr() 3899 uint32_t subnet; in net_if_ipv4_set_netmask_by_addr() local [all …]
|
D | Kconfig.ipv6 | 217 address configured using this method is stable within each subnet,
|
/Zephyr-latest/modules/hostap/ |
D | Kconfig | 378 For L2 roaming, the original AP and new AP are in the same subnet, client 380 For L3 roaming, the original AP and new AP are in different subnet, client
|
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/ |
D | README.rst | 134 same subnet e.g. 192.0.2.1 and 192.0.2.2.
|
/Zephyr-latest/samples/net/sockets/echo_client/ |
D | README.rst | 244 …sudo docker network create --ipv6 --subnet fd11:db8:1::/64 -o com.docker.network.bridge.name=otbr0…
|
/Zephyr-latest/doc/releases/ |
D | migration-guide-4.1.rst | 356 * The default subnet mask on newly added IPv4 addresses is now specified with
|