diff options
author | Alexander Motin <mav@FreeBSD.org> | 2017-01-14 18:04:12 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2017-01-14 18:04:12 +0000 |
commit | 59c6e3a58f970ffb35e4bc33627c77b3156b86a0 (patch) | |
tree | acd711866957fa2de70127087f6eacdab82971f4 /usr.sbin/ctld/ctld.h | |
parent | 00ea8a5fc96c046a54ba4c227eedf9ab41a062b0 (diff) | |
download | src-test2-59c6e3a58f970ffb35e4bc33627c77b3156b86a0.tar.gz src-test2-59c6e3a58f970ffb35e4bc33627c77b3156b86a0.zip |
Notes
Diffstat (limited to 'usr.sbin/ctld/ctld.h')
-rw-r--r-- | usr.sbin/ctld/ctld.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ctld/ctld.h b/usr.sbin/ctld/ctld.h index 85cbd324507e..8452a158e980 100644 --- a/usr.sbin/ctld/ctld.h +++ b/usr.sbin/ctld/ctld.h @@ -48,8 +48,6 @@ #define MAX_LUNS 1024 #define MAX_NAME_LEN 223 #define MAX_DATA_SEGMENT_LENGTH (128 * 1024) -#define MAX_BURST_LENGTH 16776192 -#define FIRST_BURST_LENGTH (128 * 1024) #define SOCKBUF_SIZE 1048576 struct auth { @@ -242,6 +240,10 @@ struct connection { struct sockaddr_storage conn_initiator_sa; uint32_t conn_cmdsn; uint32_t conn_statsn; + int conn_max_recv_data_segment_limit; + int conn_max_send_data_segment_limit; + int conn_max_burst_limit; + int conn_first_burst_limit; int conn_max_recv_data_segment_length; int conn_max_send_data_segment_length; int conn_max_burst_length; |