]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
af-packet: add missing copyright header
authorEric Leblond <eric@regit.org>
Fri, 5 Jan 2018 12:27:59 +0000 (13:27 +0100)
committerEric Leblond <eric@regit.org>
Tue, 6 Feb 2018 15:58:19 +0000 (16:58 +0100)
And also fixes the copyright date in some files.

ebpf/bypass_filter.c
ebpf/filter.c
ebpf/lb.c
ebpf/vlan_filter.c
ebpf/xdp_filter.c
src/flow-bypass.c
src/flow-bypass.h
src/source-af-packet.c

index a79041f303e222db3a6677b34120875944768b66..23f5f32dc6f7bcd784166f70dd116898dcbecce0 100644 (file)
@@ -1,4 +1,20 @@
-//#include <bcc/proto.h>
+/* Copyright (C) 2018 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
+ * Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * version 2 along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
 #include <stdint.h>
 #include <stddef.h>
 #include <linux/bpf.h>
index 9293d9cbbb4e99fd6d9d5409c2c332bdfa8969ab..1976ffcf188fe05b046eb07eb6033821463e99b4 100644 (file)
@@ -1,4 +1,20 @@
-//#include <bcc/proto.h>
+/* Copyright (C) 2018 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
+ * Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * version 2 along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
 #include <stdint.h>
 #include <stddef.h>
 #include <linux/bpf.h>
index d7a5685de2e43b5e830dacdd0c44210da579f388..afc8d4f614d9f21e9ef231303393db623c1684c1 100644 (file)
--- a/ebpf/lb.c
+++ b/ebpf/lb.c
@@ -1,4 +1,20 @@
-//#include <bcc/proto.h>
+/* Copyright (C) 2018 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
+ * Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * version 2 along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
 #include <stdint.h>
 #include <stddef.h>
 #include <linux/bpf.h>
index f3913d8a8c76746992af42b31939621b2d86fe39..5c3865273d3c2e03f12eab53ad89dec2860851a5 100644 (file)
@@ -1,3 +1,20 @@
+/* Copyright (C) 2018 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
+ * Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * version 2 along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
 #include <stdint.h>
 #include <stddef.h>
 #include <linux/bpf.h>
index ac9aaeefd6d705587879e022f2222152890fd976..c8484a0442a0fdc25b143c2e002bf46c39ec55bc 100644 (file)
@@ -1,4 +1,20 @@
-//#include <bcc/proto.h>
+/* Copyright (C) 2018 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
+ * Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * version 2 along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
 #define KBUILD_MODNAME "foo"
 #include <stdint.h>
 #include <string.h>
index b3a7b63fd03a2bbac28681adadbf6b92ea42f634..9367e8ed854d5bf941e042be683f49c104c1ce50 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2016-2017 Open Information Security Foundation
+/* Copyright (C) 2016-2018 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 ffa37b6971fb58be3559982ed8f68b27a53f9df6..3f438d4f58a16b38ccf13b13af9748b4aec0d3a6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2016 Open Information Security Foundation
+/* Copyright (C) 2016-2018 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 a7710b46ff0f72d2de99bb993fdb3b9547f5bdd5..f7ce87d3fa9112ed2f9125e5803332a021b567e7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2017 Open Information Security Foundation
+/* Copyright (C) 2011-2018 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