summaryrefslogtreecommitdiffstats
path: root/src/filter
diff options
context:
space:
mode:
Diffstat (limited to 'src/filter')
-rw-r--r--src/filter/copy.hh4
-rw-r--r--src/filter/ipsplit.hh4
-rw-r--r--src/filter/layer.c4
-rw-r--r--src/filter/layer.h2
-rw-r--r--src/filter/layer.hh36
-rw-r--r--src/filter/layer.lua2
-rw-r--r--src/filter/split.c2
-rw-r--r--src/filter/split.h2
-rw-r--r--src/filter/split.hh6
-rw-r--r--src/filter/split.lua2
-rw-r--r--src/filter/timing.c2
-rw-r--r--src/filter/timing.h2
-rw-r--r--src/filter/timing.hh10
-rw-r--r--src/filter/timing.lua2
14 files changed, 40 insertions, 40 deletions
diff --git a/src/filter/copy.hh b/src/filter/copy.hh
index edf7fc7..7af2ce4 100644
--- a/src/filter/copy.hh
+++ b/src/filter/copy.hh
@@ -18,8 +18,8 @@
* along with dnsjit. If not, see <http://www.gnu.org/licenses/>.
*/
-//lua:require("dnsjit.core.log")
-//lua:require("dnsjit.core.receiver_h")
+// lua:require("dnsjit.core.log")
+// lua:require("dnsjit.core.receiver_h")
typedef struct filter_copy {
core_log_t _log;
diff --git a/src/filter/ipsplit.hh b/src/filter/ipsplit.hh
index c362ac3..6c74a6c 100644
--- a/src/filter/ipsplit.hh
+++ b/src/filter/ipsplit.hh
@@ -18,8 +18,8 @@
* along with dnsjit. If not, see <http://www.gnu.org/licenses/>.
*/
-//lua:require("dnsjit.core.log")
-//lua:require("dnsjit.core.receiver_h")
+// lua:require("dnsjit.core.log")
+// lua:require("dnsjit.core.receiver_h")
typedef struct filter_ipsplit_recv filter_ipsplit_recv_t;
struct filter_ipsplit_recv {
diff --git a/src/filter/layer.c b/src/filter/layer.c
index d0a2ce6..80f0450 100644
--- a/src/filter/layer.c
+++ b/src/filter/layer.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, OARC, Inc.
+ * Copyright (c) 2018-2024 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@@ -180,7 +180,7 @@ static inline uint32_t _need32(const void* ptr)
p += x; \
l -= x
-//static int _ip(filter_layer_t* self, const core_object_t* obj, const unsigned char* pkt, size_t len);
+// static int _ip(filter_layer_t* self, const core_object_t* obj, const unsigned char* pkt, size_t len);
static inline int _proto(filter_layer_t* self, uint8_t proto, const core_object_t* obj, const unsigned char* pkt, size_t len)
{
diff --git a/src/filter/layer.h b/src/filter/layer.h
index f8d12f4..6e527d9 100644
--- a/src/filter/layer.h
+++ b/src/filter/layer.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, OARC, Inc.
+ * Copyright (c) 2018-2024 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
diff --git a/src/filter/layer.hh b/src/filter/layer.hh
index 2879f58..d60d1fc 100644
--- a/src/filter/layer.hh
+++ b/src/filter/layer.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, OARC, Inc.
+ * Copyright (c) 2018-2024 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@@ -18,23 +18,23 @@
* along with dnsjit. If not, see <http://www.gnu.org/licenses/>.
*/
-//lua:require("dnsjit.core.log")
-//lua:require("dnsjit.core.receiver_h")
-//lua:require("dnsjit.core.producer_h")
-//lua:require("dnsjit.core.object.pcap_h")
-//lua:require("dnsjit.core.object.null_h")
-//lua:require("dnsjit.core.object.ether_h")
-//lua:require("dnsjit.core.object.loop_h")
-//lua:require("dnsjit.core.object.linuxsll_h")
-//lua:require("dnsjit.core.object.ieee802_h")
-//lua:require("dnsjit.core.object.ip_h")
-//lua:require("dnsjit.core.object.ip6_h")
-//lua:require("dnsjit.core.object.gre_h")
-//lua:require("dnsjit.core.object.icmp_h")
-//lua:require("dnsjit.core.object.icmp6_h")
-//lua:require("dnsjit.core.object.udp_h")
-//lua:require("dnsjit.core.object.tcp_h")
-//lua:require("dnsjit.core.object.payload_h")
+// lua:require("dnsjit.core.log")
+// lua:require("dnsjit.core.receiver_h")
+// lua:require("dnsjit.core.producer_h")
+// lua:require("dnsjit.core.object.pcap_h")
+// lua:require("dnsjit.core.object.null_h")
+// lua:require("dnsjit.core.object.ether_h")
+// lua:require("dnsjit.core.object.loop_h")
+// lua:require("dnsjit.core.object.linuxsll_h")
+// lua:require("dnsjit.core.object.ieee802_h")
+// lua:require("dnsjit.core.object.ip_h")
+// lua:require("dnsjit.core.object.ip6_h")
+// lua:require("dnsjit.core.object.gre_h")
+// lua:require("dnsjit.core.object.icmp_h")
+// lua:require("dnsjit.core.object.icmp6_h")
+// lua:require("dnsjit.core.object.udp_h")
+// lua:require("dnsjit.core.object.tcp_h")
+// lua:require("dnsjit.core.object.payload_h")
typedef struct filter_layer {
core_log_t _log;
diff --git a/src/filter/layer.lua b/src/filter/layer.lua
index 9cce7cf..c0e497e 100644
--- a/src/filter/layer.lua
+++ b/src/filter/layer.lua
@@ -1,4 +1,4 @@
--- Copyright (c) 2018-2022, OARC, Inc.
+-- Copyright (c) 2018-2024 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.
diff --git a/src/filter/split.c b/src/filter/split.c
index c49565f..27a6c28 100644
--- a/src/filter/split.c
+++ b/src/filter/split.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, OARC, Inc.
+ * Copyright (c) 2018-2024 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
diff --git a/src/filter/split.h b/src/filter/split.h
index 670c48d..24ab39d 100644
--- a/src/filter/split.h
+++ b/src/filter/split.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, OARC, Inc.
+ * Copyright (c) 2018-2024 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
diff --git a/src/filter/split.hh b/src/filter/split.hh
index ffc6401..44c7af9 100644
--- a/src/filter/split.hh
+++ b/src/filter/split.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, OARC, Inc.
+ * Copyright (c) 2018-2024 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@@ -18,8 +18,8 @@
* along with dnsjit. If not, see <http://www.gnu.org/licenses/>.
*/
-//lua:require("dnsjit.core.log")
-//lua:require("dnsjit.core.receiver_h")
+// lua:require("dnsjit.core.log")
+// lua:require("dnsjit.core.receiver_h")
typedef enum filter_split_mode {
FILTER_SPLIT_MODE_ROUNDROBIN,
diff --git a/src/filter/split.lua b/src/filter/split.lua
index 3c6f727..e16cbee 100644
--- a/src/filter/split.lua
+++ b/src/filter/split.lua
@@ -1,4 +1,4 @@
--- Copyright (c) 2018-2022, OARC, Inc.
+-- Copyright (c) 2018-2024 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.
diff --git a/src/filter/timing.c b/src/filter/timing.c
index d188e30..225d372 100644
--- a/src/filter/timing.c
+++ b/src/filter/timing.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, OARC, Inc.
+ * Copyright (c) 2018-2024 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
diff --git a/src/filter/timing.h b/src/filter/timing.h
index 0050d5c..328777e 100644
--- a/src/filter/timing.h
+++ b/src/filter/timing.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, OARC, Inc.
+ * Copyright (c) 2018-2024 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
diff --git a/src/filter/timing.hh b/src/filter/timing.hh
index 787e9f0..2e29d8a 100644
--- a/src/filter/timing.hh
+++ b/src/filter/timing.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2022, OARC, Inc.
+ * Copyright (c) 2018-2024 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@@ -18,10 +18,10 @@
* along with dnsjit. If not, see <http://www.gnu.org/licenses/>.
*/
-//lua:require("dnsjit.core.log")
-//lua:require("dnsjit.core.receiver_h")
-//lua:require("dnsjit.core.producer_h")
-//lua:require("dnsjit.core.timespec_h")
+// lua:require("dnsjit.core.log")
+// lua:require("dnsjit.core.receiver_h")
+// lua:require("dnsjit.core.producer_h")
+// lua:require("dnsjit.core.timespec_h")
typedef struct filter_timing {
core_log_t _log;
diff --git a/src/filter/timing.lua b/src/filter/timing.lua
index 0e54f08..72d8fed 100644
--- a/src/filter/timing.lua
+++ b/src/filter/timing.lua
@@ -1,4 +1,4 @@
--- Copyright (c) 2018-2022, OARC, Inc.
+-- Copyright (c) 2018-2024 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.