Home
last modified time | relevance | path

Searched full:dhcpv6 (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/include/zephyr/net/
Ddhcpv6.h8 * @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 …]
Dnet_if.h39 #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/
Ddhcpv6.c8 * @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 …]
DKconfig13 bool "DHCPv6 client"
28 module-str = Log level for DHCPv6 client
29 module-help = Enables DHCPv6 client code to output debug messages.
Ddhcpv6_internal.h8 * @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. */
DCMakeLists.txt9 zephyr_library_sources_ifdef(CONFIG_NET_DHCPV6 dhcpv6.c)
/Zephyr-latest/doc/connectivity/networking/api/
Ddhcpv6.rst3 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
Dsystem_mgmt.rst11 dhcpv6.rst
/Zephyr-latest/tests/net/dhcpv6/src/
Dmain.c13 #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/
Ddhcpv6.c22 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.",
Diface.c451 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 …]
DCMakeLists.txt14 zephyr_library_sources_ifdef(CONFIG_NET_SHELL_DHCPV6_SUPPORTED dhcpv6.c)
/Zephyr-latest/tests/net/dhcpv6/
Dtestcase.yaml5 - dhcpv6
7 net.dhcpv6:
10 net.dhcpv6.preempt:
DCMakeLists.txt6 project(dhcpv6) project
/Zephyr-latest/subsys/net/lib/config/
DKconfig193 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.
Dinit.c25 #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/
DCMakeLists.txt19 add_subdirectory_ifdef(CONFIG_NET_DHCPV6 dhcpv6)
DKconfig46 source "subsys/net/lib/dhcpv6/Kconfig"
/Zephyr-latest/modules/openthread/
DKconfig.features68 bool "DHCPv6-PD support in border routing"
140 bool "DHCPv6 client support"
143 bool "DHCPv6 server support"
DCMakeLists.txt52 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/
Dnet_private.h35 struct net_if_dhcpv6 dhcpv6; member
Dnet_core.c52 #include "dhcpv6/dhcpv6_internal.h"
DKconfig222 bool "DHCPv6 start / stop"
/Zephyr-latest/doc/releases/
Drelease-notes-4.1.rst273 * DHCPv6:
Drelease-notes-3.6.rst734 * Added missing DHCPv6 state structure initialization when initializing
740 * Moved DHCPv6 files to ``subsys/net/lib/dhcpv6`` to align with DHCPv4.

12