Spdk/include/spdk
Jim Harris 4b10029435 net, iscsi: add struct spdk_sock abstraction
This provides an abstraction layer around TCP
sockets.  Previously we just used fd integers, but
we don't want to be tied to integers for alternative
userspace TCP stacks.

Future patches will do more work to enable multiple
implementations of this abstraction.  For now, just
get the abstraction in place for POSIX sockets and
make all of the iSCSI changes associated with it.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9a825e9e02eb6927c8702d205665c626f57b3771

Reviewed-on: https://review.gerrithub.io/398861
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ziye Yang <optimistyzy@gmail.com>
2018-02-12 12:30:39 -05:00
..
assert.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
barrier.h barrier: added spdk_smp_*mb to sync between cores 2017-11-29 10:51:42 -05:00
bdev.h bdev: Added latency to channel statistics 2018-01-30 12:41:41 -05:00
bit_array.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
blob_bdev.h include/blob_bdev.h: add comments for public APIs 2018-01-09 13:52:28 -05:00
blob.h blobstore: move xattrs parameters passed as options to separate structure 2018-02-02 16:58:06 -05:00
blobfs.h blobfs: make the cluster size of blobfs configurable. 2018-01-11 15:50:01 -05:00
conf.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
copy_engine.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
cpuset.h util: extend cpumask to hold more than 64 cpus 2018-01-25 18:51:50 -05:00
crc16.h util/crc16: add crc16 library support and unit tests 2017-12-20 15:12:26 -05:00
crc32.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h lib: Return instead of exit/abort in env_dpdk 2018-01-10 16:20:15 -05:00
event.h util: extend cpumask to hold more than 64 cpus 2018-01-25 18:51:50 -05:00
fd.h include/fd.h: add comments for pubclic APIs 2018-01-04 12:12:10 -05:00
gpt_spec.h bdev/gpt: dump partition name 2017-07-12 18:12:52 -04:00
histogram_data.h util: enable dynamic spdk_histogram_data sizing 2017-12-29 14:20:48 -05:00
io_channel.h util: make spdk_io_channel_get_ctx() inline 2018-01-09 12:46:35 -05:00
ioat_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
ioat.h copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
iscsi_spec.h iscsi: fix layout of logout request reason field 2017-09-22 16:11:11 -04:00
json.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
jsonrpc.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
likely.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
log.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
lvol.h lvol: enable creation of thin provisioned lvols 2018-01-30 17:29:53 -05:00
mmio.h mmio: add functions for 1 and 2 byte I/O accesses 2017-10-13 10:46:00 -04:00
nbd.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
net.h net, iscsi: add struct spdk_sock abstraction 2018-02-12 12:30:39 -05:00
nvme_intel.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvme_spec.h nvme: add asynchronous event completion definition 2018-02-07 12:45:14 -05:00
nvme.h nvme: add new spdk_nvme_connect() API to directly attach the ctrlr 2017-10-09 12:31:12 -04:00
nvmf_spec.h nvmf/subsystem: spdk_nvmf_valid_nqn fits nvme spec 2018-01-09 13:30:24 -05:00
nvmf.h nvmf: allow removal of listen addresses at runtime 2018-02-07 12:47:27 -05:00
pci_ids.h env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
queue_extras.h Break out queue.h code pulled from FreeBSD into a separate file. 2015-09-25 12:45:04 -07:00
queue.h Add extern "C" wrapper to all public headers 2016-02-12 07:52:35 -07:00
rpc.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
scsi_spec.h bdev-virtio: add test unit ready and start/stop to scan sequence 2017-12-04 14:39:27 -05:00
scsi.h iscsi: Add LUN to an existing target (not runtime) 2018-01-17 12:41:29 -05:00
sock.h net, iscsi: add struct spdk_sock abstraction 2018-02-12 12:30:39 -05:00
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
trace.h trace: Move trace flags to separate implementation file 2017-11-15 18:57:12 -05:00
util.h util: add spdk_u32_is_pow2() function 2017-08-11 19:36:30 -04:00
version.h version: v18.04-pre 2018-02-01 11:34:43 -05:00
vhost.h vhost: unify vdev removal 2018-02-06 11:05:01 -05:00