Searched refs:si6 (Results 1 – 1 of 1) sorted by relevance
/external/fio/os/windows/ |
D | posix.c | 919 struct sockaddr_in6 si6; in inet_ntop() local 921 memset(&si6, 0, sizeof(si6)); in inet_ntop() 922 si6.sin6_family = af; in inet_ntop() 923 memcpy(&si6.sin6_addr, src, sizeof(si6.sin6_addr)); in inet_ntop() 924 status = WSAAddressToString((struct sockaddr*)&si6, sizeof(si6), NULL, dst, &len); in inet_ntop() 959 struct sockaddr_in6 si6; in inet_pton() local 960 INT len = sizeof(si6); in inet_pton() 961 memset(&si6, 0, sizeof(si6)); in inet_pton() 962 si6.sin6_family = af; in inet_pton() 963 status = WSAStringToAddressA((char*)src, af, NULL, (struct sockaddr*)&si6, &len); in inet_pton() [all …]
|