Files
scst/iscsi-scst/include/isert_scst.h
Bart Van Assche 6aaeca1cd9 Merge iser branch r6234 into trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-10 15:35:26 +00:00

25 lines
499 B
C

#ifndef _ISERT_SCST_U_H
#define _ISERT_SCST_U_H
#ifdef __KERNEL__
#include <linux/types.h>
#include <linux/socket.h>
#else
#include <sys/uio.h>
#include <sys/socket.h>
#endif
struct isert_addr_info {
struct sockaddr_storage addr;
size_t addr_len;
};
#define ISERT_MAX_PORTALS 32
#define SET_LISTEN_ADDR _IOW('y', 0, struct isert_addr_info)
#define RDMA_CORK _IOW('y', 1, int)
#define GET_PORTAL_ADDR _IOW('y', 2, struct isert_addr_info)
#define DISCOVERY_SESSION _IOW('y', 3, int)
#endif