/Zephyr-latest/include/zephyr/net/ |
D | dhcpv6.h | 8 * @brief DHCPv6 client 19 * @brief DHCPv6 20 * @defgroup dhcpv6 DHCPv6 29 /** Current state of DHCPv6 client address/prefix negotiation. */ 62 /** @brief DHCPv6 client configuration parameters. */ 69 * @brief Start DHCPv6 client on an iface 71 * @details Start DHCPv6 client on a given interface. DHCPv6 client will start 77 * @param params DHCPv6 client configuration parameters. 82 * @brief Stop DHCPv6 client on an iface 84 * @details Stop DHCPv6 client on a given interface. DHCPv6 client [all …]
|
D | net_if.h | 39 #include <zephyr/net/dhcpv6.h> 373 /** DHCPv6 configuration */ 384 /** DHCPv6 client state. */ 387 /** DHCPv6 client configuration parameters. */ 403 * DHCPv6 RFC8415, ch. 18.2.5). Absolute time, milliseconds. 580 struct net_if_dhcpv6 dhcpv6; member 3234 (.dhcpv6.state = NET_DHCPV6_DISABLED,))
|
/Zephyr-latest/subsys/net/lib/dhcpv6/ |
D | dhcpv6.c | 8 * @brief DHCPv6 client implementation 14 #include <zephyr/net/dhcpv6.h> 70 sys_rand_get(iface->config.dhcpv6.tid, sizeof(iface->config.dhcpv6.tid)); in dhcpv6_generate_tid() 129 if (iface->config.dhcpv6.t1 > t1_abs) { in dhcvp6_update_deadlines() 130 iface->config.dhcpv6.t1 = t1_abs; in dhcvp6_update_deadlines() 133 if (iface->config.dhcpv6.t2 > t2_abs) { in dhcvp6_update_deadlines() 134 iface->config.dhcpv6.t2 = t2_abs; in dhcvp6_update_deadlines() 137 if (iface->config.dhcpv6.expire < expire_abs) { in dhcvp6_update_deadlines() 138 iface->config.dhcpv6.expire = expire_abs; in dhcvp6_update_deadlines() 146 NET_DBG("sched dhcpv6 timeout iface=%p timeout=%llums", iface, timeout); in dhcpv6_set_timeout() [all …]
|
D | Kconfig | 13 bool "DHCPv6 client" 28 module-str = Log level for DHCPv6 client 29 module-help = Enables DHCPv6 client code to output debug messages.
|
D | dhcpv6_internal.h | 8 * @brief DHCPv6 internal header 16 #include <zephyr/net/dhcpv6.h> 50 /* DHCPv6 Transmission/retransmission timeouts */ 123 /* DHCPv6 message types, RFC8415, ch. 7.3. */ 140 /* DHCPv6 option codes, RFC8415, ch. 21. */ 168 /* DHCPv6 option codes, RFC8415, ch. 21.13. */ 179 /* DHCPv6 Unique Identifier types, RFC8415, ch. 11.1. */
|
D | CMakeLists.txt | 9 zephyr_library_sources_ifdef(CONFIG_NET_DHCPV6 dhcpv6.c)
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | dhcpv6.rst | 3 DHCPv6 chapter 14 used on IPv6 based networks. A DHCPv6 server dynamically assigns an IPv6 address 18 `DHCPv6 Wikipedia article <https://en.wikipedia.org/wiki/DHCPv6>`_ 19 for a detailed overview of how DHCPv6 works. 21 Note that Zephyr only supports DHCPv6 client functionality. 26 .. doxygengroup:: dhcpv6
|
D | system_mgmt.rst | 11 dhcpv6.rst
|
/Zephyr-latest/tests/net/dhcpv6/src/ |
D | main.c | 13 #include "../../../subsys/net/lib/dhcpv6/dhcpv6.c" 87 memcpy(&test_ctx.iface->config.dhcpv6.addr, &test_addr, in set_test_addr_on_iface() 88 sizeof(test_ctx.iface->config.dhcpv6.addr)); in set_test_addr_on_iface() 89 memcpy(&test_ctx.iface->config.dhcpv6.prefix, &test_prefix, in set_test_addr_on_iface() 90 sizeof(test_ctx.iface->config.dhcpv6.prefix)); in set_test_addr_on_iface() 91 test_ctx.iface->config.dhcpv6.prefix_len = test_prefix_len; in set_test_addr_on_iface() 96 memset(&test_ctx.iface->config.dhcpv6.addr, 0, in clear_test_addr_on_iface() 97 sizeof(test_ctx.iface->config.dhcpv6.addr)); in clear_test_addr_on_iface() 98 memset(&test_ctx.iface->config.dhcpv6.prefix, 0, in clear_test_addr_on_iface() 99 sizeof(test_ctx.iface->config.dhcpv6.prefix)); in clear_test_addr_on_iface() [all …]
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | dhcpv6.c | 22 PR_ERROR("Correct usage: net dhcpv6 client %s <index>\n", "start"); in cmd_net_dhcpv6_client_start() 40 PR_INFO("Set %s to enable %s support.\n", "CONFIG_NET_DHCPV6", "Dhcpv6"); in cmd_net_dhcpv6_client_start() 52 PR_ERROR("Correct usage: net dhcpv6 client %s <index>\n", "stop"); in cmd_net_dhcpv6_client_stop() 70 PR_INFO("Set %s to enable %s support.\n", "CONFIG_NET_DHCPV6", "Dhcpv6"); in cmd_net_dhcpv6_client_stop() 76 SHELL_CMD_ARG(start, NULL, "Start the Dhcpv6 client operation on the interface.\n" 77 "'net dhcpv6 client start <index>'\n" 80 SHELL_CMD_ARG(stop, NULL, "Stop the Dhcpv6 client operation on the interface.\n" 81 "'net dhcpv6 client stop <index>'\n" 89 "Dhcpv6 client management.", 94 SHELL_SUBCMD_ADD((net), dhcpv6, &net_cmd_dhcpv6, "Manage DHPCv6 services.",
|
D | iface.c | 451 PR("DHCPv6 renewal time (T1) : %llu ms\n", in iface_cb() 452 iface->config.dhcpv6.t1); in iface_cb() 453 PR("DHCPv6 rebind time (T2) : %llu ms\n", in iface_cb() 454 iface->config.dhcpv6.t2); in iface_cb() 455 PR("DHCPv6 expire time : %llu ms\n", in iface_cb() 456 iface->config.dhcpv6.expire); in iface_cb() 457 if (iface->config.dhcpv6.params.request_addr) { in iface_cb() 458 PR("DHCPv6 address : %s\n", in iface_cb() 459 net_sprint_ipv6_addr(&iface->config.dhcpv6.addr)); in iface_cb() 462 if (iface->config.dhcpv6.params.request_prefix) { in iface_cb() [all …]
|
D | CMakeLists.txt | 14 zephyr_library_sources_ifdef(CONFIG_NET_SHELL_DHCPV6_SUPPORTED dhcpv6.c)
|
/Zephyr-latest/tests/net/dhcpv6/ |
D | testcase.yaml | 5 - dhcpv6 7 net.dhcpv6: 10 net.dhcpv6.preempt:
|
D | CMakeLists.txt | 6 project(dhcpv6) project
|
/Zephyr-latest/subsys/net/lib/config/ |
D | Kconfig | 193 bool "Request IPv6 address when configuring DHCPv6 client" 196 When DHCPv6 is enabled this will configure the DHCPv6 client to 197 request IPv6 address from the DHCPv6 server. 200 bool "Request IPv6 prefix when configuring DHCPv6 client" 202 When DHCPv6 is enabled this will configure the DHCPv6 client to 203 request IPv6 prefix from the DHCPv6 server.
|
D | init.c | 25 #include <zephyr/net/dhcpv6.h> 230 NET_INFO("Running dhcpv6 client..."); in setup_dhcpv6() 240 #error "You need to define an IPv6 address or enable DHCPv6!"
|
/Zephyr-latest/subsys/net/lib/ |
D | CMakeLists.txt | 19 add_subdirectory_ifdef(CONFIG_NET_DHCPV6 dhcpv6)
|
D | Kconfig | 46 source "subsys/net/lib/dhcpv6/Kconfig"
|
/Zephyr-latest/modules/openthread/ |
D | Kconfig.features | 68 bool "DHCPv6-PD support in border routing" 140 bool "DHCPv6 client support" 143 bool "DHCPv6 server support"
|
D | CMakeLists.txt | 52 kconfig_to_ot_option(CONFIG_OPENTHREAD_BORDER_ROUTING_DHCP6_PD OT_BORDER_ROUTING_DHCP6_PD "DHCPv6-P… 67 kconfig_to_ot_option(CONFIG_OPENTHREAD_DHCP6_CLIENT OT_DHCP6_CLIENT "Enable DHCPv6 Client") 68 kconfig_to_ot_option(CONFIG_OPENTHREAD_DHCP6_SERVER OT_DHCP6_SERVER "Enable DHCPv6 Server")
|
/Zephyr-latest/subsys/net/ip/ |
D | net_private.h | 35 struct net_if_dhcpv6 dhcpv6; member
|
D | net_core.c | 52 #include "dhcpv6/dhcpv6_internal.h"
|
D | Kconfig | 222 bool "DHCPv6 start / stop"
|
/Zephyr-latest/doc/releases/ |
D | release-notes-4.1.rst | 273 * DHCPv6:
|
D | release-notes-3.6.rst | 734 * Added missing DHCPv6 state structure initialization when initializing 740 * Moved DHCPv6 files to ``subsys/net/lib/dhcpv6`` to align with DHCPv4.
|