Searched refs:dhcpv4 (Results 1 – 10 of 10) sorted by relevance
505 struct net_if_dhcpv4 *dhcpv4 = &iface->config.dhcpv4; in dhcpv4_update_renew_timeout() local520 struct net_if_dhcpv4 *dhcpv4 = &iface->config.dhcpv4; in dhcpv4_update_rebind_timeout() local724 struct net_if_dhcpv4 *dhcpv4 = &iface->config.dhcpv4; in dhcpv4_enter_bound() local729 dhcpv4->renewal_time = dhcpv4->lease_time / 2U; in dhcpv4_enter_bound()734 dhcpv4->rebinding_time = dhcpv4->lease_time * 875U / 1000U; in dhcpv4_enter_bound()741 if ((dhcpv4->renewal_time >= dhcpv4->rebinding_time) || in dhcpv4_enter_bound()742 (dhcpv4->rebinding_time >= dhcpv4->lease_time)) { in dhcpv4_enter_bound()746 dhcpv4->renewal_time = dhcpv4->lease_time / 2U; in dhcpv4_enter_bound()747 dhcpv4->rebinding_time = dhcpv4->lease_time * 875U / 1000U; in dhcpv4_enter_bound()753 dhcpv4->renewal_time, dhcpv4->rebinding_time); in dhcpv4_enter_bound()[all …]
9 zephyr_library_sources_ifdef(CONFIG_NET_DHCPV4 dhcpv4.c)
31 if (!net_ipv4_is_addr_unspecified(&iface->config.dhcpv4.ntp_addr)) { in sntp_init_helper()35 sntp_addr.sin_addr.s_addr = iface->config.dhcpv4.ntp_addr.s_addr; in sntp_init_helper()
84 iface->config.dhcpv4.lease_time); in print_dhcpv4_info()
604 if (iface->config.dhcpv4.state != NET_DHCPV4_DISABLED) { in iface_cb()606 iface->config.dhcpv4.lease_time); in iface_cb()608 iface->config.dhcpv4.renewal_time); in iface_cb()610 net_sprint_ipv4_addr(&iface->config.dhcpv4.server_id)); in iface_cb()612 net_sprint_ipv4_addr(&iface->config.dhcpv4.requested_ip)); in iface_cb()614 net_dhcpv4_state_name(iface->config.dhcpv4.state)); in iface_cb()616 iface->config.dhcpv4.attempts); in iface_cb()620 net_dhcpv4_state_name(iface->config.dhcpv4.state)); in iface_cb()
13 zephyr_library_sources_ifdef(CONFIG_NET_SHELL_DHCPV4_SUPPORTED dhcpv4.c)
289 SHELL_SUBCMD_ADD((net), dhcpv4, &net_cmd_dhcpv4, "Manage DHPCv4 services.",
26 add_subdirectory(dhcpv4)
50 source "subsys/net/lib/dhcpv4/Kconfig"
32 struct net_if_dhcpv4 dhcpv4; member
Completed in 72 milliseconds