|
xrootd
|
Compute the layout for an iovec that receives network bytes applying. More...
#include <XrdOucPgrwUtils.hh>
Public Attributes | |
| off_t | bOffset |
| Buffer offset to apply iov[1].iov_base. More... | |
| int | dataLen |
| Total number of filesys bytes the iovec will handle. More... | |
| int | sockLen |
| Total number of network bytes the iovec will handle. More... | |
| int | fLen |
| Length to use for iov[1].iov_len. More... | |
| int | lLen |
| Length to use for iov[csnum*2-1].iov_len) More... | |
| const char * | eWhy |
| Reason for failure when zero is returned. More... | |
Compute the layout for an iovec that receives network bytes applying.
| layout | Reference to the layout parameter (see below). |
| offs | recvLayout: Offset at which the subsequent write occurs. sendLayout: Offset at which the preceding read occurs. |
| dlen | recvLayout: Nmber of sock bytes to receive with checksums. |
| dlen | sendLayout: Nmber of file bytes to read without checksums. |
| bsz | The size of the buffer exclusive of any checksums and must be a multiple of 4096 (one page). If it's <= 0 then then the layout is computed as if bsz could fully accomodate the dlen. |
| off_t XrdOucPgrwUtils::Layout::bOffset |
Buffer offset to apply iov[1].iov_base.
| int XrdOucPgrwUtils::Layout::dataLen |
Total number of filesys bytes the iovec will handle.
| const char* XrdOucPgrwUtils::Layout::eWhy |
Reason for failure when zero is returned.
| int XrdOucPgrwUtils::Layout::fLen |
Length to use for iov[1].iov_len.
| int XrdOucPgrwUtils::Layout::lLen |
Length to use for iov[csnum*2-1].iov_len)
| int XrdOucPgrwUtils::Layout::sockLen |
Total number of network bytes the iovec will handle.
1.8.5