Home
last modified time | relevance | path

Searched refs:kNATEncodedIPv6AddressSize (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/rtc_base/
Dnat_socket_factory.cc39 RTC_DCHECK(buf_size >= kNATEncodedIPv6AddressSize); in PackAddressForNAT()
41 memcpy(&buf[4], &v6addr, kNATEncodedIPv6AddressSize - 4); in PackAddressForNAT()
42 return kNATEncodedIPv6AddressSize; in PackAddressForNAT()
66 return kNATEncodedIPv6AddressSize; in UnpackAddressFromNAT()
141 std::unique_ptr<char[]> buf(new char[size + kNATEncodedIPv6AddressSize]); in SendTo()
143 PackAddressForNAT(buf.get(), size + kNATEncodedIPv6AddressSize, addr); in SendTo()
169 Grow(size + kNATEncodedIPv6AddressSize); in RecvFrom()
299 char buf[kNATEncodedIPv6AddressSize]; in SendConnectRequest()
Dnat_server.cc74 : AsyncProxyServerSocket(socket, kNATEncodedIPv6AddressSize) { in NATProxyServerSocket()
92 (family == AF_INET6 && *len < kNATEncodedIPv6AddressSize)) { in ProcessInput()
204 std::unique_ptr<char[]> real_buf(new char[size + kNATEncodedIPv6AddressSize]); in OnExternalUDPPacket()
206 real_buf.get(), size + kNATEncodedIPv6AddressSize, remote_addr); in OnExternalUDPPacket()
Dnat_socket_factory.h33 const size_t kNATEncodedIPv6AddressSize = 20U; variable