Adding upstream version 1.4.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 08:36:22 +01:00
parent 62c97c4e0a
commit 4f2087bb21
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
394 changed files with 2067 additions and 1324 deletions

View file

@ -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.
@ -29,7 +29,8 @@ AM_CFLAGS = -Werror=attributes \
$(PTHREAD_CFLAGS) \
$(luajit_CFLAGS) \
$(liblz4_CFLAGS) $(libzstd_CFLAGS) \
$(libpcap_CFLAGS) $(gnutls_CFLAGS)
$(libpcap_CFLAGS) $(gnutls_CFLAGS) \
$(liblzma_CFLAGS)
EXTRA_DIST = gen-manpage.lua gen-compat.lua gen-errno.sh dnsjit.1in
@ -44,19 +45,19 @@ nobase_dnsjitinclude_HEADERS = globals.h version.h
lua_hobjects = core/compat.luaho
lua_objects = core.luao lib.luao input.luao filter.luao output.luao
dnsjit_LDADD = $(PTHREAD_LIBS) $(luajit_LIBS) $(liblz4_LIBS) $(libzstd_LIBS) \
$(libpcap_LIBS) $(gnutls_LIBS)
$(libpcap_LIBS) $(gnutls_LIBS) $(liblzma_LIBS)
# C source and headers
dnsjit_SOURCES += core/channel.c core/compat.c core/file.c core/log.c core/object.c core/object/dns.c core/object/ether.c core/object/gre.c core/object/icmp6.c core/object/icmp.c core/object/ieee802.c core/object/ip6.c core/object/ip.c core/object/linuxsll.c core/object/loop.c core/object/null.c core/object/payload.c core/object/pcap.c core/object/tcp.c core/object/udp.c core/producer.c core/receiver.c core/thread.c filter/copy.c filter/ipsplit.c filter/layer.c filter/split.c filter/timing.c input/fpcap.c input/mmpcap.c input/pcap.c input/zpcap.c lib/base64url.c lib/clock.c lib/trie.c output/dnscli.c output/pcap.c output/respdiff.c output/tcpcli.c output/tlscli.c output/udpcli.c
nobase_dnsjitinclude_HEADERS += core/assert.h core/channel.h core/compat.h core/file.h core/log.h core/object/dns.h core/object/ether.h core/object/gre.h core/object.h core/object/icmp6.h core/object/icmp.h core/object/ieee802.h core/object/ip6.h core/object/ip.h core/object/linuxsll.h core/object/loop.h core/object/null.h core/object/payload.h core/object/pcap.h core/object/tcp.h core/object/udp.h core/producer.h core/receiver.h core/thread.h core/timespec.h filter/copy.h filter/ipsplit.h filter/layer.h filter/split.h filter/timing.h input/fpcap.h input/mmpcap.h input/pcap.h input/zpcap.h lib/base64url.h lib/clock.h lib/trie.h output/dnscli.h output/pcap.h output/respdiff.h output/tcpcli.h output/tlscli.h output/udpcli.h
dnsjit_SOURCES += core/channel.c core/compat.c core/file.c core/log.c core/object.c core/object/dns.c core/object/ether.c core/object/gre.c core/object/icmp6.c core/object/icmp.c core/object/ieee802.c core/object/ip6.c core/object/ip.c core/object/linuxsll.c core/object/loop.c core/object/null.c core/object/payload.c core/object/pcap.c core/object/tcp.c core/object/udp.c core/producer.c core/receiver.c core/thread.c filter/copy.c filter/ipsplit.c filter/layer.c filter/split.c filter/timing.c input/fpcap.c input/mmpcap.c input/pcap.c input/zmmpcap.c input/zpcap.c lib/base64url.c lib/clock.c lib/trie.c output/dnscli.c output/pcap.c output/respdiff.c output/tcpcli.c output/tlscli.c output/udpcli.c
nobase_dnsjitinclude_HEADERS += core/assert.h core/channel.h core/compat.h core/file.h core/log.h core/object/dns.h core/object/ether.h core/object/gre.h core/object.h core/object/icmp6.h core/object/icmp.h core/object/ieee802.h core/object/ip6.h core/object/ip.h core/object/linuxsll.h core/object/loop.h core/object/null.h core/object/payload.h core/object/pcap.h core/object/tcp.h core/object/udp.h core/producer.h core/receiver.h core/thread.h core/timespec.h filter/copy.h filter/ipsplit.h filter/layer.h filter/split.h filter/timing.h input/fpcap.h input/mmpcap.h input/pcap.h input/zmmpcap.h input/zpcap.h lib/base64url.h lib/clock.h lib/trie.h output/dnscli.h output/pcap.h output/respdiff.h output/tcpcli.h output/tlscli.h output/udpcli.h
# Lua headers
nobase_dnsjitinclude_HEADERS += core/channel.hh core/file.hh core/log.hh core/object/dns.hh core/object/ether.hh core/object/gre.hh core/object.hh core/object/icmp6.hh core/object/icmp.hh core/object/ieee802.hh core/object/ip6.hh core/object/ip.hh core/object/linuxsll.hh core/object/loop.hh core/object/null.hh core/object/payload.hh core/object/pcap.hh core/object/tcp.hh core/object/udp.hh core/producer.hh core/receiver.hh core/thread.hh core/timespec.hh filter/copy.hh filter/ipsplit.hh filter/layer.hh filter/split.hh filter/timing.hh input/fpcap.hh input/mmpcap.hh input/pcap.hh input/zpcap.hh lib/base64url.hh lib/clock.hh lib/trie.hh output/dnscli.hh output/pcap.hh output/respdiff.hh output/tcpcli.hh output/tlscli.hh output/udpcli.hh
lua_hobjects += core/channel.luaho core/file.luaho core/log.luaho core/object/dns.luaho core/object/ether.luaho core/object/gre.luaho core/object/icmp6.luaho core/object/icmp.luaho core/object/ieee802.luaho core/object/ip6.luaho core/object/ip.luaho core/object/linuxsll.luaho core/object/loop.luaho core/object.luaho core/object/null.luaho core/object/payload.luaho core/object/pcap.luaho core/object/tcp.luaho core/object/udp.luaho core/producer.luaho core/receiver.luaho core/thread.luaho core/timespec.luaho filter/copy.luaho filter/ipsplit.luaho filter/layer.luaho filter/split.luaho filter/timing.luaho input/fpcap.luaho input/mmpcap.luaho input/pcap.luaho input/zpcap.luaho lib/base64url.luaho lib/clock.luaho lib/trie.luaho output/dnscli.luaho output/pcap.luaho output/respdiff.luaho output/tcpcli.luaho output/tlscli.luaho output/udpcli.luaho
nobase_dnsjitinclude_HEADERS += core/channel.hh core/file.hh core/log.hh core/object/dns.hh core/object/ether.hh core/object/gre.hh core/object.hh core/object/icmp6.hh core/object/icmp.hh core/object/ieee802.hh core/object/ip6.hh core/object/ip.hh core/object/linuxsll.hh core/object/loop.hh core/object/null.hh core/object/payload.hh core/object/pcap.hh core/object/tcp.hh core/object/udp.hh core/producer.hh core/receiver.hh core/thread.hh core/timespec.hh filter/copy.hh filter/ipsplit.hh filter/layer.hh filter/split.hh filter/timing.hh input/fpcap.hh input/mmpcap.hh input/pcap.hh input/zmmpcap.hh input/zpcap.hh lib/base64url.hh lib/clock.hh lib/trie.hh output/dnscli.hh output/pcap.hh output/respdiff.hh output/tcpcli.hh output/tlscli.hh output/udpcli.hh
lua_hobjects += core/channel.luaho core/file.luaho core/log.luaho core/object/dns.luaho core/object/ether.luaho core/object/gre.luaho core/object/icmp6.luaho core/object/icmp.luaho core/object/ieee802.luaho core/object/ip6.luaho core/object/ip.luaho core/object/linuxsll.luaho core/object/loop.luaho core/object.luaho core/object/null.luaho core/object/payload.luaho core/object/pcap.luaho core/object/tcp.luaho core/object/udp.luaho core/producer.luaho core/receiver.luaho core/thread.luaho core/timespec.luaho filter/copy.luaho filter/ipsplit.luaho filter/layer.luaho filter/split.luaho filter/timing.luaho input/fpcap.luaho input/mmpcap.luaho input/pcap.luaho input/zmmpcap.luaho input/zpcap.luaho lib/base64url.luaho lib/clock.luaho lib/trie.luaho output/dnscli.luaho output/pcap.luaho output/respdiff.luaho output/tcpcli.luaho output/tlscli.luaho output/udpcli.luaho
# Lua sources
dist_dnsjit_SOURCES += core/channel.lua core/compat.lua core/file.lua core/loader.lua core/log.lua core/object/dns/label.lua core/object/dns.lua core/object/dns/q.lua core/object/dns/rr.lua core/object/ether.lua core/object/gre.lua core/object/icmp6.lua core/object/icmp.lua core/object/ieee802.lua core/object/ip6.lua core/object/ip.lua core/object/linuxsll.lua core/object/loop.lua core/object.lua core/object/null.lua core/object/payload.lua core/object/pcap.lua core/objects.lua core/object/tcp.lua core/object/udp.lua core/producer.lua core/receiver.lua core/thread.lua core/timespec.lua filter/copy.lua filter/ipsplit.lua filter/layer.lua filter/split.lua filter/timing.lua input/fpcap.lua input/mmpcap.lua input/pcap.lua input/zero.lua input/zpcap.lua lib/base64url.lua lib/clock.lua lib/getopt.lua lib/ip.lua lib/parseconf.lua lib/trie/iter.lua lib/trie.lua lib/trie/node.lua output/dnscli.lua output/null.lua output/pcap.lua output/respdiff.lua output/tcpcli.lua output/tlscli.lua output/udpcli.lua
lua_objects += core/channel.luao core/compat.luao core/file.luao core/loader.luao core/log.luao core/object/dns/label.luao core/object/dns.luao core/object/dns/q.luao core/object/dns/rr.luao core/object/ether.luao core/object/gre.luao core/object/icmp6.luao core/object/icmp.luao core/object/ieee802.luao core/object/ip6.luao core/object/ip.luao core/object/linuxsll.luao core/object/loop.luao core/object.luao core/object/null.luao core/object/payload.luao core/object/pcap.luao core/objects.luao core/object/tcp.luao core/object/udp.luao core/producer.luao core/receiver.luao core/thread.luao core/timespec.luao filter/copy.luao filter/ipsplit.luao filter/layer.luao filter/split.luao filter/timing.luao input/fpcap.luao input/mmpcap.luao input/pcap.luao input/zero.luao input/zpcap.luao lib/base64url.luao lib/clock.luao lib/getopt.luao lib/ip.luao lib/parseconf.luao lib/trie/iter.luao lib/trie.luao lib/trie/node.luao output/dnscli.luao output/null.luao output/pcap.luao output/respdiff.luao output/tcpcli.luao output/tlscli.luao output/udpcli.luao
dist_dnsjit_SOURCES += core/channel.lua core/compat.lua core/file.lua core/loader.lua core/log.lua core/object/dns/label.lua core/object/dns.lua core/object/dns/q.lua core/object/dns/rr.lua core/object/ether.lua core/object/gre.lua core/object/icmp6.lua core/object/icmp.lua core/object/ieee802.lua core/object/ip6.lua core/object/ip.lua core/object/linuxsll.lua core/object/loop.lua core/object.lua core/object/null.lua core/object/payload.lua core/object/pcap.lua core/objects.lua core/object/tcp.lua core/object/udp.lua core/producer.lua core/receiver.lua core/thread.lua core/timespec.lua filter/copy.lua filter/ipsplit.lua filter/layer.lua filter/split.lua filter/timing.lua input/fpcap.lua input/mmpcap.lua input/pcap.lua input/zero.lua input/zmmpcap.lua input/zpcap.lua lib/base64url.lua lib/clock.lua lib/getopt.lua lib/ip.lua lib/parseconf.lua lib/trie/iter.lua lib/trie.lua lib/trie/node.lua output/dnscli.lua output/null.lua output/pcap.lua output/respdiff.lua output/tcpcli.lua output/tlscli.lua output/udpcli.lua
lua_objects += core/channel.luao core/compat.luao core/file.luao core/loader.luao core/log.luao core/object/dns/label.luao core/object/dns.luao core/object/dns/q.luao core/object/dns/rr.luao core/object/ether.luao core/object/gre.luao core/object/icmp6.luao core/object/icmp.luao core/object/ieee802.luao core/object/ip6.luao core/object/ip.luao core/object/linuxsll.luao core/object/loop.luao core/object.luao core/object/null.luao core/object/payload.luao core/object/pcap.luao core/objects.luao core/object/tcp.luao core/object/udp.luao core/producer.luao core/receiver.luao core/thread.luao core/timespec.luao filter/copy.luao filter/ipsplit.luao filter/layer.luao filter/split.luao filter/timing.luao input/fpcap.luao input/mmpcap.luao input/pcap.luao input/zero.luao input/zmmpcap.luao input/zpcap.luao lib/base64url.luao lib/clock.luao lib/getopt.luao lib/ip.luao lib/parseconf.luao lib/trie/iter.luao lib/trie.luao lib/trie/node.luao output/dnscli.luao output/null.luao output/pcap.luao output/respdiff.luao output/tcpcli.luao output/tlscli.luao output/udpcli.luao
dnsjit_LDFLAGS = -Wl,-E
dnsjit_LDADD += $(lua_hobjects) $(lua_objects)
@ -66,7 +67,7 @@ man1_MANS = dnsjit.1
CLEANFILES += $(man1_MANS)
man3_MANS = dnsjit.core.3 dnsjit.lib.3 dnsjit.input.3 dnsjit.filter.3 dnsjit.output.3
man3_MANS += dnsjit.core.channel.3 dnsjit.core.compat.3 dnsjit.core.file.3 dnsjit.core.loader.3 dnsjit.core.log.3 dnsjit.core.object.3 dnsjit.core.object.dns.3 dnsjit.core.object.dns.label.3 dnsjit.core.object.dns.q.3 dnsjit.core.object.dns.rr.3 dnsjit.core.object.ether.3 dnsjit.core.object.gre.3 dnsjit.core.object.icmp.3 dnsjit.core.object.icmp6.3 dnsjit.core.object.ieee802.3 dnsjit.core.object.ip.3 dnsjit.core.object.ip6.3 dnsjit.core.object.linuxsll.3 dnsjit.core.object.loop.3 dnsjit.core.object.null.3 dnsjit.core.object.payload.3 dnsjit.core.object.pcap.3 dnsjit.core.objects.3 dnsjit.core.object.tcp.3 dnsjit.core.object.udp.3 dnsjit.core.producer.3 dnsjit.core.receiver.3 dnsjit.core.thread.3 dnsjit.core.timespec.3 dnsjit.filter.copy.3 dnsjit.filter.ipsplit.3 dnsjit.filter.layer.3 dnsjit.filter.split.3 dnsjit.filter.timing.3 dnsjit.input.fpcap.3 dnsjit.input.mmpcap.3 dnsjit.input.pcap.3 dnsjit.input.zero.3 dnsjit.input.zpcap.3 dnsjit.lib.base64url.3 dnsjit.lib.clock.3 dnsjit.lib.getopt.3 dnsjit.lib.ip.3 dnsjit.lib.parseconf.3 dnsjit.lib.trie.3 dnsjit.lib.trie.iter.3 dnsjit.lib.trie.node.3 dnsjit.output.dnscli.3 dnsjit.output.null.3 dnsjit.output.pcap.3 dnsjit.output.respdiff.3 dnsjit.output.tcpcli.3 dnsjit.output.tlscli.3 dnsjit.output.udpcli.3
man3_MANS += dnsjit.core.channel.3 dnsjit.core.compat.3 dnsjit.core.file.3 dnsjit.core.loader.3 dnsjit.core.log.3 dnsjit.core.object.3 dnsjit.core.object.dns.3 dnsjit.core.object.dns.label.3 dnsjit.core.object.dns.q.3 dnsjit.core.object.dns.rr.3 dnsjit.core.object.ether.3 dnsjit.core.object.gre.3 dnsjit.core.object.icmp.3 dnsjit.core.object.icmp6.3 dnsjit.core.object.ieee802.3 dnsjit.core.object.ip.3 dnsjit.core.object.ip6.3 dnsjit.core.object.linuxsll.3 dnsjit.core.object.loop.3 dnsjit.core.object.null.3 dnsjit.core.object.payload.3 dnsjit.core.object.pcap.3 dnsjit.core.objects.3 dnsjit.core.object.tcp.3 dnsjit.core.object.udp.3 dnsjit.core.producer.3 dnsjit.core.receiver.3 dnsjit.core.thread.3 dnsjit.core.timespec.3 dnsjit.filter.copy.3 dnsjit.filter.ipsplit.3 dnsjit.filter.layer.3 dnsjit.filter.split.3 dnsjit.filter.timing.3 dnsjit.input.fpcap.3 dnsjit.input.mmpcap.3 dnsjit.input.pcap.3 dnsjit.input.zero.3 dnsjit.input.zmmpcap.3 dnsjit.input.zpcap.3 dnsjit.lib.base64url.3 dnsjit.lib.clock.3 dnsjit.lib.getopt.3 dnsjit.lib.ip.3 dnsjit.lib.parseconf.3 dnsjit.lib.trie.3 dnsjit.lib.trie.iter.3 dnsjit.lib.trie.node.3 dnsjit.output.dnscli.3 dnsjit.output.null.3 dnsjit.output.pcap.3 dnsjit.output.respdiff.3 dnsjit.output.tcpcli.3 dnsjit.output.tlscli.3 dnsjit.output.udpcli.3
CLEANFILES += *.3in $(man3_MANS)
.lua.luao:
@ -80,7 +81,7 @@ CLEANFILES += *.3in $(man3_MANS)
.hh.luah:
@mkdir -p `dirname "$@"`
@echo 'module(...,package.seeall);' > "$@"
@cat "$<" | grep '^//lua:' | sed 's%^//lua:%%' >> "$@"
@cat "$<" | grep '^// *lua:' | sed 's%^// *lua:%%' >> "$@"
@echo 'require("ffi").cdef[[' >> "$@"
@cat "$<" | grep -v '^#' >> "$@"
@echo ']]' >> "$@"
@ -240,6 +241,9 @@ dnsjit.input.pcap.3in: input/pcap.lua gen-manpage.lua
dnsjit.input.zero.3in: input/zero.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/input/zero.lua" > "$@"
dnsjit.input.zmmpcap.3in: input/zmmpcap.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/input/zmmpcap.lua" > "$@"
dnsjit.input.zpcap.3in: input/zpcap.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/input/zpcap.lua" > "$@"

View file

@ -14,7 +14,7 @@
@SET_MAKE@
# Copyright (c) 2018-2023, OARC, Inc.
# Copyright (c) 2018-2024 OARC, Inc.
# All rights reserved.
#
# This file is part of dnsjit.
@ -150,18 +150,18 @@ am_dnsjit_OBJECTS = dnsjit.$(OBJEXT) globals.$(OBJEXT) \
filter/layer.$(OBJEXT) filter/split.$(OBJEXT) \
filter/timing.$(OBJEXT) input/fpcap.$(OBJEXT) \
input/mmpcap.$(OBJEXT) input/pcap.$(OBJEXT) \
input/zpcap.$(OBJEXT) lib/base64url.$(OBJEXT) \
lib/clock.$(OBJEXT) lib/trie.$(OBJEXT) output/dnscli.$(OBJEXT) \
output/pcap.$(OBJEXT) output/respdiff.$(OBJEXT) \
output/tcpcli.$(OBJEXT) output/tlscli.$(OBJEXT) \
output/udpcli.$(OBJEXT)
input/zmmpcap.$(OBJEXT) input/zpcap.$(OBJEXT) \
lib/base64url.$(OBJEXT) lib/clock.$(OBJEXT) lib/trie.$(OBJEXT) \
output/dnscli.$(OBJEXT) output/pcap.$(OBJEXT) \
output/respdiff.$(OBJEXT) output/tcpcli.$(OBJEXT) \
output/tlscli.$(OBJEXT) output/udpcli.$(OBJEXT)
dist_dnsjit_OBJECTS =
dnsjit_OBJECTS = $(am_dnsjit_OBJECTS) $(dist_dnsjit_OBJECTS)
am__DEPENDENCIES_1 =
dnsjit_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) $(lua_hobjects) \
$(lua_objects)
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(lua_hobjects) $(lua_objects)
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
@ -201,11 +201,12 @@ am__depfiles_remade = ./$(DEPDIR)/dnsjit.Po ./$(DEPDIR)/globals.Po \
filter/$(DEPDIR)/layer.Po filter/$(DEPDIR)/split.Po \
filter/$(DEPDIR)/timing.Po input/$(DEPDIR)/fpcap.Po \
input/$(DEPDIR)/mmpcap.Po input/$(DEPDIR)/pcap.Po \
input/$(DEPDIR)/zpcap.Po lib/$(DEPDIR)/base64url.Po \
lib/$(DEPDIR)/clock.Po lib/$(DEPDIR)/trie.Po \
output/$(DEPDIR)/dnscli.Po output/$(DEPDIR)/pcap.Po \
output/$(DEPDIR)/respdiff.Po output/$(DEPDIR)/tcpcli.Po \
output/$(DEPDIR)/tlscli.Po output/$(DEPDIR)/udpcli.Po
input/$(DEPDIR)/zmmpcap.Po input/$(DEPDIR)/zpcap.Po \
lib/$(DEPDIR)/base64url.Po lib/$(DEPDIR)/clock.Po \
lib/$(DEPDIR)/trie.Po output/$(DEPDIR)/dnscli.Po \
output/$(DEPDIR)/pcap.Po output/$(DEPDIR)/respdiff.Po \
output/$(DEPDIR)/tcpcli.Po output/$(DEPDIR)/tlscli.Po \
output/$(DEPDIR)/udpcli.Po
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@ -445,6 +446,8 @@ libdir = @libdir@
libexecdir = @libexecdir@
liblz4_CFLAGS = @liblz4_CFLAGS@
liblz4_LIBS = @liblz4_LIBS@
liblzma_CFLAGS = @liblzma_CFLAGS@
liblzma_LIBS = @liblzma_LIBS@
libpcap_CFLAGS = @libpcap_CFLAGS@
libpcap_LIBS = @libpcap_LIBS@
libzstd_CFLAGS = @libzstd_CFLAGS@
@ -481,7 +484,8 @@ AM_CFLAGS = -Werror=attributes \
$(PTHREAD_CFLAGS) \
$(luajit_CFLAGS) \
$(liblz4_CFLAGS) $(libzstd_CFLAGS) \
$(libpcap_CFLAGS) $(gnutls_CFLAGS)
$(libpcap_CFLAGS) $(gnutls_CFLAGS) \
$(liblzma_CFLAGS)
EXTRA_DIST = gen-manpage.lua gen-compat.lua gen-errno.sh dnsjit.1in
BUILT_SOURCES = core/compat.hh core/log_errstr.c
@ -496,10 +500,10 @@ dnsjit_SOURCES = dnsjit.c globals.c core/channel.c core/compat.c \
core/object/tcp.c core/object/udp.c core/producer.c \
core/receiver.c core/thread.c filter/copy.c filter/ipsplit.c \
filter/layer.c filter/split.c filter/timing.c input/fpcap.c \
input/mmpcap.c input/pcap.c input/zpcap.c lib/base64url.c \
lib/clock.c lib/trie.c output/dnscli.c output/pcap.c \
output/respdiff.c output/tcpcli.c output/tlscli.c \
output/udpcli.c
input/mmpcap.c input/pcap.c input/zmmpcap.c input/zpcap.c \
lib/base64url.c lib/clock.c lib/trie.c output/dnscli.c \
output/pcap.c output/respdiff.c output/tcpcli.c \
output/tlscli.c output/udpcli.c
# Lua sources
dist_dnsjit_SOURCES = core.lua lib.lua input.lua filter.lua output.lua \
@ -516,9 +520,9 @@ dist_dnsjit_SOURCES = core.lua lib.lua input.lua filter.lua output.lua \
core/thread.lua core/timespec.lua filter/copy.lua \
filter/ipsplit.lua filter/layer.lua filter/split.lua \
filter/timing.lua input/fpcap.lua input/mmpcap.lua \
input/pcap.lua input/zero.lua input/zpcap.lua \
lib/base64url.lua lib/clock.lua lib/getopt.lua lib/ip.lua \
lib/parseconf.lua lib/trie/iter.lua lib/trie.lua \
input/pcap.lua input/zero.lua input/zmmpcap.lua \
input/zpcap.lua lib/base64url.lua lib/clock.lua lib/getopt.lua \
lib/ip.lua lib/parseconf.lua lib/trie/iter.lua lib/trie.lua \
lib/trie/node.lua output/dnscli.lua output/null.lua \
output/pcap.lua output/respdiff.lua output/tcpcli.lua \
output/tlscli.lua output/udpcli.lua
@ -535,23 +539,23 @@ nobase_dnsjitinclude_HEADERS = globals.h version.h core/assert.h \
core/object/udp.h core/producer.h core/receiver.h \
core/thread.h core/timespec.h filter/copy.h filter/ipsplit.h \
filter/layer.h filter/split.h filter/timing.h input/fpcap.h \
input/mmpcap.h input/pcap.h input/zpcap.h lib/base64url.h \
lib/clock.h lib/trie.h output/dnscli.h output/pcap.h \
output/respdiff.h output/tcpcli.h output/tlscli.h \
output/udpcli.h core/channel.hh core/file.hh core/log.hh \
core/object/dns.hh core/object/ether.hh core/object/gre.hh \
core/object.hh core/object/icmp6.hh core/object/icmp.hh \
core/object/ieee802.hh core/object/ip6.hh core/object/ip.hh \
core/object/linuxsll.hh core/object/loop.hh \
input/mmpcap.h input/pcap.h input/zmmpcap.h input/zpcap.h \
lib/base64url.h lib/clock.h lib/trie.h output/dnscli.h \
output/pcap.h output/respdiff.h output/tcpcli.h \
output/tlscli.h output/udpcli.h core/channel.hh core/file.hh \
core/log.hh core/object/dns.hh core/object/ether.hh \
core/object/gre.hh core/object.hh core/object/icmp6.hh \
core/object/icmp.hh core/object/ieee802.hh core/object/ip6.hh \
core/object/ip.hh core/object/linuxsll.hh core/object/loop.hh \
core/object/null.hh core/object/payload.hh core/object/pcap.hh \
core/object/tcp.hh core/object/udp.hh core/producer.hh \
core/receiver.hh core/thread.hh core/timespec.hh \
filter/copy.hh filter/ipsplit.hh filter/layer.hh \
filter/split.hh filter/timing.hh input/fpcap.hh \
input/mmpcap.hh input/pcap.hh input/zpcap.hh lib/base64url.hh \
lib/clock.hh lib/trie.hh output/dnscli.hh output/pcap.hh \
output/respdiff.hh output/tcpcli.hh output/tlscli.hh \
output/udpcli.hh
input/mmpcap.hh input/pcap.hh input/zmmpcap.hh input/zpcap.hh \
lib/base64url.hh lib/clock.hh lib/trie.hh output/dnscli.hh \
output/pcap.hh output/respdiff.hh output/tcpcli.hh \
output/tlscli.hh output/udpcli.hh
lua_hobjects = core/compat.luaho core/channel.luaho core/file.luaho \
core/log.luaho core/object/dns.luaho core/object/ether.luaho \
core/object/gre.luaho core/object/icmp6.luaho \
@ -565,10 +569,10 @@ lua_hobjects = core/compat.luaho core/channel.luaho core/file.luaho \
core/timespec.luaho filter/copy.luaho filter/ipsplit.luaho \
filter/layer.luaho filter/split.luaho filter/timing.luaho \
input/fpcap.luaho input/mmpcap.luaho input/pcap.luaho \
input/zpcap.luaho lib/base64url.luaho lib/clock.luaho \
lib/trie.luaho output/dnscli.luaho output/pcap.luaho \
output/respdiff.luaho output/tcpcli.luaho output/tlscli.luaho \
output/udpcli.luaho
input/zmmpcap.luaho input/zpcap.luaho lib/base64url.luaho \
lib/clock.luaho lib/trie.luaho output/dnscli.luaho \
output/pcap.luaho output/respdiff.luaho output/tcpcli.luaho \
output/tlscli.luaho output/udpcli.luaho
lua_objects = core.luao lib.luao input.luao filter.luao output.luao \
core/channel.luao core/compat.luao core/file.luao \
core/loader.luao core/log.luao core/object/dns/label.luao \
@ -585,15 +589,15 @@ lua_objects = core.luao lib.luao input.luao filter.luao output.luao \
core/timespec.luao filter/copy.luao filter/ipsplit.luao \
filter/layer.luao filter/split.luao filter/timing.luao \
input/fpcap.luao input/mmpcap.luao input/pcap.luao \
input/zero.luao input/zpcap.luao lib/base64url.luao \
lib/clock.luao lib/getopt.luao lib/ip.luao lib/parseconf.luao \
lib/trie/iter.luao lib/trie.luao lib/trie/node.luao \
output/dnscli.luao output/null.luao output/pcap.luao \
output/respdiff.luao output/tcpcli.luao output/tlscli.luao \
output/udpcli.luao
input/zero.luao input/zmmpcap.luao input/zpcap.luao \
lib/base64url.luao lib/clock.luao lib/getopt.luao lib/ip.luao \
lib/parseconf.luao lib/trie/iter.luao lib/trie.luao \
lib/trie/node.luao output/dnscli.luao output/null.luao \
output/pcap.luao output/respdiff.luao output/tcpcli.luao \
output/tlscli.luao output/udpcli.luao
dnsjit_LDADD = $(PTHREAD_LIBS) $(luajit_LIBS) $(liblz4_LIBS) \
$(libzstd_LIBS) $(libpcap_LIBS) $(gnutls_LIBS) $(lua_hobjects) \
$(lua_objects)
$(libzstd_LIBS) $(libpcap_LIBS) $(gnutls_LIBS) $(liblzma_LIBS) \
$(lua_hobjects) $(lua_objects)
dnsjit_LDFLAGS = -Wl,-E
man1_MANS = dnsjit.1
man3_MANS = dnsjit.core.3 dnsjit.lib.3 dnsjit.input.3 dnsjit.filter.3 \
@ -615,13 +619,14 @@ man3_MANS = dnsjit.core.3 dnsjit.lib.3 dnsjit.input.3 dnsjit.filter.3 \
dnsjit.filter.layer.3 dnsjit.filter.split.3 \
dnsjit.filter.timing.3 dnsjit.input.fpcap.3 \
dnsjit.input.mmpcap.3 dnsjit.input.pcap.3 dnsjit.input.zero.3 \
dnsjit.input.zpcap.3 dnsjit.lib.base64url.3 dnsjit.lib.clock.3 \
dnsjit.lib.getopt.3 dnsjit.lib.ip.3 dnsjit.lib.parseconf.3 \
dnsjit.lib.trie.3 dnsjit.lib.trie.iter.3 \
dnsjit.lib.trie.node.3 dnsjit.output.dnscli.3 \
dnsjit.output.null.3 dnsjit.output.pcap.3 \
dnsjit.output.respdiff.3 dnsjit.output.tcpcli.3 \
dnsjit.output.tlscli.3 dnsjit.output.udpcli.3
dnsjit.input.zmmpcap.3 dnsjit.input.zpcap.3 \
dnsjit.lib.base64url.3 dnsjit.lib.clock.3 dnsjit.lib.getopt.3 \
dnsjit.lib.ip.3 dnsjit.lib.parseconf.3 dnsjit.lib.trie.3 \
dnsjit.lib.trie.iter.3 dnsjit.lib.trie.node.3 \
dnsjit.output.dnscli.3 dnsjit.output.null.3 \
dnsjit.output.pcap.3 dnsjit.output.respdiff.3 \
dnsjit.output.tcpcli.3 dnsjit.output.tlscli.3 \
dnsjit.output.udpcli.3
all: $(BUILT_SOURCES) config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@ -806,6 +811,8 @@ input/mmpcap.$(OBJEXT): input/$(am__dirstamp) \
input/$(DEPDIR)/$(am__dirstamp)
input/pcap.$(OBJEXT): input/$(am__dirstamp) \
input/$(DEPDIR)/$(am__dirstamp)
input/zmmpcap.$(OBJEXT): input/$(am__dirstamp) \
input/$(DEPDIR)/$(am__dirstamp)
input/zpcap.$(OBJEXT): input/$(am__dirstamp) \
input/$(DEPDIR)/$(am__dirstamp)
lib/$(am__dirstamp):
@ -886,6 +893,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@input/$(DEPDIR)/fpcap.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@input/$(DEPDIR)/mmpcap.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@input/$(DEPDIR)/pcap.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@input/$(DEPDIR)/zmmpcap.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@input/$(DEPDIR)/zpcap.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/base64url.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/clock.Po@am__quote@ # am--include-marker
@ -1291,6 +1299,7 @@ distclean: distclean-recursive
-rm -f input/$(DEPDIR)/fpcap.Po
-rm -f input/$(DEPDIR)/mmpcap.Po
-rm -f input/$(DEPDIR)/pcap.Po
-rm -f input/$(DEPDIR)/zmmpcap.Po
-rm -f input/$(DEPDIR)/zpcap.Po
-rm -f lib/$(DEPDIR)/base64url.Po
-rm -f lib/$(DEPDIR)/clock.Po
@ -1383,6 +1392,7 @@ maintainer-clean: maintainer-clean-recursive
-rm -f input/$(DEPDIR)/fpcap.Po
-rm -f input/$(DEPDIR)/mmpcap.Po
-rm -f input/$(DEPDIR)/pcap.Po
-rm -f input/$(DEPDIR)/zmmpcap.Po
-rm -f input/$(DEPDIR)/zpcap.Po
-rm -f lib/$(DEPDIR)/base64url.Po
-rm -f lib/$(DEPDIR)/clock.Po
@ -1450,7 +1460,7 @@ uninstall-man: uninstall-man1 uninstall-man3
.hh.luah:
@mkdir -p `dirname "$@"`
@echo 'module(...,package.seeall);' > "$@"
@cat "$<" | grep '^//lua:' | sed 's%^//lua:%%' >> "$@"
@cat "$<" | grep '^// *lua:' | sed 's%^// *lua:%%' >> "$@"
@echo 'require("ffi").cdef[[' >> "$@"
@cat "$<" | grep -v '^#' >> "$@"
@echo ']]' >> "$@"
@ -1607,6 +1617,9 @@ dnsjit.input.pcap.3in: input/pcap.lua gen-manpage.lua
dnsjit.input.zero.3in: input/zero.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/input/zero.lua" > "$@"
dnsjit.input.zmmpcap.3in: input/zmmpcap.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/input/zmmpcap.lua" > "$@"
dnsjit.input.zpcap.3in: input/zpcap.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/input/zpcap.lua" > "$@"

View file

@ -91,12 +91,18 @@
/* Define to 1 if you have the `pcap' library (-lpcap). */
#undef HAVE_LIBPCAP
/* Define to 1 if you have the `z' library (-lz). */
#undef HAVE_LIBZ
/* Define to 1 if you have the <lmdb.h> header file. */
#undef HAVE_LMDB_H
/* Use liblz4 */
#undef HAVE_LZ4
/* Use liblzma */
#undef HAVE_LZMA
/* Define to 1 if you have the <machine/endian.h> header file. */
#undef HAVE_MACHINE_ENDIAN_H

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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;

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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);

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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);

View file

@ -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.

View file

@ -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);
}

View file

@ -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.

View file

@ -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);

Some files were not shown because too many files have changed in this diff Show more