|
XRootD
|
#include <XrdNetSocket.hh>
Collaboration diagram for XrdNetSocket:Public Member Functions | |
| XrdNetSocket (XrdSysError *erobj=0, int SockFileDesc=-1) | |
| ~XrdNetSocket () | |
| int | Accept (int ms=-1) |
| void | Close () |
| int | Detach () |
| int | LastError () |
| int | Open (const char *path, int port=-1, int flags=0, int sockbuffsz=0) |
| const char * | Peername (const struct sockaddr **InetAddr=0, int *InetSize=0) |
| const char * | SockData (XrdNetSockAddr &InetAddr) |
| int | SockName (char *buff, int blen) |
| int | SockNum () |
Static Public Member Functions | |
| static XrdNetSocket * | Create (XrdSysError *Say, const char *path, const char *fn, mode_t mode, int isudp=0) |
| static int | getWindow (int fd, int &Windowsz, XrdSysError *eDest=0) |
| static int | setOpts (int fd, int options, XrdSysError *eDest=0) |
| static int | setWindow (int fd, int Windowsz, XrdSysError *eDest=0) |
| static char * | socketPath (XrdSysError *Say, char *inbuff, const char *path, const char *fn, mode_t mode) |
Definition at line 47 of file XrdNetSocket.hh.
| XrdNetSocket::XrdNetSocket | ( | XrdSysError * | erobj = 0, |
| int | SockFileDesc = -1 ) |
Definition at line 88 of file XrdNetSocket.cc.
Referenced by Create().
Here is the caller graph for this function:
|
inline |
Definition at line 59 of file XrdNetSocket.hh.
References Close().
Here is the call graph for this function:| int XrdNetSocket::Accept | ( | int | ms = -1 | ) |
Definition at line 99 of file XrdNetSocket.cc.
References XrdSysError::Emsg().
Referenced by XrdCmsAdmin::Start(), and XrdXrootdAdmin::Start().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdNetSocket::Close | ( | ) |
Definition at line 129 of file XrdNetSocket.cc.
References close.
Referenced by ~XrdNetSocket(), and Open().
Here is the caller graph for this function:
|
static |
Definition at line 144 of file XrdNetSocket.cc.
References XrdNetSocket(), eMsg, LastError(), Open(), opts, Say, socketPath(), XRDNET_FIFO, XRDNET_NOCLOSEX, XRDNET_SERVER, and XRDNET_UDPSOCKET.
Referenced by XrdXrootdProtocol::Configure(), XrdCmsConfig::Configure2(), XrdOfsEvr::Init(), mainConfig(), XrdFrmXfrDaemon::Pong(), XrdBwmLogger::Start(), and XrdOfsEvs::Start().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdNetSocket::Detach | ( | ) |
Definition at line 189 of file XrdNetSocket.cc.
Referenced by XrdNet::Bind(), XrdNet::Bind(), XrdNet::Connect(), XrdNet::Connect(), XrdOfsEvr::Init(), main(), mainConfig(), XrdCmsAdmin::Notes(), XrdFrmXfrDaemon::Pong(), XrdBwmLogger::Start(), and XrdOfsEvs::Start().
Here is the caller graph for this function:
|
static |
Definition at line 199 of file XrdNetSocket.cc.
References eDest, and Sokdata_t.
Referenced by XrdNet::WSize().
Here is the caller graph for this function:
|
inline |
Definition at line 107 of file XrdNetSocket.hh.
Referenced by XrdNet::Bind(), XrdNet::Bind(), Create(), and main().
Here is the caller graph for this function:| int XrdNetSocket::Open | ( | const char * | path, |
| int | port = -1, | ||
| int | flags = 0, | ||
| int | sockbuffsz = 0 ) |
Definition at line 214 of file XrdNetSocket.cc.
References Close(), XrdNetConnect::Connect(), Err, Open(), XrdNetAddr::PortInSpec, setOpts(), setWindow(), SOCKLEN_t, Sokdata_t, unlink, XRDNET_BKLG, XRDNET_NOEMSG, XRDNET_SERVER, XRDNET_TOUT, XRDNET_UDPSOCKET, and XRDNETSOCKET_MAXBKLG.
Referenced by XrdNet::Bind(), XrdNet::Bind(), XrdNet::Connect(), XrdNet::Connect(), Create(), main(), and Open().
Here is the call graph for this function:
Here is the caller graph for this function:| const char * XrdNetSocket::Peername | ( | const struct sockaddr ** | InetAddr = 0, |
| int * | InetSize = 0 ) |
Definition at line 313 of file XrdNetSocket.cc.
Referenced by XrdNet::Connect().
Here is the caller graph for this function:
|
static |
Definition at line 345 of file XrdNetSocket.cc.
References eDest, XrdNetSocketCFG::ka_Icnt, XrdNetSocketCFG::ka_Idle, XrdNetSocketCFG::ka_Itvl, opts, XrdNetUtils::ProtoID(), SOCKLEN_t, Sokdata_t, XRDNET_DELAY, XRDNET_KEEPALIVE, XRDNET_NOCLOSEX, XRDNET_NOLINGER, XRDNET_SERVER, XRDNET_UDPSOCKET, and XRDNETSOCKET_LINGER.
Referenced by XrdInet::BindSD(), Open(), XrdCmsAdmin::Relay(), and XrdCmsAdmin::Start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 409 of file XrdNetSocket.cc.
References eDest, SOCKLEN_t, and Sokdata_t.
Referenced by Open().
Here is the caller graph for this function:| const char * XrdNetSocket::SockData | ( | XrdNetSockAddr & | InetAddr | ) |
Definition at line 432 of file XrdNetSocket.cc.
Referenced by XrdNet::Connect().
Here is the caller graph for this function:
|
static |
Definition at line 492 of file XrdNetSocket.cc.
References access, XrdOucUtils::makePath(), Say, stat, and strlcpy().
Referenced by Create(), and XrdCmsSupervisor::Init().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdNetSocket::SockName | ( | char * | buff, |
| int | blen ) |
Definition at line 475 of file XrdNetSocket.cc.
Referenced by XrdCmsAdmin::Start().
Here is the caller graph for this function:
|
inline |
Definition at line 145 of file XrdNetSocket.hh.