diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-03 07:49:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-03 07:49:50 +0000 |
commit | 216afbe7cc62a59d1866a6524a214646361d3dc7 (patch) | |
tree | 1f334ba713f90066fa6f790ca757b0046cd9a181 /src/core | |
parent | Adding upstream version 1.3.0. (diff) | |
download | dnsjit-upstream.tar.xz dnsjit-upstream.zip |
Adding upstream version 1.4.0.upstream/1.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
101 files changed, 133 insertions, 133 deletions
diff --git a/src/core.lua b/src/core.lua index 1b16d8d..bff4223 100644 --- a/src/core.lua +++ b/src/core.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/assert.h b/src/core/assert.h index a7d14a4..36083be 100644 --- a/src/core/assert.h +++ b/src/core/assert.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/channel.c b/src/core/channel.c index bbabbcc..6c6d1b4 100644 --- a/src/core/channel.c +++ b/src/core/channel.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/channel.h b/src/core/channel.h index fcfb382..15b3e0a 100644 --- a/src/core/channel.h +++ b/src/core/channel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/channel.hh b/src/core/channel.hh index 9661381..0f3bc81 100644 --- a/src/core/channel.hh +++ b/src/core/channel.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,9 +18,9 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.compat_h") -//lua:require("dnsjit.core.log") -//lua:require("dnsjit.core.receiver_h") +// lua:require("dnsjit.core.compat_h") +// lua:require("dnsjit.core.log") +// lua:require("dnsjit.core.receiver_h") typedef struct core_channel { core_log_t _log; diff --git a/src/core/channel.lua b/src/core/channel.lua index b652b4a..10edfde 100644 --- a/src/core/channel.lua +++ b/src/core/channel.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/compat.c b/src/core/compat.c index 47d8d41..3138829 100644 --- a/src/core/compat.c +++ b/src/core/compat.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/compat.h b/src/core/compat.h index a6ed26c..1f4f8b9 100644 --- a/src/core/compat.h +++ b/src/core/compat.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/compat.lua b/src/core/compat.lua index 167b312..98c6611 100644 --- a/src/core/compat.lua +++ b/src/core/compat.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/file.c b/src/core/file.c index 4f40c55..8d2eddb 100644 --- a/src/core/file.c +++ b/src/core/file.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/file.h b/src/core/file.h index 06d75b8..280d320 100644 --- a/src/core/file.h +++ b/src/core/file.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/file.hh b/src/core/file.hh index bbf402e..eb87f3b 100644 --- a/src/core/file.hh +++ b/src/core/file.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/file.lua b/src/core/file.lua index ce5bb58..33e180c 100644 --- a/src/core/file.lua +++ b/src/core/file.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/loader.lua b/src/core/loader.lua index 4cc689f..1c5f9e2 100644 --- a/src/core/loader.lua +++ b/src/core/loader.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/log.c b/src/core/log.c index fbf72ae..03b7b2e 100644 --- a/src/core/log.c +++ b/src/core/log.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/log.h b/src/core/log.h index be13898..7e012c6 100644 --- a/src/core/log.h +++ b/src/core/log.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/log.hh b/src/core/log.hh index 1ec35f3..9921d4c 100644 --- a/src/core/log.hh +++ b/src/core/log.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/log.lua b/src/core/log.lua index 6547531..b08cc59 100644 --- a/src/core/log.lua +++ b/src/core/log.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object.c b/src/core/object.c index b277f4b..33190dd 100644 --- a/src/core/object.c +++ b/src/core/object.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object.h b/src/core/object.h index ec78a15..3a0c0cb 100644 --- a/src/core/object.h +++ b/src/core/object.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object.hh b/src/core/object.hh index 7fb8706..5e125c4 100644 --- a/src/core/object.hh +++ b/src/core/object.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object.lua b/src/core/object.lua index f59e969..f950ce1 100644 --- a/src/core/object.lua +++ b/src/core/object.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/dns.c b/src/core/object/dns.c index a4bf309..85eb9a7 100644 --- a/src/core/object/dns.c +++ b/src/core/object/dns.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/dns.h b/src/core/object/dns.h index 143ff89..a2b3d56 100644 --- a/src/core/object/dns.h +++ b/src/core/object/dns.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/dns.hh b/src/core/object/dns.hh index b4aefdd..4efd148 100644 --- a/src/core/object/dns.hh +++ b/src/core/object/dns.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, 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.object_h") +// lua:require("dnsjit.core.log") +// lua:require("dnsjit.core.object_h") typedef struct core_object_dns_label { uint8_t is_end; diff --git a/src/core/object/dns.lua b/src/core/object/dns.lua index 632fe95..6cb3477 100644 --- a/src/core/object/dns.lua +++ b/src/core/object/dns.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/dns/label.lua b/src/core/object/dns/label.lua index 27bf918..34e77d8 100644 --- a/src/core/object/dns/label.lua +++ b/src/core/object/dns/label.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/dns/q.lua b/src/core/object/dns/q.lua index 2eaa7fa..5b90d6c 100644 --- a/src/core/object/dns/q.lua +++ b/src/core/object/dns/q.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/dns/rr.lua b/src/core/object/dns/rr.lua index 967d9f1..5689b5f 100644 --- a/src/core/object/dns/rr.lua +++ b/src/core/object/dns/rr.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/ether.c b/src/core/object/ether.c index dc05391..0d8b160 100644 --- a/src/core/object/ether.c +++ b/src/core/object/ether.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/ether.h b/src/core/object/ether.h index a5de6f7..7f7f948 100644 --- a/src/core/object/ether.h +++ b/src/core/object/ether.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/ether.hh b/src/core/object/ether.hh index a3f638e..9e5fc4f 100644 --- a/src/core/object/ether.hh +++ b/src/core/object/ether.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_ether { const core_object_t* obj_prev; diff --git a/src/core/object/ether.lua b/src/core/object/ether.lua index 04de9c2..00400d0 100644 --- a/src/core/object/ether.lua +++ b/src/core/object/ether.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/gre.c b/src/core/object/gre.c index c359f60..9b5187e 100644 --- a/src/core/object/gre.c +++ b/src/core/object/gre.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/gre.h b/src/core/object/gre.h index 4caa6fa..6c6142c 100644 --- a/src/core/object/gre.h +++ b/src/core/object/gre.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/gre.hh b/src/core/object/gre.hh index c2008a7..18ab7c8 100644 --- a/src/core/object/gre.hh +++ b/src/core/object/gre.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_gre { const core_object_t* obj_prev; diff --git a/src/core/object/gre.lua b/src/core/object/gre.lua index 22a73f5..e518888 100644 --- a/src/core/object/gre.lua +++ b/src/core/object/gre.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/icmp.c b/src/core/object/icmp.c index 3b9ed38..609b4e2 100644 --- a/src/core/object/icmp.c +++ b/src/core/object/icmp.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/icmp.h b/src/core/object/icmp.h index 931c866..e923b16 100644 --- a/src/core/object/icmp.h +++ b/src/core/object/icmp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/icmp.hh b/src/core/object/icmp.hh index 4374a8b..faf528d 100644 --- a/src/core/object/icmp.hh +++ b/src/core/object/icmp.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_icmp { const core_object_t* obj_prev; diff --git a/src/core/object/icmp.lua b/src/core/object/icmp.lua index d2a29c8..dd916d4 100644 --- a/src/core/object/icmp.lua +++ b/src/core/object/icmp.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/icmp6.c b/src/core/object/icmp6.c index d312712..250d5a5 100644 --- a/src/core/object/icmp6.c +++ b/src/core/object/icmp6.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/icmp6.h b/src/core/object/icmp6.h index fc79f62..62ad056 100644 --- a/src/core/object/icmp6.h +++ b/src/core/object/icmp6.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/icmp6.hh b/src/core/object/icmp6.hh index 47967ef..250af69 100644 --- a/src/core/object/icmp6.hh +++ b/src/core/object/icmp6.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_icmp6 { const core_object_t* obj_prev; diff --git a/src/core/object/icmp6.lua b/src/core/object/icmp6.lua index 3ec938e..8ac6c8f 100644 --- a/src/core/object/icmp6.lua +++ b/src/core/object/icmp6.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/ieee802.c b/src/core/object/ieee802.c index 5cd1bec..e81fbab 100644 --- a/src/core/object/ieee802.c +++ b/src/core/object/ieee802.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/ieee802.h b/src/core/object/ieee802.h index 84214c8..487acb3 100644 --- a/src/core/object/ieee802.h +++ b/src/core/object/ieee802.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/ieee802.hh b/src/core/object/ieee802.hh index 4303efb..3abb71d 100644 --- a/src/core/object/ieee802.hh +++ b/src/core/object/ieee802.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_ieee802 { const core_object_t* obj_prev; diff --git a/src/core/object/ieee802.lua b/src/core/object/ieee802.lua index 5d75a70..e0d5e23 100644 --- a/src/core/object/ieee802.lua +++ b/src/core/object/ieee802.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/ip.c b/src/core/object/ip.c index 91a6d42..ff58810 100644 --- a/src/core/object/ip.c +++ b/src/core/object/ip.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/ip.h b/src/core/object/ip.h index cc79fb0..1fdcdb8 100644 --- a/src/core/object/ip.h +++ b/src/core/object/ip.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/ip.hh b/src/core/object/ip.hh index 0f92747..8bdb288 100644 --- a/src/core/object/ip.hh +++ b/src/core/object/ip.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_ip { const core_object_t* obj_prev; diff --git a/src/core/object/ip.lua b/src/core/object/ip.lua index 84e65b6..787acb8 100644 --- a/src/core/object/ip.lua +++ b/src/core/object/ip.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/ip6.c b/src/core/object/ip6.c index 4d639b4..8117226 100644 --- a/src/core/object/ip6.c +++ b/src/core/object/ip6.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/ip6.h b/src/core/object/ip6.h index 831513b..35f31df 100644 --- a/src/core/object/ip6.h +++ b/src/core/object/ip6.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/ip6.hh b/src/core/object/ip6.hh index 6ea20cc..5b4823e 100644 --- a/src/core/object/ip6.hh +++ b/src/core/object/ip6.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_ip6 { const core_object_t* obj_prev; diff --git a/src/core/object/ip6.lua b/src/core/object/ip6.lua index cdadd7c..459e7dd 100644 --- a/src/core/object/ip6.lua +++ b/src/core/object/ip6.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/linuxsll.c b/src/core/object/linuxsll.c index 5f8898e..f96d55a 100644 --- a/src/core/object/linuxsll.c +++ b/src/core/object/linuxsll.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/linuxsll.h b/src/core/object/linuxsll.h index e6c36a9..c9c2c3f 100644 --- a/src/core/object/linuxsll.h +++ b/src/core/object/linuxsll.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/linuxsll.hh b/src/core/object/linuxsll.hh index 093f430..d9dc99b 100644 --- a/src/core/object/linuxsll.hh +++ b/src/core/object/linuxsll.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_linuxsll { const core_object_t* obj_prev; diff --git a/src/core/object/linuxsll.lua b/src/core/object/linuxsll.lua index 29f59db..8436ce0 100644 --- a/src/core/object/linuxsll.lua +++ b/src/core/object/linuxsll.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/loop.c b/src/core/object/loop.c index 0c9acf8..6ab171b 100644 --- a/src/core/object/loop.c +++ b/src/core/object/loop.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/loop.h b/src/core/object/loop.h index 1c91b18..911ba45 100644 --- a/src/core/object/loop.h +++ b/src/core/object/loop.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/loop.hh b/src/core/object/loop.hh index acaf1c1..b1e4991 100644 --- a/src/core/object/loop.hh +++ b/src/core/object/loop.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_loop { const core_object_t* obj_prev; diff --git a/src/core/object/loop.lua b/src/core/object/loop.lua index 5fbec27..f38b70d 100644 --- a/src/core/object/loop.lua +++ b/src/core/object/loop.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/null.c b/src/core/object/null.c index d9fe8b9..8e0b9fd 100644 --- a/src/core/object/null.c +++ b/src/core/object/null.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/null.h b/src/core/object/null.h index e173f0b..d807541 100644 --- a/src/core/object/null.h +++ b/src/core/object/null.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/null.hh b/src/core/object/null.hh index d934185..95293a3 100644 --- a/src/core/object/null.hh +++ b/src/core/object/null.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_null { const core_object_t* obj_prev; diff --git a/src/core/object/null.lua b/src/core/object/null.lua index 3d4f456..46939eb 100644 --- a/src/core/object/null.lua +++ b/src/core/object/null.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/payload.c b/src/core/object/payload.c index efc5726..17188d2 100644 --- a/src/core/object/payload.c +++ b/src/core/object/payload.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/payload.h b/src/core/object/payload.h index dc3ae6a..898379a 100644 --- a/src/core/object/payload.h +++ b/src/core/object/payload.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/payload.hh b/src/core/object/payload.hh index 573fd45..e9d86fb 100644 --- a/src/core/object/payload.hh +++ b/src/core/object/payload.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_payload { const core_object_t* obj_prev; diff --git a/src/core/object/payload.lua b/src/core/object/payload.lua index cb80b13..ac4d2a7 100644 --- a/src/core/object/payload.lua +++ b/src/core/object/payload.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/pcap.c b/src/core/object/pcap.c index fe9beca..fc6c7be 100644 --- a/src/core/object/pcap.c +++ b/src/core/object/pcap.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/pcap.h b/src/core/object/pcap.h index e88102e..ed87c26 100644 --- a/src/core/object/pcap.h +++ b/src/core/object/pcap.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/pcap.hh b/src/core/object/pcap.hh index 09a50df..4d2ec48 100644 --- a/src/core/object/pcap.hh +++ b/src/core/object/pcap.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, 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.object_h") -//lua:require("dnsjit.core.timespec_h") +// lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.timespec_h") typedef struct core_object_pcap { const core_object_t* obj_prev; diff --git a/src/core/object/pcap.lua b/src/core/object/pcap.lua index 0b0e1aa..66b049e 100644 --- a/src/core/object/pcap.lua +++ b/src/core/object/pcap.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/tcp.c b/src/core/object/tcp.c index f46bfe6..4a916c6 100644 --- a/src/core/object/tcp.c +++ b/src/core/object/tcp.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/tcp.h b/src/core/object/tcp.h index 41fddcc..490b644 100644 --- a/src/core/object/tcp.h +++ b/src/core/object/tcp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/tcp.hh b/src/core/object/tcp.hh index 869ab9a..b9a659a 100644 --- a/src/core/object/tcp.hh +++ b/src/core/object/tcp.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_tcp { const core_object_t* obj_prev; diff --git a/src/core/object/tcp.lua b/src/core/object/tcp.lua index 1856098..5e23a4b 100644 --- a/src/core/object/tcp.lua +++ b/src/core/object/tcp.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/object/udp.c b/src/core/object/udp.c index c58fc5d..ff6c7a2 100644 --- a/src/core/object/udp.c +++ b/src/core/object/udp.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/udp.h b/src/core/object/udp.h index 00c95e0..c58b13d 100644 --- a/src/core/object/udp.h +++ b/src/core/object/udp.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/object/udp.hh b/src/core/object/udp.hh index 7dbe20f..39748a4 100644 --- a/src/core/object/udp.hh +++ b/src/core/object/udp.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,7 +18,7 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef struct core_object_udp { const core_object_t* obj_prev; diff --git a/src/core/object/udp.lua b/src/core/object/udp.lua index 0e0393f..e23408b 100644 --- a/src/core/object/udp.lua +++ b/src/core/object/udp.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/objects.lua b/src/core/objects.lua index 2ba9407..c4b7639 100644 --- a/src/core/objects.lua +++ b/src/core/objects.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/producer.c b/src/core/producer.c index 315a838..61ea255 100644 --- a/src/core/producer.c +++ b/src/core/producer.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/producer.h b/src/core/producer.h index 038e3a2..139782e 100644 --- a/src/core/producer.h +++ b/src/core/producer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/producer.hh b/src/core/producer.hh index 1cb6b54..ab3a222 100644 --- a/src/core/producer.hh +++ b/src/core/producer.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,6 +18,6 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef const core_object_t* (*core_producer_t)(void* ctx); diff --git a/src/core/producer.lua b/src/core/producer.lua index b0ab4fe..e457807 100644 --- a/src/core/producer.lua +++ b/src/core/producer.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/receiver.c b/src/core/receiver.c index 7a484a2..5264549 100644 --- a/src/core/receiver.c +++ b/src/core/receiver.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/receiver.h b/src/core/receiver.h index 8cb2132..e109778 100644 --- a/src/core/receiver.h +++ b/src/core/receiver.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/receiver.hh b/src/core/receiver.hh index eb3041e..3bea05f 100644 --- a/src/core/receiver.hh +++ b/src/core/receiver.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -18,6 +18,6 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -//lua:require("dnsjit.core.object_h") +// lua:require("dnsjit.core.object_h") typedef void (*core_receiver_t)(void* ctx, const core_object_t* obj); diff --git a/src/core/receiver.lua b/src/core/receiver.lua index 66b6a7c..91c4cee 100644 --- a/src/core/receiver.lua +++ b/src/core/receiver.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. diff --git a/src/core/thread.c b/src/core/thread.c index ff121e4..abaa063 100644 --- a/src/core/thread.c +++ b/src/core/thread.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -185,7 +185,7 @@ void core_thread_push_string(core_thread_t* self, const char* str, size_t len) _push(self, item); } -void core_thread_push_int64(core_thread_t* self, int64_t i64) +void core_thread_push_number(core_thread_t* self, double num) { core_thread_item_t* item; mlassert_self(); @@ -194,7 +194,7 @@ void core_thread_push_int64(core_thread_t* self, int64_t i64) item->next = 0; item->ptr = 0; item->str = 0; - item->i64 = i64; + item->num = num; _push(self, item); } diff --git a/src/core/thread.h b/src/core/thread.h index f6a0576..ffae739 100644 --- a/src/core/thread.h +++ b/src/core/thread.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/thread.hh b/src/core/thread.hh index 1771333..1161f13 100644 --- a/src/core/thread.hh +++ b/src/core/thread.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, 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.compat_h") -//lua:require("dnsjit.core.log") +// lua:require("dnsjit.core.compat_h") +// lua:require("dnsjit.core.log") typedef struct core_thread_item core_thread_item_t; struct core_thread_item { @@ -27,8 +27,8 @@ struct core_thread_item { void* ptr; char * type, *module; - char* str; - int64_t i64; + char* str; + double num; }; typedef struct core_thread { @@ -52,5 +52,5 @@ int core_thread_start(core_thread_t* self, const char* byt int core_thread_stop(core_thread_t* self); void core_thread_push(core_thread_t* self, void* ptr, const char* type, size_t type_len, const char* module, size_t module_len); void core_thread_push_string(core_thread_t* self, const char* str, size_t len); -void core_thread_push_int64(core_thread_t* self, int64_t i64); +void core_thread_push_number(core_thread_t* self, double num); const core_thread_item_t* core_thread_pop(core_thread_t* self); diff --git a/src/core/thread.lua b/src/core/thread.lua index e79d356..577e9bf 100644 --- a/src/core/thread.lua +++ b/src/core/thread.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. @@ -87,7 +87,7 @@ function Thread:push(...) if t == "string" then C.core_thread_push_string(self, obj, #obj) elseif t == "number" then - C.core_thread_push_int64(self, obj) + C.core_thread_push_number(self, obj) else local ptr, type, module = obj:share() C.core_thread_push(self, ptr, type, #type, module, #module) @@ -108,7 +108,7 @@ function Thread:pop(num) end if item.ptr == nil then if item.str == nil then - return tonumber(item.i64) + return tonumber(item.num) end return ffi.string(item.str) end @@ -123,7 +123,7 @@ function Thread:pop(num) if item.ptr == nil then if item.str == nil then - table.insert(ret, tonumber(item.i64)) + table.insert(ret, tonumber(item.num)) else table.insert(ret, ffi.string(item.str)) end diff --git a/src/core/timespec.h b/src/core/timespec.h index 3b52d4a..5d99e24 100644 --- a/src/core/timespec.h +++ b/src/core/timespec.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/timespec.hh b/src/core/timespec.hh index 249a3ae..0c40d11 100644 --- a/src/core/timespec.hh +++ b/src/core/timespec.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023, OARC, Inc. + * Copyright (c) 2018-2024 OARC, Inc. * All rights reserved. * * This file is part of dnsjit. diff --git a/src/core/timespec.lua b/src/core/timespec.lua index a53eada..ab810e0 100644 --- a/src/core/timespec.lua +++ b/src/core/timespec.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2018-2023, OARC, Inc. +-- Copyright (c) 2018-2024 OARC, Inc. -- All rights reserved. -- -- This file is part of dnsjit. |