]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
misc: fix typos, doc, update copyright years
authorJuliana Fajardini <jufajardini@oisf.net>
Fri, 17 Feb 2023 20:34:09 +0000 (17:34 -0300)
committerVictor Julien <vjulien@oisf.net>
Tue, 13 Jun 2023 07:20:05 +0000 (09:20 +0200)
Updated FlowGetNew documentation, where it said NULL was only returned
in case of error.

src/app-layer.c
src/decode.h
src/defrag-hash.h
src/flow-hash.c
src/stream-tcp.h
src/util-exception-policy.c
src/util-exception-policy.h

index 67b8807314434b5f80f977ee9e7ac0d26a572cb2..b031afce8ac898d38733e66d0922f1fcfa4bedd4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2021 Open Information Security Foundation
+/* Copyright (C) 2007-2023 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
index b11963bf4e627622a7e2ac0788167b9d2b188440..1a844525dafc03be32a6d3bad52f82b34a3d494d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Open Information Security Foundation
+/* Copyright (C) 2007-2023 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
index ffbc054cd9bc76e19f78d9a38f6193892f37baef..b115b13a91d71c9ec191c3619c0ac9f6814226e2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2012 Open Information Security Foundation
+/* Copyright (C) 2007-2023 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
index 9edd6d1daed5296a317400e65d04ae4765b5c48d..18f35453d6c67a37c13ae06f85034f7c3e6194c6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2022 Open Information Security Foundation
+/* Copyright (C) 2007-2023 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
@@ -655,7 +655,8 @@ static inline void NoFlowHandleIPS(Packet *p)
  *  \param tv thread vars
  *  \param fls lookup support vars
  *
- *  \retval f *LOCKED* flow on success, NULL on error.
+ *  \retval f *LOCKED* flow on success, NULL on error or if we should not create
+ *  a new flow.
  */
 static Flow *FlowGetNew(ThreadVars *tv, FlowLookupStruct *fls, Packet *p)
 {
index 76ccb8ec4cfdb83a3b15a9a9531060c779ec8716..324671245995045cdbd192fa15ca6d0d431b0432 100644 (file)
@@ -95,7 +95,7 @@ typedef struct StreamTcpThread_ {
     uint16_t counter_tcp_midstream_pickups;
     /** wrong thread */
     uint16_t counter_tcp_wrong_thread;
-    /** ack for unseed data */
+    /** ack for unseen data */
     uint16_t counter_tcp_ack_unseen_data;
 
     /** tcp reassembly thread data */
index 4513bbb0f2ae6d744898e95744fe7dbd374baf87..b3cf2952c0ce3484990dfc9c964bfc7609bf3b95 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2022 Open Information Security Foundation
+/* Copyright (C) 2022-2023 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
index 550d4d32c4eee915fd20baa58e2386b93b048463..c304f3e3f4ed2b042f82051c81a8b365c63e9cdb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2022 Open Information Security Foundation
+/* Copyright (C) 2022-2023 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free