|
@@ -1,12 +1,14 @@
|
|
|
#ifndef ISCSI_TARGET_CORE_H
|
|
|
#define ISCSI_TARGET_CORE_H
|
|
|
|
|
|
-#include <linux/in.h>
|
|
|
-#include <linux/configfs.h>
|
|
|
-#include <net/sock.h>
|
|
|
-#include <net/tcp.h>
|
|
|
-#include <scsi/iscsi_proto.h>
|
|
|
-#include <target/target_core_base.h>
|
|
|
+#include <linux/dma-direction.h> /* enum dma_data_direction */
|
|
|
+#include <linux/list.h> /* struct list_head */
|
|
|
+#include <linux/socket.h> /* struct sockaddr_storage */
|
|
|
+#include <linux/types.h> /* u8 */
|
|
|
+#include <scsi/iscsi_proto.h> /* itt_t */
|
|
|
+#include <target/target_core_base.h> /* struct se_cmd */
|
|
|
+
|
|
|
+struct sock;
|
|
|
|
|
|
#define ISCSIT_VERSION "v4.1.0"
|
|
|
#define ISCSI_MAX_DATASN_MISSING_COUNT 16
|