Lines Matching refs:rtc
33 class UdpPacketSocket : public rtc::AsyncPacketSocket {
38 bool Init(const rtc::SocketAddress& local_address,
41 // rtc::AsyncPacketSocket interface.
42 virtual rtc::SocketAddress GetLocalAddress() const OVERRIDE;
43 virtual rtc::SocketAddress GetRemoteAddress() const OVERRIDE;
45 const rtc::PacketOptions& options) OVERRIDE;
47 const rtc::SocketAddress& address,
48 const rtc::PacketOptions& options) OVERRIDE;
51 virtual int GetOption(rtc::Socket::Option option, int* value) OVERRIDE;
52 virtual int SetOption(rtc::Socket::Option option, int value) OVERRIDE;
81 rtc::SocketAddress local_address_;
115 bool UdpPacketSocket::Init(const rtc::SocketAddress& local_address,
151 rtc::SocketAddress UdpPacketSocket::GetLocalAddress() const {
156 rtc::SocketAddress UdpPacketSocket::GetRemoteAddress() const {
159 return rtc::SocketAddress();
163 const rtc::PacketOptions& options) {
170 const rtc::SocketAddress& address,
171 const rtc::PacketOptions& options) {
203 rtc::AsyncPacketSocket::State UdpPacketSocket::GetState() const {
207 int UdpPacketSocket::GetOption(rtc::Socket::Option option, int* value) {
213 int UdpPacketSocket::SetOption(rtc::Socket::Option option, int value) {
220 case rtc::Socket::OPT_DONTFRAGMENT:
224 case rtc::Socket::OPT_RCVBUF: {
229 case rtc::Socket::OPT_SNDBUF: {
234 case rtc::Socket::OPT_NODELAY:
239 case rtc::Socket::OPT_IPV6_V6ONLY:
243 case rtc::Socket::OPT_DSCP:
247 case rtc::Socket::OPT_RTP_SENDTIME_EXTN_ID:
339 rtc::SocketAddress address;
346 rtc::CreatePacketTime(0));
360 rtc::AsyncPacketSocket* ChromiumPacketSocketFactory::CreateUdpSocket(
361 const rtc::SocketAddress& local_address,
369 rtc::AsyncPacketSocket*
371 const rtc::SocketAddress& local_address,
379 rtc::AsyncPacketSocket*
381 const rtc::SocketAddress& local_address,
382 const rtc::SocketAddress& remote_address,
383 const rtc::ProxyInfo& proxy_info,
391 rtc::AsyncResolverInterface*
393 return new rtc::AsyncResolver();