|
XRootD
|
#include <XrdOucSFVec.hh>
Collaboration diagram for XrdOucSFVec:Public Types | |
| enum | { sfMax = 16 } |
Public Attributes | |
| union { | |
| char * | buffer |
| ->Data if fdnum < 0 More... | |
| off_t | offset |
| File offset of data otherwise. More... | |
| }; | |
| int | fdnum |
| File descriptor for data. More... | |
| int | sendsz |
| Length of data at offset. More... | |
The struct defined here is a generic data structure that is used whenever we need to pass a vector of file offsets, lengths, and the corresponding target buffer pointers to effect a sendfile() call. It is used by the xrd, sfs, ofs., and oss components.
Definition at line 43 of file XrdOucSFVec.hh.
| anonymous enum |
| union { ... } |
| int XrdOucSFVec::fdnum |
File descriptor for data.
Definition at line 47 of file XrdOucSFVec.hh.
Referenced by XrdLinkXeq::Send(), XrdXrootdTransSend::Send(), XrdXrootdResponse::Send(), XrdSsiFileReq::Send(), and XrdLinkXeq::TLS_Send().
| int XrdOucSFVec::sendsz |
Length of data at offset.
Definition at line 46 of file XrdOucSFVec.hh.
Referenced by XrdLinkXeq::Send(), XrdXrootdTransSend::Send(), XrdXrootdResponse::Send(), XrdSsiFileReq::Send(), and XrdLinkXeq::TLS_Send().