Loading...
Searching...
No Matches
spdk_sock_request Struct Reference

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>

Collaboration diagram for spdk_sock_request:

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
 

Detailed Description

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.


The documentation for this struct was generated from the following file: