#include "net/socket/udp_server_socket.h"
#include <utility>
#include "build/build_config.h"
#include "net/base/net_errors.h"
namespace net {
UDPServerSocket::UDPServerSocket(net::NetLog* net_log,
const net::NetLogSource& source)
: … { … }
UDPServerSocket::~UDPServerSocket() = default;
int UDPServerSocket::Listen(const IPEndPoint& address) { … }
int UDPServerSocket::RecvFrom(IOBuffer* buf,
int buf_len,
IPEndPoint* address,
CompletionOnceCallback callback) { … }
int UDPServerSocket::SendTo(IOBuffer* buf,
int buf_len,
const IPEndPoint& address,
CompletionOnceCallback callback) { … }
int UDPServerSocket::SetReceiveBufferSize(int32_t size) { … }
int UDPServerSocket::SetSendBufferSize(int32_t size) { … }
int UDPServerSocket::SetDoNotFragment() { … }
int UDPServerSocket::SetRecvTos() { … }
void UDPServerSocket::SetMsgConfirm(bool confirm) { … }
void UDPServerSocket::Close() { … }
int UDPServerSocket::GetPeerAddress(IPEndPoint* address) const { … }
int UDPServerSocket::GetLocalAddress(IPEndPoint* address) const { … }
const NetLogWithSource& UDPServerSocket::NetLog() const { … }
void UDPServerSocket::AllowAddressReuse() { … }
void UDPServerSocket::AllowBroadcast() { … }
void UDPServerSocket::AllowAddressSharingForMulticast() { … }
int UDPServerSocket::JoinGroup(const IPAddress& group_address) const { … }
int UDPServerSocket::LeaveGroup(const IPAddress& group_address) const { … }
int UDPServerSocket::SetMulticastInterface(uint32_t interface_index) { … }
int UDPServerSocket::SetMulticastTimeToLive(int time_to_live) { … }
int UDPServerSocket::SetMulticastLoopbackMode(bool loopback) { … }
int UDPServerSocket::SetDiffServCodePoint(DiffServCodePoint dscp) { … }
int UDPServerSocket::SetTos(DiffServCodePoint dscp, EcnCodePoint ecn) { … }
void UDPServerSocket::DetachFromThread() { … }
DscpAndEcn UDPServerSocket::GetLastTos() const { … }
void UDPServerSocket::UseNonBlockingIO() { … }
}