Home
last modified time | relevance | path

Searched refs:lpSockaddr (Results 1 – 9 of 9) sorted by relevance

/external/openscreen/platform/impl/
Dnetwork_interface_win.cc83 if (punicast->Address.lpSockaddr->sa_family == AF_INET) { in GetAllInterfaces()
84 sockaddr_in* sa_in = (sockaddr_in*)punicast->Address.lpSockaddr; in GetAllInterfaces()
92 } else if (punicast->Address.lpSockaddr->sa_family == AF_INET6) { in GetAllInterfaces()
93 sockaddr_in6* sa_in6 = (sockaddr_in6*)punicast->Address.lpSockaddr; in GetAllInterfaces()
/external/webrtc/rtc_base/
Dnetwork.cc611 if (prefixlist->Address.lpSockaddr == nullptr || in GetPrefix()
612 prefixlist->Address.lpSockaddr->sa_family != ip.family()) { in GetPrefix()
616 switch (prefixlist->Address.lpSockaddr->sa_family) { in GetPrefix()
619 reinterpret_cast<sockaddr_in*>(prefixlist->Address.lpSockaddr); in GetPrefix()
625 reinterpret_cast<sockaddr_in6*>(prefixlist->Address.lpSockaddr); in GetPrefix()
686 switch (address->Address.lpSockaddr->sa_family) { in CreateNetworks()
689 reinterpret_cast<sockaddr_in*>(address->Address.lpSockaddr); in CreateNetworks()
695 reinterpret_cast<sockaddr_in6*>(address->Address.lpSockaddr); in CreateNetworks()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_iphlpapi.h37 LPSOCKADDR lpSockaddr; member
Dares_init.c1189 namesrvr.sa = ipaDNSAddr->Address.lpSockaddr; in get_DNS_AdaptersAddresses()
/external/mdnsresponder/mDNSWindows/mdnsNSP/
DmdnsNSP.c1495 outQuerySet->lpcsaBuffer[ index ].LocalAddr.lpSockaddr = NULL; in QueryCopyQuerySetTo()
1498 outQuerySet->lpcsaBuffer[ index ].RemoteAddr.lpSockaddr = (LPSOCKADDR) dst; in QueryCopyQuerySetTo()
1515 outQuerySet->lpcsaBuffer[ index ].LocalAddr.lpSockaddr = NULL; in QueryCopyQuerySetTo()
1518 outQuerySet->lpcsaBuffer[ index ].RemoteAddr.lpSockaddr = (LPSOCKADDR) dst; in QueryCopyQuerySetTo()
1786 if( inQuerySet->lpcsaBuffer[ i ].LocalAddr.lpSockaddr && in DebugDumpQuerySet()
1790 inQuerySet->lpcsaBuffer[ i ].LocalAddr.lpSockaddr ); in DebugDumpQuerySet()
1796 if( inQuerySet->lpcsaBuffer[ i ].RemoteAddr.lpSockaddr && in DebugDumpQuerySet()
1800 inQuerySet->lpcsaBuffer[ i ].RemoteAddr.lpSockaddr ); in DebugDumpQuerySet()
/external/usrsctp/usrsctplib/netinet/
Dsctp_bsd_addr.c357 …if (IN4_ISLINKLOCAL_ADDRESS(&(((struct sockaddr_in *)(pUnicast->Address.lpSockaddr))->sin_addr))) {
366 pUnicast->Address.lpSockaddr,
408 pUnicast->Address.lpSockaddr,
/external/libwebsockets/lib/core-net/
Dnetwork.c507 if (addr->Address.lpSockaddr->sa_family == in lws_get_addr_scope()
510 (addr->Address.lpSockaddr); in lws_get_addr_scope()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c3639 family = addr->Address.lpSockaddr->sa_family; in getifaddrs_ipv6()
3654 …err = AddressToIndexAndMask( addr->Address.lpSockaddr, &ipv4Index, ( struct sockaddr* ) &ipv4Netma… in getifaddrs_ipv6()
3738 memcpy( ifa->ifa_addr, addr->Address.lpSockaddr, (size_t) addr->Address.iSockaddrLength ); in getifaddrs_ipv6()
3751 if( ( prefix->Address.lpSockaddr->sa_family == family ) && ( prefixIndex == addrIndex ) ) in getifaddrs_ipv6()
3753 … check_string( prefix->Address.lpSockaddr->sa_family == family, "addr family != netmask family" ); in getifaddrs_ipv6()
4198 if ( addr->Address.lpSockaddr->sa_family == AF_INET ) in IsPointToPoint()
4207 if ( ( addr->Address.lpSockaddr->sa_family == p->ifa_addr->sa_family ) && in IsPointToPoint()
4208 …( ( ( struct sockaddr_in* ) addr->Address.lpSockaddr )->sin_addr.s_addr == ( ( struct sockaddr_in*… in IsPointToPoint()
/external/libevent/
Devutil.c738 struct sockaddr *sa = a->Address.lpSockaddr; in evutil_check_ifaddrs()