Lines Matching full:sockets
17 #include "shill/net/sockets.h"
32 Sockets::Sockets() {}
34 Sockets::~Sockets() {}
42 int Sockets::Accept(int sockfd,
48 int Sockets::AttachFilter(int sockfd, struct sock_fprog* pf) const {
52 int Sockets::Bind(int sockfd,
58 int Sockets::BindToDevice(int sockfd, const std::string& device) const {
67 int Sockets::ReuseAddress(int sockfd) const {
72 int Sockets::AddMulticastMembership(int sockfd, in_addr_t addr) const {
79 int Sockets::Close(int fd) const {
83 int Sockets::Connect(int sockfd,
89 int Sockets::Error() const {
93 std::string Sockets::ErrorString() const {
97 int Sockets::GetSockName(int sockfd,
104 int Sockets::GetSocketError(int sockfd) const {
114 int Sockets::Ioctl(int d, int request, void* argp) const {
118 int Sockets::Listen(int sockfd, int backlog) const {
122 ssize_t Sockets::RecvFrom(int sockfd,
131 int Sockets::Select(int nfds,
139 ssize_t Sockets::Send(int sockfd,
146 ssize_t Sockets::SendTo(int sockfd,
155 int Sockets::SetNonBlocking(int sockfd) const {
160 int Sockets::SetReceiveBuffer(int sockfd, int size) const {
165 int Sockets::ShutDown(int sockfd, int how) const {
169 int Sockets::Socket(int domain, int type, int protocol) const {
173 ScopedSocketCloser::ScopedSocketCloser(Sockets* sockets, int fd)
174 : sockets_(sockets),
179 fd_ = Sockets::kInvalidFileDescriptor;
184 fd_ = Sockets::kInvalidFileDescriptor;