Searched refs:ipv4auto (Results 1 – 2 of 2) sorted by relevance
26 static inline void ipv4_autoconf_addr_set(struct net_if_ipv4_autoconf *ipv4auto) in ipv4_autoconf_addr_set() argument30 if (ipv4auto->state == NET_IPV4_AUTOCONF_INIT) { in ipv4_autoconf_addr_set()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()38 ipv4auto->state == NET_IPV4_AUTOCONF_INIT ? "Init" : "Renew", 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()[all …]
584 struct net_if_ipv4_autoconf ipv4auto; member