Lines Matching refs:sa46
122 if (r->is.sa46[LWSDH_SA46_IP].sa4.sin_family != AF_INET) in lws_dhcpc4_prep()
126 lws_ser_wu32be(p, r->is.sa46[LWSDH_SA46_IP].sa4.sin_addr.s_addr); in lws_dhcpc4_prep()
130 lws_ser_wu32be(p, r->is.sa46[LWSDH_SA46_DHCP_SERVER].sa4.sin_addr.s_addr); in lws_dhcpc4_prep()
327 r->is.sa46[which].sa4.sin_family = AF_INET; in lws_sa46_set_ipv4()
328 r->is.sa46[which].sa4.sin_addr.s_addr = ntohl(lws_ser_ru32be(p)); in lws_sa46_set_ipv4()
466 memset(r->is.sa46, 0, sizeof(r->is.sa46)); in lws_dhcpc4_parse()
479 lws_sa46_write_numeric_address(&r->is.sa46[n], in lws_dhcpc4_parse()
490 if (!r->is.sa46[LWSDH_SA46_IP].sa4.sin_family || in lws_dhcpc4_parse()
491 !r->is.sa46[LWSDH_SA46_DHCP_SERVER].sa4.sin_family || in lws_dhcpc4_parse()
492 !r->is.sa46[LWSDH_SA46_IPV4_ROUTER].sa4.sin_family || in lws_dhcpc4_parse()
495 !r->is.sa46[LWSDH_SA46_DNS_SRV_1].sa4.sin_family) { in lws_dhcpc4_parse()
497 memset(r->is.sa46, 0, sizeof(r->is.sa46)); in lws_dhcpc4_parse()
507 if ((r->is.sa46[LWSDH_SA46_IP].sa4.sin_addr.s_addr & in lws_dhcpc4_parse()
509 (r->is.sa46[LWSDH_SA46_DHCP_SERVER].sa4.sin_addr.s_addr & in lws_dhcpc4_parse()
512 __func__, r->is.sa46[LWSDH_SA46_IP].sa4.sin_addr.s_addr, in lws_dhcpc4_parse()