]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
stream: minor clean up of TcpSession structure
authorVictor Julien <victor@inliniac.net>
Sat, 30 Nov 2013 11:58:37 +0000 (12:58 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 30 Nov 2013 11:58:37 +0000 (12:58 +0100)
src/stream-tcp-private.h

index 79ed5577fb3921d6823fcac805b591ef4db0ea1a..f17f0bb4fdf753fb39af45a6fda944f6fb138fee 100644 (file)
@@ -206,6 +206,7 @@ typedef struct TcpSession_ {
     PoolThreadReserved res;
     uint8_t state;
     uint8_t queue_len;                      /**< length of queue list below */
+    int8_t data_first_seen_dir;
     /* coccinelle: TcpSession:flags:STREAMTCP_FLAG */
     uint16_t flags;
     TcpStream server;
@@ -215,8 +216,6 @@ typedef struct TcpSession_ {
     struct StreamMsg_ *toclient_smsg_head;  /**< list of stream msgs (for detection inspection) */
     struct StreamMsg_ *toclient_smsg_tail;  /**< list of stream msgs (for detection inspection) */
 
-    int8_t data_first_seen_dir;
-
     TcpStateQueue *queue;                   /**< list of SYN/ACK candidates */
 } TcpSession;