Searched refs:sa46a (Results 1 – 3 of 3) sorted by relevance
/third_party/libwebsockets/lib/core-net/ |
D | network.c | 913 lws_sa46_compare_ads(const lws_sockaddr46 *sa46a, const lws_sockaddr46 *sa46b) in lws_sa46_compare_ads() argument 915 if (sa46a->sa4.sin_family != sa46b->sa4.sin_family) in lws_sa46_compare_ads() 919 if (sa46a->sa4.sin_family == AF_INET6) in lws_sa46_compare_ads() 920 return memcmp(&sa46a->sa6.sin6_addr, &sa46b->sa6.sin6_addr, 16); in lws_sa46_compare_ads() 923 if (sa46a->sa4.sin_family == AF_INET) in lws_sa46_compare_ads() 924 return sa46a->sa4.sin_addr.s_addr != sa46b->sa4.sin_addr.s_addr; in lws_sa46_compare_ads() 955 lws_sa46_on_net(const lws_sockaddr46 *sa46a, const lws_sockaddr46 *sa46_net, in lws_sa46_on_net() argument 961 if (sa46a->sa4.sin_family == AF_INET) { in lws_sa46_on_net() 962 p1 = (uint8_t *)&sa46a->sa4.sin_addr; in lws_sa46_on_net() 971 if (sa46a->sa4.sin_family == AF_INET6) { in lws_sa46_on_net() [all …]
|
D | private-lib-core-net.h | 1134 lws_sa46_copy_address(lws_sockaddr46 *sa46a, const void *in, int af);
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-network-helper.h | 167 lws_sa46_compare_ads(const lws_sockaddr46 *sa46a, const lws_sockaddr46 *sa46b); 182 lws_sa46_on_net(const lws_sockaddr46 *sa46a, const lws_sockaddr46 *sa46_net,
|