#include <XrdOucSFVec.hh>
Public Types | |
enum | { sfMax = 16 } |
Public Attributes | |
union { | |
char * | buffer |
->Data if fdnum < 0 | |
off_t | offset |
File offset of data otherwise. | |
}; | |
int | fdnum |
File descriptor for data. | |
int | sendsz |
Length of data at offset. |
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 { ... } XrdOucSFVec |
int XrdOucSFVec::fdnum |
File descriptor for data.
Definition at line 47 of file XrdOucSFVec.hh.
Referenced by XrdLinkXeq::Send(), XrdSsiFileReq::Send(), XrdXrootdResponse::Send(), XrdXrootdResponse::Send(), XrdXrootdTransSend::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(), XrdSsiFileReq::Send(), XrdXrootdResponse::Send(), XrdXrootdResponse::Send(), XrdXrootdTransSend::Send(), and XrdLinkXeq::TLS_Send().