Lines Matching refs:mSocketFd
64 Socket::Socket() : mSocketFd(-1) { in Socket()
68 if (mSocketFd != -1) { in ~Socket()
69 ::close(mSocketFd); in ~Socket()
70 mSocketFd = -1; in ~Socket()
76 if (mSocketFd != -1) { in open()
79 mSocketFd = ::socket(domain, type, protocol); in open()
80 if (mSocketFd == -1) { in open()
87 if (mSocketFd == -1) { in bind()
91 int status = ::bind(mSocketFd, in bind()
125 if (mSocketFd == -1) { in sendOnInterface()
159 ssize_t status = ::sendmsg(mSocketFd, &header, 0); in sendOnInterface()
227 ssize_t res = ::sendmsg(mSocketFd, &header, 0); in sendRawUdp()
247 ssize_t bytesRead = ::recvmsg(mSocketFd, &header, 0); in receiveFromInterface()
281 ssize_t bytesRead = ::readv(mSocketFd, iov, 3); in receiveRawUdp()
300 if (mSocketFd == -1) { in enableOption()
305 int status = ::setsockopt(mSocketFd, in enableOption()