Searched refs:requested_ip (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/subsys/net/ip/ |
D | ipv4_autoconf.c | 31 ipv4auto->requested_ip.s4_addr[0] = 169U; in ipv4_autoconf_addr_set() 32 ipv4auto->requested_ip.s4_addr[1] = 254U; in ipv4_autoconf_addr_set() 33 ipv4auto->requested_ip.s4_addr[2] = sys_rand8_get() % 254; in ipv4_autoconf_addr_set() 34 ipv4auto->requested_ip.s4_addr[3] = sys_rand8_get() % 254; in ipv4_autoconf_addr_set() 39 ipv4auto->requested_ip.s4_addr[2], in ipv4_autoconf_addr_set() 40 ipv4auto->requested_ip.s4_addr[3]); in ipv4_autoconf_addr_set() 43 if (!net_if_ipv4_addr_add(ipv4auto->iface, &ipv4auto->requested_ip, in ipv4_autoconf_addr_set() 51 &ipv4auto->requested_ip, in ipv4_autoconf_addr_set() 84 if (!net_ipv4_addr_cmp(&cfg->ipv4auto.requested_ip, addr)) { in acd_event_handler() 147 net_if_ipv4_addr_rm(iface, &cfg->ipv4auto.requested_ip); in net_ipv4_autoconf_reset()
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4.c | 238 bool server_id, bool requested_ip) in dhcpv4_create_message() argument 264 if (requested_ip) { in dhcpv4_create_message() 336 (requested_ip && in dhcpv4_create_message() 337 !dhcpv4_add_req_ipaddr(pkt, &iface->config.dhcpv4.requested_ip))) { in dhcpv4_create_message() 570 ciaddr = &iface->config.dhcpv4.requested_ip; in dhcpv4_send_request() 584 ciaddr = &iface->config.dhcpv4.requested_ip; in dhcpv4_send_request() 698 iface->config.dhcpv4.requested_ip.s_addr = INADDR_ANY; in dhcpv4_enter_selecting() 712 memcpy(iface->config.dhcpv4.requested_ip.s4_addr, in dhcpv4_enter_requesting() 838 &iface->config.dhcpv4.requested_ip)) { in dhcpv4_manage_timers() 1363 net_sprint_ipv4_addr(&iface->config.dhcpv4.requested_ip)); in dhcpv4_handle_msg_ack() [all …]
|
D | dhcpv4_server.c | 226 struct in_addr *requested_ip) in dhcpv4_find_requested_ip_option() argument 241 memcpy(requested_ip, opt, sizeof(struct in_addr)); in dhcpv4_find_requested_ip_option() 998 struct in_addr requested_ip; in dhcpv4_handle_discover() local 1001 &requested_ip); in dhcpv4_handle_discover() 1008 &requested_ip) && in dhcpv4_handle_discover() 1107 struct in_addr requested_ip, server_id, ciaddr, giaddr; in dhcpv4_handle_request() local 1135 &requested_ip); in dhcpv4_handle_request() 1149 if (net_ipv4_addr_cmp(&slot->addr, &requested_ip) && in dhcpv4_handle_request() 1184 ret = dhcpv4_find_requested_ip_option(options, optlen, &requested_ip); in dhcpv4_handle_request() 1192 if (!net_if_ipv4_addr_mask_cmp(ctx->iface, &requested_ip)) { in dhcpv4_handle_request() [all …]
|
/Zephyr-latest/tests/net/dhcpv4/server/src/ |
D | main.c | 148 const struct in_addr *requested_ip, const struct in_addr *ciaddr) in client_prepare_test_msg() argument 195 if (requested_ip) { in client_prepare_test_msg() 197 net_pkt_write_u8(pkt, sizeof(*requested_ip)); in client_prepare_test_msg() 198 net_pkt_write(pkt, requested_ip, sizeof(*requested_ip)); in client_prepare_test_msg()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | events.c | 255 info = net_addr_ntop(AF_INET, &data->requested_ip, extra_info, in get_l3_desc()
|
D | iface.c | 556 net_sprint_ipv4_addr(&iface->config.dhcpv4.requested_ip)); in iface_cb()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_if.h | 507 struct in_addr requested_ip; member 540 struct in_addr requested_ip; member
|