File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,32 @@ struct smbdirect_socket {
60
60
struct list_head list ;
61
61
spinlock_t lock ;
62
62
} free ;
63
+
64
+ /*
65
+ * The list of arrived non-empty smbdirect_recv_io
66
+ * structures
67
+ *
68
+ * This represents the reassembly queue.
69
+ */
70
+ struct {
71
+ struct list_head list ;
72
+ spinlock_t lock ;
73
+ wait_queue_head_t wait_queue ;
74
+ /* total data length of reassembly queue */
75
+ int data_length ;
76
+ int queue_length ;
77
+ /* the offset to first buffer in reassembly queue */
78
+ int first_entry_offset ;
79
+ /*
80
+ * Indicate if we have received a full packet on the
81
+ * connection This is used to identify the first SMBD
82
+ * packet of a assembled payload (SMB packet) in
83
+ * reassembly queue so we can return a RFC1002 length to
84
+ * upper layer to indicate the length of the SMB packet
85
+ * received
86
+ */
87
+ bool full_packet_received ;
88
+ } reassembly ;
63
89
} recv_io ;
64
90
};
65
91
You can’t perform that action at this time.
0 commit comments