Anywhere this struct is used, an iovec array is assumed to immediately follow the last member in memory, without any padding. More...
#include <sock.h>

Data Structures | |
| struct | __sock_request_internal |
| These fields are used by the socket layer and should not be modified. More... | |
Data Fields | |
| void(* | cb_fn )(void *cb_arg, int err) |
| void * | cb_arg |
| struct spdk_sock_request::__sock_request_internal | internal |
| int | iovcnt |
Anywhere this struct is used, an iovec array is assumed to immediately follow the last member in memory, without any padding.
A simpler implementation would be to place a 0-length array of struct iovec at the end of this request. However, embedding a structure that ends with a variable length array inside of another structure is a GNU C extension and not standard.