Buffers and native metadata for one batched send operation.
More...
#include <src/platform/common.h>
|
|
size_t | block_count |
| | Number of packet blocks to send.
|
|
size_t | block_offset |
| | First packet block index to send.
|
|
size_t | header_size |
| | Header size in bytes.
|
|
const char * | headers |
| | Optional header bytes prepended to each payload.
|
|
std::uintptr_t | native_socket |
| | Platform socket handle used for the send operation.
|
|
std::vector< buffer_descriptor_t > & | payload_buffers |
| | Payload buffers containing one or more packet blocks.
|
|
size_t | payload_size |
| | Payload size in bytes for each packet block.
|
|
boost::asio::ip::address & | source_address |
| | Local source IP address for outgoing packets.
|
|
boost::asio::ip::address & | target_address |
| | Destination IP address for outgoing packets.
|
|
uint16_t | target_port |
| | Destination UDP port for outgoing packets.
|
Buffers and native metadata for one batched send operation.
◆ buffer_for_payload_offset()
| buffer_descriptor_t platf::batched_send_info_t::buffer_for_payload_offset |
( |
ptrdiff_t | offset | ) |
const |
|
inline |
Locate a payload region without changing the batch descriptor or its buffers.
- Parameters
-
| offset | The offset in the total payload data (bytes). |
- Returns
- Buffer descriptor describing the region at the given offset.
The documentation for this struct was generated from the following file: