
Go to the source code of this file.
Macros | |
#define | MSG_NOSIGNAL 0 |
Functions | |
int | xaccept (int socketFd, struct sockaddr *sa, socklen_t *saLength) |
POSIX accept(2) equivalent. More... | |
int | xbind (int socketFd, const struct sockaddr *sa, socklen_t saLength) |
POSIX bind(2) equivalent. More... | |
int | xconnect (int socketFd, const struct sockaddr *sa, socklen_t saLength) |
POSIX connect(2) equivalent. More... | |
int | xgetsockopt (int socketFd, int level, int optionName, void *optionValue, socklen_t *optionLength) |
POSIX getsockopt(2) equivalent. More... | |
int | xgetsockname (int socketFd, struct sockaddr *sa, socklen_t *saLength) |
POSIX getsockname(2) equivalent. More... | |
int | xlisten (int socketFd, int backlog) |
POSIX listen(2) equivalent. More... | |
ssize_t | xrecv (int socketFd, void *buf, size_t bufLength, int flags) |
POSIX recv(2) equivalent. More... | |
ssize_t | xrecvfrom (int socketFd, void *buf, size_t bufLength, int flags, struct sockaddr *from, socklen_t *fromLength) |
POSIX recvfrom(2) equivalent. More... | |
ssize_t | xsend (int socketFd, const void *buf, size_t bufLength, int flags) |
POSIX send(2) equivalent. More... | |
ssize_t | xsendto (int socketFd, const void *buf, size_t bufLength, int flags, const struct sockaddr *to, socklen_t toLength) |
POSIX sendto(2) equivalent. More... | |
int | xsetsockopt (int socketFd, int level, int option, const void *value, socklen_t valueLength) |
POSIX setsockopt(2) equivalent. More... | |
int | xsocket (int domain, int type, int protocol) |
POSIX socket(2) equivalent. More... | |
Macro Definition Documentation
◆ MSG_NOSIGNAL
Function Documentation
◆ xaccept()
Definition at line 62 of file socket.h.
Referenced by Comm::TcpAcceptor::acceptInto(), ipc_thread_1(), and ipcCreate().
◆ xbind()
Definition at line 68 of file socket.h.
Referenced by commBind(), and Ip::Intercept::ProbeForTproxy().
◆ xconnect()
Definition at line 74 of file socket.h.
Referenced by comm_connect_addr(), main(), IcmpPinger::Open(), wccp2ConnectionOpen(), and wccpConnectionOpen().
◆ xgetsockname()
Definition at line 80 of file socket.h.
Referenced by Comm::TcpAcceptor::acceptInto(), comm_local_port(), Ipc::ImportFdIntoComm(), ipc_thread_1(), ipcCreate(), Comm::ConnOpener::lookupLocalAddress(), main(), wccp2ConnectionOpen(), and wccpConnectionOpen().
◆ xgetsockopt()
|
inline |
Definition at line 92 of file socket.h.
Referenced by comm_connect_addr(), Ip::Qos::getTosFromServer(), and Ip::Intercept::NetfilterInterception().
◆ xlisten()
Definition at line 86 of file socket.h.
Referenced by ipcCreate(), and Comm::TcpAcceptor::setListen().
◆ xrecv()
Definition at line 98 of file socket.h.
Referenced by ipc_thread_1(), ipc_thread_2(), ipcCreate(), IcmpPinger::Open(), and IcmpPinger::Recv().
◆ xrecvfrom()
|
inline |
Definition at line 104 of file socket.h.
Referenced by authenticate(), comm_udp_recvfrom(), Icmp6::Recv(), and Icmp4::Recv().
◆ xsend()
Definition at line 110 of file socket.h.
Referenced by authenticate(), IcmpSquid::Close(), comm_udp_send(), ipc_thread_1(), ipc_thread_2(), ipcCreate(), ipcSend(), main(), IcmpPinger::Open(), IcmpPinger::SendResult(), wccp2AssignBuckets(), and wccp2HereIam().
◆ xsendto()
|
inline |
Definition at line 116 of file socket.h.
Referenced by comm_udp_sendto(), Icmp6::SendEcho(), and Icmp4::SendEcho().
◆ xsetsockopt()
|
inline |
Definition at line 122 of file socket.h.
Referenced by comm_apply_flags(), comm_set_transparent(), comm_set_v6only(), commConfigureLinger(), commSetBindAddressNoPort(), commSetReuseAddr(), commSetTcpRcvbuf(), ftpOpenListenSocket(), Ip::Qos::getTosFromServer(), ipcCreate(), mcastJoinGroups(), mcastSetTtl(), Ip::Intercept::ProbeForTproxy(), Comm::TcpAcceptor::setListen(), SetSocketOption(), Ip::Qos::setSockNfmark(), Ip::Qos::setSockTos(), ConnStateData::start(), and wccp2ConnectionOpen().
◆ xsocket()
Definition at line 128 of file socket.h.
Referenced by comm_open_uds(), comm_openex(), Eui::Eui48::lookup(), main(), Icmp6::Open(), Icmp4::Open(), and Ip::Intercept::ProbeForTproxy().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products