|
XRootD
|
#include <XrdLinkXeq.hh>
Inheritance diagram for XrdLinkXeq:
Collaboration diagram for XrdLinkXeq:Public Member Functions | |
| XrdLinkXeq () | |
| ~XrdLinkXeq () | |
| XrdNetAddrInfo * | AddrInfo () |
| int | Backlog () |
| int | Client (char *buff, int blen) |
| int | Close (bool defer=false) |
| void | DoIt () |
| int | getIOStats (long long &inbytes, long long &outbytes, int &numstall, int &numtardy) |
| XrdTlsPeerCerts * | getPeerCerts () |
| XrdProtocol * | getProtocol () |
| const char * | Name () const |
| const XrdNetAddr * | NetAddr () const |
| int | Peek (char *buff, int blen, int timeout=-1) |
| int | Recv (char *buff, int blen) |
| int | Recv (char *buff, int blen, int timeout) |
| int | Recv (const struct iovec *iov, int iocnt, int timeout) |
| int | RecvAll (char *buff, int blen, int timeout=-1) |
| bool | Register (const char *hName) |
| bool | RegisterCloseRequestCb (XrdProtocol *pp, bool(*cb)(void *), void *cbarg) |
| int | Send (const char *buff, int blen) |
| int | Send (const sfVec *sdP, int sdn) |
| int | Send (const struct iovec *iov, int iocnt, int bytes=0) |
| void | setID (const char *userid, int procid) |
| void | setLocation (XrdNetAddrInfo::LocInfo &loc) |
| bool | setNB () |
| void | setProtName (const char *name) |
| XrdProtocol * | setProtocol (XrdProtocol *pp, bool push) |
| bool | setTLS (bool enable, XrdTlsContext *ctx=0) |
| void | Shutdown (bool getLock) |
| void | syncStats (int *ctime=0) |
| int | TLS_Peek (char *Buff, int Blen, int timeout) |
| int | TLS_Recv (char *Buff, int Blen) |
| int | TLS_Recv (char *Buff, int Blen, int timeout, bool havelock=false) |
| int | TLS_Recv (const struct iovec *iov, int iocnt, int timeout) |
| int | TLS_RecvAll (char *Buff, int Blen, int timeout) |
| int | TLS_Send (const char *Buff, int Blen) |
| int | TLS_Send (const sfVec *sfP, int sfN) |
| int | TLS_Send (const struct iovec *iov, int iocnt, int bytes) |
| const char * | verTLS () |
Static Public Member Functions | |
| static int | getName (int &curr, char *bname, int blen, XrdLinkMatch *who=0) |
| static int | Stats (char *buff, int blen, bool do_sync=false) |
Public Attributes | |
| XrdLinkInfo | LinkInfo |
| XrdPollInfo | PollInfo |
Protected Member Functions | |
| int | RecvIOV (const struct iovec *iov, int iocnt) |
| void | Reset () |
| int | sendData (const char *Buff, int Blen) |
| int | SendIOV (const struct iovec *iov, int iocnt, int bytes) |
| int | SFError (int rc) |
| int | TLS_Error (const char *act, XrdTls::RC rc) |
| bool | TLS_Write (const char *Buff, int Blen) |
Protected Member Functions inherited from XrdLink | |
| ~XrdLink () | |
| void | ResetLink () |
| int | Wait4Data (int timeout) |
| XrdLink (XrdLinkXeq &lxq) | |
| bool | Activate () |
| XrdNetAddrInfo * | AddrInfo () |
| void | armBridge () |
| Mark this link as an in-memory communications bridge (internal use only). More... | |
| int | Backlog () |
| int | Client (char *buff, int blen) |
| int | Close (bool defer=false) |
| void | Enable () |
| Enable the link to field interrupts. More... | |
| int | FDnum () |
| int | getIOStats (long long &inbytes, long long &outbytes, int &numstall, int &numtardy) |
| XrdTlsPeerCerts * | getPeerCerts () |
| XrdProtocol * | getProtocol () |
| Obtain current protocol object pointer. More... | |
| bool | hasBridge () const |
| bool | hasTLS () const |
| void | Hold (bool lk) |
| const char * | Host () const |
| unsigned int | Inst () const |
| bool | isFlawed () const |
| bool | isInstance (unsigned int inst) const |
| const char * | Name () const |
| const XrdNetAddr * | NetAddr () const |
| int | Peek (char *buff, int blen, int timeout=-1) |
| int | Recv (char *buff, int blen) |
| int | Recv (char *buff, int blen, int timeout) |
| int | Recv (const struct iovec *iov, int iocnt, int timeout) |
| int | RecvAll (char *buff, int blen, int timeout=-1) |
| bool | Register (const char *hName) |
| int | Send (const char *buff, int blen) |
| int | Send (const sfVec *sdP, int sdn) |
| int | Send (const struct iovec *iov, int iocnt, int bytes=0) |
| void | Serialize () |
| Wait for all outstanding requests to be completed on the link. More... | |
| int | setEtext (const char *text) |
| void | setID (const char *userid, int procid) |
| void | setLocation (XrdNetAddrInfo::LocInfo &loc) |
| bool | setNB () |
| void | setProtName (const char *name) |
| XrdProtocol * | setProtocol (XrdProtocol *pp, bool runit=false, bool push=false) |
| void | setRef (int cnt) |
| bool | setTLS (bool enable, XrdTlsContext *ctx=0) |
| Enable or disable TLS on the link. More... | |
| void | Shutdown (bool getLock) |
| void | syncStats (int *ctime=0) |
| int | Terminate (const char *owner, int fdnum, unsigned int inst) |
| time_t | timeCon () const |
| Return the time the link was made active (i.e. time of connection). More... | |
| int | UseCnt () const |
| Return link's reference count. More... | |
| const char * | verTLS () |
Protected Member Functions inherited from XrdJob | |
| XrdJob (const char *desc="") | |
| virtual | ~XrdJob () |
Protected Attributes | |
| XrdNetAddr | Addr |
| long long | BytesIn |
| long long | BytesInTot |
| long long | BytesOut |
| long long | BytesOutTot |
| bool(* | CloseRequestCb )(void *) |
| void * | CloseRequestCbArg |
| int | HNlen |
| char | isIdle |
| bool | KeepFD |
| char | Lname [256] |
| bool | LockReads |
| XrdProtocol * | ProtoAlt |
| XrdProtocol * | Protocol |
| XrdSysMutex | rdMutex |
| XrdSendQ * | sendQ |
| int | SfIntr |
| int | stallCnt |
| int | stallCntTot |
| int | tardyCnt |
| int | tardyCntTot |
| XrdTlsSocket | tlsIO |
| char | Uname [24] |
| XrdSysMutex | wrMutex |
Protected Attributes inherited from XrdLink | |
| char * | HostName |
| unsigned int | Instance |
| bool | isBridged |
| bool | isTLS |
| XrdLinkXeq & | linkXQ |
| void * | rsvd1 [3] |
| char | rsvd2 [2] |
| char * | ID |
| Pointer to the client's link identity. More... | |
Protected Attributes inherited from XrdJob | |
| const char * | Comment |
| XrdJob * | NextJob |
Static Protected Attributes | |
| static long long | LinkBytesIn = 0 |
| static long long | LinkBytesOut = 0 |
| static long long | LinkConTime = 0 |
| static int | LinkCount = 0 |
| static int | LinkCountMax = 0 |
| static long long | LinkCountTot = 0 |
| static int | LinkSfIntr = 0 |
| static int | LinkStalls = 0 |
| static int | LinkTimeOuts = 0 |
| static XrdSysMutex | statsMutex |
| static const char * | TraceID = "LinkXeq" |
Static Protected Attributes inherited from XrdLink | |
| static bool | sfOK = false |
Additional Inherited Members | |
Protected Types inherited from XrdLink | |
| typedef XrdOucSFVec | sfVec |
Static Protected Member Functions inherited from XrdLink | |
| static XrdLink * | Find (int &curr, XrdLinkMatch *who=0) |
| static int | getName (int &curr, char *bname, int blen, XrdLinkMatch *who=0) |
| static int | Stats (char *buff, int blen, bool do_sync=0) |
Definition at line 52 of file XrdLinkXeq.hh.
| XrdLinkXeq::XrdLinkXeq | ( | ) |
Definition at line 108 of file XrdLinkXeq.cc.
References Reset().
Here is the call graph for this function:
|
inline |
Definition at line 145 of file XrdLinkXeq.hh.
|
inline |
Definition at line 57 of file XrdLinkXeq.hh.
References Addr.
Referenced by XrdLink::AddrInfo().
Here is the caller graph for this function:| int XrdLinkXeq::Backlog | ( | ) |
Definition at line 140 of file XrdLinkXeq.cc.
References XrdSendQ::Backlog(), sendQ, and wrMutex.
Referenced by XrdLink::Backlog().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::Client | ( | char * | buff, |
| int | blen | ||
| ) |
Definition at line 153 of file XrdLinkXeq.cc.
References HNlen, XrdLink::HostName, XrdLink::ID, and Lname.
Referenced by XrdLink::Client(), and XrdLinkCtl::getName().
Here is the caller graph for this function:| int XrdLinkXeq::Close | ( | bool | defer = false | ) |
Definition at line 173 of file XrdLinkXeq.cc.
References Addr, XrdTcpMonPin::LinkInfo::bytesIn, BytesInTot, XrdTcpMonPin::LinkInfo::bytesOut, BytesOutTot, close, XrdTcpMonPin::LinkInfo::consec, DEBUG, XrdPoll::Detach(), XrdSysError::Emsg(), XrdLinkInfo::Etext, XrdLinkInfo::FD, XrdPollInfo::FD, XrdTcpMonPin::LinkInfo::fd, XrdLink::ID, XrdLink::Instance, XrdLinkInfo::InUse, XrdLink::isTLS, KeepFD, XrdLinkInfo::KillcvP, LinkInfo, XrdSysCondVar::Lock(), XrdSysMutex::Lock(), XrdSysMutexHelper::Lock(), XrdGlobal::Log, XrdTcpMonPin::Monitor(), XrdLinkInfo::opMutex, XrdPollInfo::Poller, PollInfo, ProtoAlt, Protocol, XrdProtocol::Recycle(), sendQ, XrdLink::Serialize(), Shutdown(), XrdTlsSocket::Shutdown(), XrdSysCondVar::Signal(), syncStats(), XrdGlobal::TcpMonPin, XrdSendQ::Terminate(), XrdTcpMonPin::LinkInfo::tident, tlsIO, TRACEI, XrdLinkCtl::Unhook(), XrdSysCondVar::UnLock(), XrdSysMutex::UnLock(), XrdSysMutexHelper::UnLock(), and wrMutex.
Referenced by XrdLink::Close(), and DoIt().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from XrdLink.
Definition at line 293 of file XrdLinkXeq.cc.
References XrdScheduler::canStick(), Close(), CloseRequestCb, CloseRequestCbArg, XrdSysError::Emsg(), XrdPoll::Enable(), XrdLink::ID, XrdGlobal::Log, XrdPollInfo::Poller, PollInfo, XrdProtocol::Process(), Protocol, and XrdGlobal::Sched.
Here is the call graph for this function:
|
inline |
Definition at line 68 of file XrdLinkXeq.hh.
References BytesIn, BytesInTot, BytesOut, BytesOutTot, XrdLinkInfo::InUse, LinkInfo, stallCnt, stallCntTot, tardyCnt, and tardyCntTot.
Referenced by XrdLink::getIOStats().
Here is the caller graph for this function:
|
static |
| XrdTlsPeerCerts * XrdLinkXeq::getPeerCerts | ( | ) |
Definition at line 331 of file XrdLinkXeq.cc.
References XrdTlsSocket::getCerts(), XrdLink::isTLS, and tlsIO.
Referenced by XrdLink::getPeerCerts().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 82 of file XrdLinkXeq.hh.
References Protocol.
Referenced by XrdLink::getProtocol(), and XrdLink::Terminate().
Here is the caller graph for this function:
|
inline |
Definition at line 85 of file XrdLinkXeq.hh.
References Lname.
Referenced by XrdLink::Name().
Here is the caller graph for this function:
|
inline |
Definition at line 88 of file XrdLinkXeq.hh.
References Addr.
Referenced by XrdLink::NetAddr().
Here is the caller graph for this function:| int XrdLinkXeq::Peek | ( | char * | buff, |
| int | blen, | ||
| int | timeout = -1 |
||
| ) |
Definition at line 340 of file XrdLinkXeq.cc.
References XrdSysError::Emsg(), XrdLinkInfo::FD, XrdPollInfo::FD, XrdLink::ID, isIdle, LinkInfo, XrdSysMutexHelper::Lock(), LockReads, XrdGlobal::Log, XrdPoll::Poll2Text(), PollInfo, and rdMutex.
Referenced by XrdLink::Peek().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::Recv | ( | char * | buff, |
| int | blen | ||
| ) |
Definition at line 383 of file XrdLinkXeq.cc.
References AtomicAdd, BytesIn, XrdSysError::Emsg(), XrdLinkInfo::FD, XrdLink::ID, isIdle, LinkInfo, XrdSysMutex::Lock(), LockReads, XrdGlobal::Log, rdMutex, read(), and XrdSysMutex::UnLock().
Referenced by XrdLink::Recv().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::Recv | ( | char * | buff, |
| int | blen, | ||
| int | timeout | ||
| ) |
Definition at line 403 of file XrdLinkXeq.cc.
References AtomicAdd, BytesIn, DEBUG, XrdSysError::Emsg(), XrdLinkInfo::FD, XrdPollInfo::FD, XrdLink::ID, isIdle, LinkInfo, XrdSysMutexHelper::Lock(), LockReads, XrdGlobal::Log, XrdPoll::Poll2Text(), PollInfo, rdMutex, stallCnt, tardyCnt, and TRACEI.
Here is the call graph for this function:| int XrdLinkXeq::Recv | ( | const struct iovec * | iov, |
| int | iocnt, | ||
| int | timeout | ||
| ) |
Definition at line 458 of file XrdLinkXeq.cc.
References AtomicAdd, BytesIn, XrdSysError::Emsg(), XrdLinkInfo::FD, XrdPollInfo::FD, XrdLink::ID, isIdle, LinkInfo, XrdSysMutexHelper::Lock(), LockReads, XrdGlobal::Log, XrdGlobal::maxIOV, XrdPoll::Poll2Text(), PollInfo, rdMutex, RecvIOV(), and tardyCnt.
Here is the call graph for this function:| int XrdLinkXeq::RecvAll | ( | char * | buff, |
| int | blen, | ||
| int | timeout = -1 |
||
| ) |
Definition at line 519 of file XrdLinkXeq.cc.
References AtomicAdd, BytesIn, DEBUG, XrdSysError::Emsg(), XrdLinkInfo::FD, XrdPollInfo::FD, XrdLink::ID, isIdle, LinkInfo, XrdSysMutex::Lock(), LockReads, XrdGlobal::Log, XrdPoll::Poll2Text(), PollInfo, rdMutex, TRACEI, and XrdSysMutex::UnLock().
Referenced by XrdLink::RecvAll().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 561 of file XrdLinkXeq.cc.
References XrdSysError::Emsg(), XrdLinkInfo::FD, XrdLink::ID, LinkInfo, XrdGlobal::Log, and readv().
Referenced by Recv().
Here is the call graph for this function:
Here is the caller graph for this function:| bool XrdLinkXeq::Register | ( | const char * | hName | ) |
Definition at line 583 of file XrdLinkXeq.cc.
References Addr, XrdLink::HostName, Lname, XrdNetAddr::Register(), and strlcpy().
Referenced by XrdLink::Register().
Here is the call graph for this function:
Here is the caller graph for this function:| bool XrdLinkXeq::RegisterCloseRequestCb | ( | XrdProtocol * | pp, |
| bool(*)(void *) | cb, | ||
| void * | cbarg | ||
| ) |
Definition at line 1469 of file XrdLinkXeq.cc.
References CloseRequestCb, CloseRequestCbArg, and Protocol.
Referenced by XrdLinkCtl::RegisterCloseRequestCb().
Here is the caller graph for this function:
|
protected |
Definition at line 113 of file XrdLinkXeq.cc.
References BytesIn, BytesInTot, BytesOut, BytesOutTot, CloseRequestCb, XrdJob::Comment, XrdLink::ID, isIdle, KeepFD, LinkInfo, Lname, LockReads, PollInfo, ProtoAlt, Protocol, XrdLinkInfo::Reset(), XrdLink::ResetLink(), sendQ, SfIntr, stallCnt, stallCntTot, tardyCnt, tardyCntTot, Uname, and XrdPollInfo::Zorch().
Referenced by XrdLinkXeq(), and XrdLinkCtl::Alloc().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::Send | ( | const char * | buff, |
| int | blen | ||
| ) |
Definition at line 602 of file XrdLinkXeq.cc.
References AtomicAdd, BytesOut, XrdSysError::Emsg(), XrdLinkInfo::FD, XrdLink::ID, isIdle, LinkInfo, XrdSysMutex::Lock(), XrdGlobal::Log, XrdSendQ::Send(), sendQ, XrdSysMutex::UnLock(), write(), and wrMutex.
Referenced by XrdLink::Send().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::Send | ( | const sfVec * | sdP, |
| int | sdn | ||
| ) |
Definition at line 689 of file XrdLinkXeq.cc.
References AtomicAdd, BytesOut, XrdSysError::Emsg(), XrdLinkInfo::FD, XrdPollInfo::FD, XrdOucSFVec::fdnum, XrdLink::ID, isIdle, LinkInfo, XrdSysMutex::Lock(), XrdGlobal::Log, PollInfo, sendData(), XrdOucSFVec::sendsz, SfIntr, XrdOucSFVec::sfMax, XrdLink::sfOK, XrdSysMutex::UnLock(), and wrMutex.
Here is the call graph for this function:| int XrdLinkXeq::Send | ( | const struct iovec * | iov, |
| int | iocnt, | ||
| int | bytes = 0 |
||
| ) |
Definition at line 640 of file XrdLinkXeq.cc.
References AtomicAdd, BytesOut, isIdle, XrdSysMutex::Lock(), XrdGlobal::maxIOV, XrdSendQ::Send(), SendIOV(), sendQ, XrdSysMutex::UnLock(), and wrMutex.
Here is the call graph for this function:
|
protected |
Definition at line 824 of file XrdLinkXeq.cc.
References XrdLinkInfo::FD, LinkInfo, and write().
Referenced by Send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 847 of file XrdLinkXeq.cc.
References XrdSysError::Emsg(), XrdLinkInfo::FD, XrdLink::ID, LinkInfo, XrdGlobal::Log, write(), and writev().
Referenced by Send().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdLinkXeq::setID | ( | const char * | userid, |
| int | procid | ||
| ) |
Definition at line 888 of file XrdLinkXeq.cc.
References XrdJob::Comment, XrdPollInfo::FD, XrdLink::ID, XrdLink::isTLS, PollInfo, XrdTlsSocket::SetTraceID(), tlsIO, and Uname.
Referenced by XrdLink::setID().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 107 of file XrdLinkXeq.hh.
References Addr, and XrdNetAddr::SetLocation().
Referenced by XrdLink::setLocation().
Here is the call graph for this function:
Here is the caller graph for this function:| bool XrdLinkXeq::setNB | ( | ) |
Definition at line 912 of file XrdLinkXeq.cc.
References DEBUG, LinkInfo, XrdSysMutex::Lock(), XrdLinkInfo::opMutex, sendQ, TRACEI, XrdSysMutex::UnLock(), and wrMutex.
Referenced by XrdLink::setNB().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdLinkXeq::setProtName | ( | const char * | name | ) |
Definition at line 958 of file XrdLinkXeq.cc.
References Addr, LinkInfo, XrdSysMutex::Lock(), XrdLinkInfo::opMutex, XrdNetAddr::SetDialect(), and XrdSysMutex::UnLock().
Referenced by XrdLink::setProtName().
Here is the call graph for this function:
Here is the caller graph for this function:| XrdProtocol * XrdLinkXeq::setProtocol | ( | XrdProtocol * | pp, |
| bool | push | ||
| ) |
Definition at line 941 of file XrdLinkXeq.cc.
References LinkInfo, XrdSysMutex::Lock(), XrdLinkInfo::opMutex, ProtoAlt, Protocol, and XrdSysMutex::UnLock().
Referenced by XrdLink::setProtocol().
Here is the call graph for this function:
Here is the caller graph for this function:| bool XrdLinkXeq::setTLS | ( | bool | enable, |
| XrdTlsContext * | ctx = 0 |
||
| ) |
Definition at line 972 of file XrdLinkXeq.cc.
References XrdTlsSocket::Accept(), Addr, XrdSysError::Emsg(), eMsg, XrdPollInfo::FD, XrdLink::ID, XrdTlsSocket::Init(), XrdLink::isTLS, XrdGlobal::Log, PollInfo, XrdNetAddr::SetTLS(), XrdTlsSocket::Shutdown(), XrdTls::TLS_AOK, XrdTlsSocket::TLS_HS_BLOCK, XrdTlsSocket::TLS_RBL_WBL, XrdGlobal::tlsCtx, tlsIO, and verTLS().
Referenced by XrdLink::setTLS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1026 of file XrdLinkXeq.cc.
References XrdSysError::Emsg(), XrdLink::ID, and XrdGlobal::Log.
Referenced by TLS_Send().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdLinkXeq::Shutdown | ( | bool | getLock | ) |
Definition at line 1036 of file XrdLinkXeq.cc.
References DEBUG, XrdGlobal::devNull, XrdSysError::Emsg(), XrdPollInfo::FD, XrdLink::ID, XrdLink::Instance, KeepFD, LinkInfo, XrdSysMutex::Lock(), XrdGlobal::Log, XrdLinkInfo::opMutex, PollInfo, TRACEI, and XrdSysMutex::UnLock().
Referenced by Close(), and XrdLink::Shutdown().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1068 of file XrdLinkXeq.cc.
References AtomicBeg, AtomicEnd, AtomicGet, LinkBytesIn, LinkBytesOut, LinkConTime, LinkCount, LinkCountMax, LinkCountTot, LinkSfIntr, LinkStalls, LinkTimeOuts, statsMutex, and XrdLinkCtl::SyncAll().
Referenced by XrdLink::Stats().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdLinkXeq::syncStats | ( | int * | ctime = 0 | ) |
Definition at line 1104 of file XrdLinkXeq.cc.
References AtomicAdd, AtomicBeg, AtomicDec, AtomicEnd, AtomicFAZ, BytesIn, BytesInTot, BytesOut, BytesOutTot, XrdLinkInfo::conTime, LinkBytesIn, LinkBytesOut, LinkConTime, LinkCount, LinkInfo, LinkSfIntr, LinkStalls, LinkTimeOuts, XrdSysMutex::Lock(), XrdLinkInfo::opMutex, Protocol, rdMutex, SfIntr, stallCnt, stallCntTot, XrdProtocol::Stats(), statsMutex, tardyCnt, tardyCntTot, XrdSysMutex::UnLock(), and wrMutex.
Referenced by Close(), and XrdLink::syncStats().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1161 of file XrdLinkXeq.cc.
References XrdSysError::Emsg(), XrdLink::ID, XrdGlobal::Log, and XrdTls::RC2Text().
Referenced by TLS_Peek(), TLS_Recv(), TLS_Send(), and TLS_Write().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::TLS_Peek | ( | char * | Buff, |
| int | Blen, | ||
| int | timeout | ||
| ) |
Definition at line 1175 of file XrdLinkXeq.cc.
References isIdle, XrdSysMutexHelper::Lock(), LockReads, XrdTlsSocket::Peek(), rdMutex, XrdTls::TLS_AOK, TLS_Error(), tlsIO, and XrdLink::Wait4Data().
Referenced by XrdLink::Peek().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::TLS_Recv | ( | char * | Buff, |
| int | Blen | ||
| ) |
Definition at line 1207 of file XrdLinkXeq.cc.
References AtomicAdd, BytesIn, isIdle, XrdSysMutexHelper::Lock(), LockReads, rdMutex, XrdTlsSocket::Read(), XrdTls::TLS_AOK, TLS_Error(), and tlsIO.
Referenced by XrdLink::Recv(), TLS_Recv(), and TLS_RecvAll().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::TLS_Recv | ( | char * | Buff, |
| int | Blen, | ||
| int | timeout, | ||
| bool | havelock = false |
||
| ) |
Definition at line 1229 of file XrdLinkXeq.cc.
References AtomicAdd, BytesIn, DEBUG, isIdle, XrdSysMutexHelper::Lock(), LockReads, XrdTlsSocket::Pending(), rdMutex, XrdTlsSocket::Read(), stallCnt, tardyCnt, XrdTls::TLS_AOK, TLS_Error(), tlsIO, TRACEI, and XrdLink::Wait4Data().
Here is the call graph for this function:| int XrdLinkXeq::TLS_Recv | ( | const struct iovec * | iov, |
| int | iocnt, | ||
| int | timeout | ||
| ) |
Definition at line 1276 of file XrdLinkXeq.cc.
References AtomicAdd, BytesIn, isIdle, XrdSysMutexHelper::Lock(), LockReads, rdMutex, and TLS_Recv().
Here is the call graph for this function:| int XrdLinkXeq::TLS_RecvAll | ( | char * | Buff, |
| int | Blen, | ||
| int | timeout | ||
| ) |
Definition at line 1306 of file XrdLinkXeq.cc.
References XrdTlsSocket::Pending(), TLS_Recv(), tlsIO, and XrdLink::Wait4Data().
Referenced by XrdLink::RecvAll().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::TLS_Send | ( | const char * | Buff, |
| int | Blen | ||
| ) |
Definition at line 1328 of file XrdLinkXeq.cc.
References AtomicAdd, BytesOut, isIdle, XrdSendQ::Send(), sendQ, XrdTls::TLS_AOK, TLS_Error(), tlsIO, XrdTlsSocket::Write(), and wrMutex.
Referenced by XrdLink::Send().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdLinkXeq::TLS_Send | ( | const sfVec * | sfP, |
| int | sfN | ||
| ) |
Definition at line 1394 of file XrdLinkXeq.cc.
References AtomicAdd, BytesOut, XrdOucSFVec::fdnum, isIdle, pread, XrdOucSFVec::sendsz, SFError(), TLS_Write(), and wrMutex.
Here is the call graph for this function:| int XrdLinkXeq::TLS_Send | ( | const struct iovec * | iov, |
| int | iocnt, | ||
| int | bytes | ||
| ) |
Definition at line 1359 of file XrdLinkXeq.cc.
References AtomicAdd, BytesOut, isIdle, XrdSendQ::Send(), sendQ, XrdTls::TLS_AOK, TLS_Error(), tlsIO, XrdTlsSocket::Write(), and wrMutex.
Here is the call graph for this function:
|
protected |
Definition at line 1435 of file XrdLinkXeq.cc.
References XrdTls::TLS_AOK, TLS_Error(), tlsIO, and XrdTlsSocket::Write().
Referenced by TLS_Send().
Here is the call graph for this function:
Here is the caller graph for this function:| const char * XrdLinkXeq::verTLS | ( | ) |
Definition at line 1460 of file XrdLinkXeq.cc.
References tlsIO, and XrdTlsSocket::Version().
Referenced by setTLS(), and XrdLink::verTLS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 197 of file XrdLinkXeq.hh.
Referenced by AddrInfo(), XrdLinkCtl::Alloc(), Close(), NetAddr(), Register(), setLocation(), setProtName(), and setTLS().
|
protected |
Definition at line 173 of file XrdLinkXeq.hh.
Referenced by getIOStats(), Recv(), RecvAll(), Reset(), syncStats(), and TLS_Recv().
|
protected |
Definition at line 174 of file XrdLinkXeq.hh.
Referenced by Close(), getIOStats(), Reset(), and syncStats().
|
protected |
Definition at line 175 of file XrdLinkXeq.hh.
Referenced by getIOStats(), Reset(), Send(), syncStats(), and TLS_Send().
|
protected |
Definition at line 176 of file XrdLinkXeq.hh.
Referenced by Close(), getIOStats(), Reset(), and syncStats().
|
protected |
Definition at line 188 of file XrdLinkXeq.hh.
Referenced by DoIt(), RegisterCloseRequestCb(), and Reset().
|
protected |
Definition at line 189 of file XrdLinkXeq.hh.
Referenced by DoIt(), and RegisterCloseRequestCb().
|
protected |
Definition at line 201 of file XrdLinkXeq.hh.
Referenced by XrdLinkCtl::Alloc(), Client(), XrdLinkCtl::Find(), and XrdLinkCtl::getName().
|
protected |
Definition at line 204 of file XrdLinkXeq.hh.
Referenced by XrdLinkCtl::idleScan(), Peek(), Recv(), RecvAll(), Reset(), Send(), TLS_Peek(), TLS_Recv(), and TLS_Send().
|
protected |
Definition at line 203 of file XrdLinkXeq.hh.
Referenced by XrdLinkCtl::Alloc(), Close(), Reset(), and Shutdown().
|
staticprotected |
Definition at line 164 of file XrdLinkXeq.hh.
Referenced by Stats(), and syncStats().
|
staticprotected |
Definition at line 165 of file XrdLinkXeq.hh.
Referenced by Stats(), and syncStats().
|
staticprotected |
Definition at line 166 of file XrdLinkXeq.hh.
Referenced by Stats(), and syncStats().
|
staticprotected |
Definition at line 168 of file XrdLinkXeq.hh.
Referenced by Stats(), and syncStats().
|
staticprotected |
Definition at line 169 of file XrdLinkXeq.hh.
Referenced by Stats().
|
staticprotected |
Definition at line 167 of file XrdLinkXeq.hh.
Referenced by Stats().
| XrdLinkInfo XrdLinkXeq::LinkInfo |
Definition at line 147 of file XrdLinkXeq.hh.
Referenced by XrdLinkCtl::Alloc(), Close(), getIOStats(), XrdLink::Hold(), XrdLinkCtl::idleScan(), XrdLink::isFlawed(), Peek(), Recv(), RecvAll(), RecvIOV(), Reset(), Send(), sendData(), SendIOV(), XrdLink::Serialize(), XrdLink::setEtext(), setNB(), setProtName(), setProtocol(), XrdLink::setRef(), Shutdown(), syncStats(), XrdLink::Terminate(), XrdLink::timeCon(), and XrdLink::UseCnt().
|
staticprotected |
Definition at line 172 of file XrdLinkXeq.hh.
Referenced by Stats(), and syncStats().
|
staticprotected |
Definition at line 171 of file XrdLinkXeq.hh.
Referenced by Stats(), and syncStats().
|
staticprotected |
Definition at line 170 of file XrdLinkXeq.hh.
Referenced by Stats(), and syncStats().
|
protected |
Definition at line 206 of file XrdLinkXeq.hh.
Referenced by XrdLinkCtl::Alloc(), Client(), XrdLinkCtl::Find(), XrdLinkCtl::getName(), Name(), Register(), and Reset().
|
protected |
Definition at line 202 of file XrdLinkXeq.hh.
Referenced by XrdLinkCtl::Alloc(), Peek(), Recv(), RecvAll(), Reset(), TLS_Peek(), and TLS_Recv().
| XrdPollInfo XrdLinkXeq::PollInfo |
Definition at line 148 of file XrdLinkXeq.hh.
Referenced by XrdLink::Activate(), XrdLinkCtl::Alloc(), Close(), DoIt(), XrdLink::Enable(), XrdLinkCtl::fd2PollInfo(), XrdLink::FDnum(), XrdLinkCtl::idleScan(), XrdLink::isInstance(), Peek(), Recv(), RecvAll(), Reset(), Send(), setID(), setTLS(), Shutdown(), XrdLink::Terminate(), and XrdLink::Wait4Data().
|
protected |
Definition at line 187 of file XrdLinkXeq.hh.
Referenced by Close(), Reset(), and setProtocol().
|
protected |
Definition at line 186 of file XrdLinkXeq.hh.
Referenced by Close(), DoIt(), getProtocol(), RegisterCloseRequestCb(), Reset(), setProtocol(), and syncStats().
|
protected |
Definition at line 198 of file XrdLinkXeq.hh.
Referenced by Peek(), Recv(), RecvAll(), syncStats(), TLS_Peek(), and TLS_Recv().
|
protected |
Definition at line 200 of file XrdLinkXeq.hh.
Referenced by Backlog(), Close(), Reset(), Send(), setNB(), and TLS_Send().
|
protected |
Definition at line 181 of file XrdLinkXeq.hh.
Referenced by Reset(), Send(), and syncStats().
|
protected |
Definition at line 177 of file XrdLinkXeq.hh.
Referenced by getIOStats(), Recv(), Reset(), syncStats(), and TLS_Recv().
|
protected |
Definition at line 178 of file XrdLinkXeq.hh.
Referenced by getIOStats(), Reset(), and syncStats().
|
staticprotected |
Definition at line 182 of file XrdLinkXeq.hh.
Referenced by Stats(), and syncStats().
|
protected |
Definition at line 179 of file XrdLinkXeq.hh.
Referenced by getIOStats(), Recv(), Reset(), syncStats(), and TLS_Recv().
|
protected |
Definition at line 180 of file XrdLinkXeq.hh.
Referenced by getIOStats(), Reset(), and syncStats().
|
protected |
Definition at line 193 of file XrdLinkXeq.hh.
Referenced by Close(), getPeerCerts(), setID(), setTLS(), TLS_Peek(), TLS_Recv(), TLS_RecvAll(), TLS_Send(), TLS_Write(), and verTLS().
|
staticprotected |
Definition at line 160 of file XrdLinkXeq.hh.
|
protected |
Definition at line 205 of file XrdLinkXeq.hh.
Referenced by XrdLinkCtl::Alloc(), Reset(), and setID().
|
protected |
Definition at line 199 of file XrdLinkXeq.hh.
Referenced by Backlog(), Close(), Send(), setNB(), syncStats(), and TLS_Send().