Searched refs:ipv6Buf (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
H A D | ipv6_address.cpp | 86 struct in6_addr ipv6Buf = IN6ADDR_ANY_INIT; in Create() local 87 inet_pton(AF_INET6, ipv6Prefix.c_str(), &ipv6Buf); in Create() 89 struct in6_addr ipv6 = GetIpv6Prefix(ipv6Buf, prefixLength); in Create() 113 char ipv6Buf[INET6_ADDRSTRLEN] = {0}; in Create() local 114 if (inet_ntop(AF_INET6, &i6Addr, ipv6Buf, INET6_ADDRSTRLEN) == nullptr) { in Create() 117 return Ipv6Address(ipv6Buf, prefixLength); in Create() 311 char ipv6Buf[INET6_ADDRSTRLEN] = {0}; in GetRandomAddr() local 312 inet_ntop(AF_INET6, &ipv6Addr, ipv6Buf, INET6_ADDRSTRLEN); in GetRandomAddr() 313 std::string res = ipv6Buf; in GetRandomAddr()
|