Home
last modified time | relevance | path

Searched refs:dhcpv4 (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4.c308 msg->xid = htonl(iface->config.dhcpv4.xid); in dhcpv4_create_message()
335 !dhcpv4_add_server_id(pkt, &iface->config.dhcpv4.server_id)) || in dhcpv4_create_message()
337 !dhcpv4_add_req_ipaddr(pkt, &iface->config.dhcpv4.requested_ip))) { in dhcpv4_create_message()
377 static void dhcpv4_immediate_timeout(struct net_if_dhcpv4 *dhcpv4) in dhcpv4_immediate_timeout() argument
379 NET_DBG("force timeout dhcpv4=%p", dhcpv4); in dhcpv4_immediate_timeout()
380 dhcpv4->timer_start = k_uptime_get() - 1; in dhcpv4_immediate_timeout()
381 dhcpv4->request_time = 0U; in dhcpv4_immediate_timeout()
386 static void dhcpv4_set_timeout(struct net_if_dhcpv4 *dhcpv4, in dhcpv4_set_timeout() argument
389 NET_DBG("sched timeout dhcpv4=%p timeout=%us", dhcpv4, timeout); in dhcpv4_set_timeout()
390 dhcpv4->timer_start = k_uptime_get(); in dhcpv4_set_timeout()
[all …]
DCMakeLists.txt9 zephyr_library_sources_ifdef(CONFIG_NET_DHCPV4 dhcpv4.c)
/Zephyr-latest/doc/connectivity/networking/api/
Ddhcpv4.rst26 See :zephyr:code-sample:`dhcpv4-client` sample application for details.
31 .. doxygengroup:: dhcpv4
Dsystem_mgmt.rst10 dhcpv4.rst
/Zephyr-latest/subsys/net/lib/config/
Dinit_clock_sntp.c26 if (!net_ipv4_is_addr_unspecified(&iface->config.dhcpv4.ntp_addr)) { in sntp_init_helper()
30 sntp_addr.sin_addr.s_addr = iface->config.dhcpv4.ntp_addr.s_addr; in sntp_init_helper()
Dinit.c84 iface->config.dhcpv4.lease_time); in print_dhcpv4_info()
/Zephyr-latest/samples/net/dhcpv4_client/
DREADME.rst1 .. zephyr:code-sample:: dhcpv4-client
3 :relevant-api: dhcpv4 net_mgmt
86 [00:00:00.000,000] <inf> net_dhcpv4_client_sample: Run dhcpv4 client
179 [00:00:00.000,000] <inf> net_dhcpv4_client_sample: Run dhcpv4 client
226 [00:00:00.170,000] <inf> net_dhcpv4_client_sample: Run dhcpv4 client
/Zephyr-latest/subsys/net/lib/
DCMakeLists.txt24 add_subdirectory(dhcpv4)
DKconfig44 source "subsys/net/lib/dhcpv4/Kconfig"
/Zephyr-latest/subsys/net/lib/shell/
Diface.c554 iface->config.dhcpv4.lease_time); in iface_cb()
556 iface->config.dhcpv4.renewal_time); in iface_cb()
558 net_sprint_ipv4_addr(&iface->config.dhcpv4.server_id)); in iface_cb()
560 net_sprint_ipv4_addr(&iface->config.dhcpv4.requested_ip)); in iface_cb()
562 net_dhcpv4_state_name(iface->config.dhcpv4.state)); in iface_cb()
564 iface->config.dhcpv4.attempts); in iface_cb()
DCMakeLists.txt13 zephyr_library_sources_ifdef(CONFIG_NET_SHELL_DHCPV4_SUPPORTED dhcpv4.c)
Ddhcpv4.c289 SHELL_SUBCMD_ADD((net), dhcpv4, &net_cmd_dhcpv4, "Manage DHPCv4 services.",
/Zephyr-latest/samples/net/dhcpv4_client/src/
Dmain.c71 iface->config.dhcpv4.lease_time); in handler()
/Zephyr-latest/tests/boards/espressif/ethernet/src/
Dmain.c52 iface->config.dhcpv4.lease_time); in ipv4_event()
/Zephyr-latest/doc/connectivity/networking/
Darmfvp_user_networking_setup.rst36 See :zephyr:code-sample:`dhcpv4-client` sample application.
/Zephyr-latest/samples/net/dns_resolve/src/
Dmain.c186 LOG_INF("Lease time: %u seconds", iface->config.dhcpv4.lease_time); in print_dhcpv4_addr()
/Zephyr-latest/subsys/net/ip/
Dnet_private.h32 struct net_if_dhcpv4 dhcpv4; member
/Zephyr-latest/samples/net/telnet/
DREADME.rst105 [Setup] [INF] setup_dhcpv4: Running dhcpv4 client...
/Zephyr-latest/samples/net/cloud/mqtt_azure/src/
Dmain.c467 if (iface->config.dhcpv4.state == NET_DHCPV4_BOUND) { in check_network_connection()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h592 struct net_if_dhcpv4 dhcpv4; member
3294 (.dhcpv4.state = NET_DHCPV4_DISABLED,))
/Zephyr-latest/doc/releases/
Drelease-notes-1.9.rst309 …-2374`` - Build warnings:override: reassigning to symbol NET_IPV4 with LLVM/icx (/tests/net/dhcpv4)
Drelease-notes-1.13.rst347 * :github:`9575` - Network NULL pointer reference when enable net/dhcpv4 debug
388 * :github:`9287` - net/dhcpv4: Fix single byte buffer filling madness
Drelease-notes-3.6.rst739 within ``subsys/net/lib/dhcpv4``.
887 * Added ``net dhcpv4 server`` commands for DHCPv4 server management.
Drelease-notes-1.14.rst1329 * :github:`14413` - [Coverity CID :195816]Null pointer dereferences in /tests/net/dhcpv4/src/main.c
1347 * :github:`14395` - [Coverity CID :195880]Null pointer dereferences in /tests/net/dhcpv4/src/main.c
1467 * :github:`13832` - [Coverity CID :190992]Null pointer dereferences in /subsys/net/ip/dhcpv4.c
Drelease-notes-2.6.rst1252 * :github:`35111` - [Coverity CID: 234630] Dereference after null check in tests/net/dhcpv4/src/mai…
1641 * :github:`33348` - ip/dhcpv4 is not thread-safe in SMP/preemptive thread configurations

12