Spdk socket initialization options. More...
Data Fields | |
size_t | opts_size |
The size of spdk_sock_opts according to the caller of this library is used for ABI compatibility. More... | |
int | priority |
The priority on the socket and default value is zero. | |
bool | zcopy |
Used to enable or disable zero copy on socket layer. | |
uint32_t | ack_timeout |
Time in msec to wait ack until connection is closed forcefully. | |
Spdk socket initialization options.
A pointer to this structure will be used by spdk_sock_listen_ext() or spdk_sock_connect_ext() to allow the user to request non-default options on the socket.
size_t spdk_sock_opts::opts_size |
The size of spdk_sock_opts according to the caller of this library is used for ABI compatibility.
The library uses this field to know how many fields in this structure are valid. And the library will populate any remaining fields with default values.