]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
app-layer: remove unused C wrappers 10947/head
authorPhilippe Antoine <pantoine@oisf.net>
Sun, 21 Apr 2024 21:40:34 +0000 (23:40 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 24 Apr 2024 10:07:59 +0000 (12:07 +0200)
Ticket: 4083

27 files changed:
rust/cbindgen.toml
src/Makefile.am
src/app-layer-krb5.c [deleted file]
src/app-layer-krb5.h [deleted file]
src/app-layer-ntp.c [deleted file]
src/app-layer-ntp.h [deleted file]
src/app-layer-parser.c
src/app-layer-quic.c [deleted file]
src/app-layer-quic.h [deleted file]
src/app-layer-rdp.c [deleted file]
src/app-layer-rdp.h [deleted file]
src/app-layer-sip.c [deleted file]
src/app-layer-sip.h [deleted file]
src/app-layer-snmp.c [deleted file]
src/app-layer-snmp.h [deleted file]
src/detect-krb5-cname.c
src/detect-krb5-errcode.c
src/detect-krb5-msgtype.c
src/detect-krb5-sname.c
src/detect-sip-method.c
src/detect-sip-protocol.c
src/detect-sip-request-line.c
src/detect-sip-response-line.c
src/detect-sip-stat-code.c
src/detect-sip-stat-msg.c
src/detect-sip-uri.c
src/rust-context.h

index 15c56e2e7da2b6b376f87c6c5ff61de854c37a14..3240f4661ef1919d011127803b9c3c3c09b58825 100644 (file)
@@ -98,12 +98,8 @@ exclude = [
     "JsonT",
     "IKEState",
     "IKETransaction",
-    "KRB5State",
-    "KRB5Transaction",
     "NTPState",
     "NTPTransaction",
-    "SNMPState",
-    "SNMPTransaction",
     "SuricataContext",
     "SuricataFileContext",
     "TFTPState",
index 7dd33a759911542a06705769c562d21f2dd593dd..d2fd1e29ea11f224ee75a92ce421d9d9c88f776e 100755 (executable)
@@ -33,21 +33,15 @@ noinst_HEADERS = \
        app-layer-htp-xff.h \
        app-layer-http2.h \
        app-layer-ike.h \
-       app-layer-krb5.h \
        app-layer-modbus.h \
-       app-layer-quic.h \
        app-layer-nfs-tcp.h \
        app-layer-nfs-udp.h \
-       app-layer-ntp.h \
        app-layer-parser.h \
        app-layer-protos.h \
-       app-layer-rdp.h \
        app-layer-register.h \
        app-layer-rfb.h \
-       app-layer-sip.h \
        app-layer-smb.h \
        app-layer-smtp.h \
-       app-layer-snmp.h \
        app-layer-ssh.h \
        app-layer-ssl.h \
        app-layer-tftp.h \
@@ -649,21 +643,15 @@ libsuricata_c_a_SOURCES = \
        app-layer-htp-xff.c \
        app-layer-http2.c \
        app-layer-ike.c \
-       app-layer-krb5.c \
        app-layer-modbus.c \
-       app-layer-quic.c \
        app-layer-nfs-tcp.c \
        app-layer-nfs-udp.c \
-       app-layer-ntp.c \
        app-layer-parser.c \
        app-layer-protos.c \
-       app-layer-rdp.c \
        app-layer-register.c \
        app-layer-rfb.c \
-       app-layer-sip.c \
        app-layer-smb.c \
        app-layer-smtp.c \
-       app-layer-snmp.c \
        app-layer-ssh.c \
        app-layer-ssl.c \
        app-layer-tftp.c \
diff --git a/src/app-layer-krb5.c b/src/app-layer-krb5.c
deleted file mode 100644 (file)
index 7b2b63f..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/* Copyright (C) 2015 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Pierre Chifflier <chifflier@wzdftpd.net>
- *
- * Parser for Kerberos v5 application layer running on UDP port 88.
- */
-
-#include "suricata-common.h"
-#include "stream.h"
-#include "conf.h"
-
-#include "util-unittest.h"
-
-#include "app-layer-detect-proto.h"
-#include "app-layer-parser.h"
-
-#include "app-layer-krb5.h"
-#include "rust.h"
-
-void RegisterKRB5Parsers(void)
-{
-    rs_register_krb5_parser();
-
-#ifdef UNITTESTS
-    AppLayerParserRegisterProtocolUnittests(IPPROTO_TCP, ALPROTO_KRB5,
-        KRB5ParserRegisterTests);
-#endif
-}
-
-#ifdef UNITTESTS
-#endif
-
-void KRB5ParserRegisterTests(void)
-{
-#ifdef UNITTESTS
-#endif
-}
diff --git a/src/app-layer-krb5.h b/src/app-layer-krb5.h
deleted file mode 100644 (file)
index ec8d5a5..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Copyright (C) 2015 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Pierre Chifflier <chifflier@wzdftpd.net>
- */
-
-#ifndef SURICATA_APP_LAYER_KRB5_H
-#define SURICATA_APP_LAYER_KRB5_H
-
-void RegisterKRB5Parsers(void);
-void KRB5ParserRegisterTests(void);
-
-/** Opaque Rust types. */
-typedef struct KRB5State_ KRB5State;
-typedef struct KRB5Transaction_ KRB5Transaction;
-
-#endif /* SURICATA_APP_LAYER_KRB5_H */
diff --git a/src/app-layer-ntp.c b/src/app-layer-ntp.c
deleted file mode 100644 (file)
index fa7f95d..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/* Copyright (C) 2017 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Pierre Chifflier <chifflier@wzdftpd.net>
- *
- * Parser for NTP application layer running on UDP port 123.
- */
-
-#include "suricata-common.h"
-#include "stream.h"
-#include "conf.h"
-
-#include "util-unittest.h"
-
-#include "app-layer-detect-proto.h"
-#include "app-layer-parser.h"
-
-#include "app-layer-ntp.h"
-#include "rust.h"
-
-void RegisterNTPParsers(void)
-{
-    rs_register_ntp_parser();
-
-#ifdef UNITTESTS
-    AppLayerParserRegisterProtocolUnittests(IPPROTO_UDP, ALPROTO_NTP,
-        NTPParserRegisterTests);
-#endif
-}
-
-#ifdef UNITTESTS
-#endif
-
-void NTPParserRegisterTests(void)
-{
-#ifdef UNITTESTS
-#endif
-}
diff --git a/src/app-layer-ntp.h b/src/app-layer-ntp.h
deleted file mode 100644 (file)
index 08797d4..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/* Copyright (C) 2017 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Pierre Chifflier <chifflier@wzdftpd.net>
- */
-
-#ifndef SURICATA_APP_LAYER_NTP_H
-#define SURICATA_APP_LAYER_NTP_H
-
-void RegisterNTPParsers(void);
-void NTPParserRegisterTests(void);
-
-/** Opaque Rust types. */
-typedef struct NTPState_ NTPState;
-typedef struct NTPTransaction_ NTPTransaction;
-
-#endif /* SURICATA_APP_LAYER_NTP_H */
index cf04151d79faf7763c2d386550abac6f172e4585..83bd5bb03d122c6d79b5458b4fa4cb2277066286 100644 (file)
 #include "app-layer-dnp3.h"
 #include "app-layer-nfs-tcp.h"
 #include "app-layer-nfs-udp.h"
-#include "app-layer-ntp.h"
 #include "app-layer-tftp.h"
 #include "app-layer-ike.h"
-#include "app-layer-krb5.h"
-#include "app-layer-sip.h"
 #include "app-layer-rfb.h"
-#include "app-layer-snmp.h"
-#include "app-layer-quic.h"
-#include "app-layer-rdp.h"
 #include "app-layer-http2.h"
 
 struct AppLayerParserThreadCtx_ {
@@ -1746,20 +1740,20 @@ void AppLayerParserRegisterProtocolParsers(void)
     RegisterDNP3Parsers();
     RegisterNFSTCPParsers();
     RegisterNFSUDPParsers();
-    RegisterNTPParsers();
+    rs_register_ntp_parser();
     RegisterTFTPParsers();
     RegisterIKEParsers();
-    RegisterKRB5Parsers();
+    rs_register_krb5_parser();
     rs_dhcp_register_parser();
-    RegisterSNMPParsers();
-    RegisterSIPParsers();
-    RegisterQuicParsers();
+    rs_register_snmp_parser();
+    rs_sip_register_parser();
+    rs_quic_register_parser();
     rs_websocket_register_parser();
     rs_template_register_parser();
     RegisterRFBParsers();
     SCMqttRegisterParser();
     rs_pgsql_register_parser();
-    RegisterRdpParsers();
+    rs_rdp_register_parser();
     RegisterHTTP2Parsers();
     rs_telnet_register_parser();
 
diff --git a/src/app-layer-quic.c b/src/app-layer-quic.c
deleted file mode 100644 (file)
index 837aa9c..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/* Copyright (C) 2021 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * Quic Application Layer
- *
- */
-
-#include "suricata-common.h"
-#include "stream.h"
-#include "conf.h"
-
-#include "util-unittest.h"
-
-#include "app-layer-detect-proto.h"
-#include "app-layer-parser.h"
-
-#include "app-layer-quic.h"
-#include "rust.h"
-
-void RegisterQuicParsers(void)
-{
-    rs_quic_register_parser();
-}
diff --git a/src/app-layer-quic.h b/src/app-layer-quic.h
deleted file mode 100644 (file)
index 79551ae..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/* Copyright (C) 2021 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- */
-
-#ifndef SURICATA_APP_LAYER_QUIC_H
-#define SURICATA_APP_LAYER_QUIC_H
-
-void RegisterQuicParsers(void);
-
-#endif /* SURICATA_APP_LAYER_QUIC_H */
diff --git a/src/app-layer-rdp.c b/src/app-layer-rdp.c
deleted file mode 100644 (file)
index 2611de4..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright (C) 2019 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Zach Kelly <zach.kelly@lmco.com>
- *
- * Application layer parser for RDP
- */
-
-#include "suricata-common.h"
-#include "stream.h"
-#include "conf.h"
-#include "util-unittest.h"
-#include "app-layer-detect-proto.h"
-#include "app-layer-parser.h"
-#include "app-layer-rdp.h"
-#include "rust.h"
-
-void RegisterRdpParsers(void) {
-    SCLogDebug("Registering rdp parser");
-    rs_rdp_register_parser();
-}
diff --git a/src/app-layer-rdp.h b/src/app-layer-rdp.h
deleted file mode 100644 (file)
index 4b804f7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Copyright (C) 2019 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Zach Kelly <zach.kelly@lmco.com>
- */
-
-#ifndef SURICATA_APP_LAYER_RDP_H
-#define SURICATA_APP_LAYER_RDP_H
-
-void RegisterRdpParsers(void);
-
-#endif /* SURICATA_APP_LAYER_RDP_H */
diff --git a/src/app-layer-sip.c b/src/app-layer-sip.c
deleted file mode 100644 (file)
index 780d21c..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright (C) 2019-2020 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Giuseppe Longo <giuseppe@glongo.it>
- *
- * Parser for SIP application layer running on UDP port 5060.
- */
-
-#include "suricata-common.h"
-#include "app-layer-sip.h"
-#include "rust.h"
-
-void RegisterSIPParsers(void)
-{
-    rs_sip_register_parser();
-}
diff --git a/src/app-layer-sip.h b/src/app-layer-sip.h
deleted file mode 100644 (file)
index af4f4e1..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Copyright (C) 2019-2020 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Giuseppe Longo <giuseppe@glongo.it>
- */
-
-#ifndef SURICATA_APP_LAYER_SIP_H
-#define SURICATA_APP_LAYER_SIP_H
-
-void RegisterSIPParsers(void);
-
-#endif /* SURICATA_APP_LAYER_SIP_H */
diff --git a/src/app-layer-snmp.c b/src/app-layer-snmp.c
deleted file mode 100644 (file)
index 589aa45..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/* Copyright (C) 2015-2019 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Pierre Chifflier <chifflier@wzdftpd.net>
- *
- * Parser for SNMP v2c/v3 application layer running on UDP port 161.
- *
- */
-
-#include "suricata-common.h"
-#include "stream.h"
-#include "conf.h"
-
-#include "util-unittest.h"
-
-#include "app-layer-detect-proto.h"
-#include "app-layer-parser.h"
-
-#include "app-layer-snmp.h"
-#include "rust.h"
-
-void RegisterSNMPParsers(void)
-{
-    rs_register_snmp_parser();
-}
-
diff --git a/src/app-layer-snmp.h b/src/app-layer-snmp.h
deleted file mode 100644 (file)
index 637e94f..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright (C) 2017-2019 Open Information Security Foundation
- *
- * You can copy, redistribute or modify this Program under the terms of
- * the GNU General Public License version 2 as published by the Free
- * Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- * 02110-1301, USA.
- */
-
-/**
- * \file
- *
- * \author Pierre Chifflier <chifflier@wzdftpd.net>
- */
-
-#ifndef SURICATA_APP_LAYER_SNMP_H
-#define SURICATA_APP_LAYER_SNMP_H
-
-void RegisterSNMPParsers(void);
-
-/** Opaque Rust types. */
-typedef struct SNMPState_ SNMPState;
-typedef struct SNMPTransaction_ SNMPTransaction;
-
-#endif /* SURICATA_APP_LAYER_SNMP_H */
index a85b7aa8f800c949b0cd2c45d90f3756b13950ef..37b6c72c3d614c8c816674fd2b868d225b1540f5 100644 (file)
@@ -34,7 +34,6 @@
 #include "detect-krb5-cname.h"
 
 #include "rust.h"
-#include "app-layer-krb5.h"
 #include "util-profiling.h"
 
 static int g_krb5_cname_buffer_id = 0;
index b422bdc38e7fb21cf72ff4e61dcd9d28665c80b1..72fa14a6327dd0b3e4edfec766c40acaa455b2df 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "detect-krb5-errcode.h"
 
-#include "app-layer-krb5.h"
 #include "rust.h"
 
 /**
index 9220a2929f1b5aef0eb36d9176419cb30e5b1475..5325c7d3286509d195e932652d28c0e298c8dfea 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "detect-krb5-msgtype.h"
 
-#include "app-layer-krb5.h"
 #include "rust.h"
 
 /**
index f5670bd5544c465674e71cab9c3acf317ba53d6b..ff52c1a28d1dd6f0d297310a31ddd54406afcbf8 100644 (file)
@@ -34,7 +34,6 @@
 #include "detect-krb5-sname.h"
 
 #include "rust.h"
-#include "app-layer-krb5.h"
 #include "util-profiling.h"
 
 static int g_krb5_sname_buffer_id = 0;
index d4ee89ad193b11bef1001a0dbd06ca3b68db006e..ed22381d9ffc9e7d1eac989ad756c8e652d62f45 100644 (file)
@@ -51,7 +51,6 @@
 #include "stream-tcp.h"
 
 #include "rust.h"
-#include "app-layer-sip.h"
 
 #define KEYWORD_NAME "sip.method"
 #define KEYWORD_DOC  "sip-keywords.html#sip-method"
index 6adf74452988078827fb2e8900bcb836fb8e2edd..069d7077714c692ad26909dd45501e4b3d56b8a3 100644 (file)
@@ -1,4 +1,4 @@
- /* Copyright (C) 2019 Open Information Security Foundation
+/* Copyright (C) 2019 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
@@ -52,7 +52,6 @@
 #include "stream-tcp.h"
 
 #include "rust.h"
-#include "app-layer-sip.h"
 
 #define KEYWORD_NAME "sip.protocol"
 #define KEYWORD_DOC  "sip-keywords.html#sip-protocol"
index 5852f7fbe84317480902ca5a26ea81fdf04c60b1..23ce659d3f4c6518e0867c2463762b2b12c5f9dc 100644 (file)
@@ -51,7 +51,6 @@
 #include "stream-tcp.h"
 
 #include "rust.h"
-#include "app-layer-sip.h"
 
 #define KEYWORD_NAME "sip.request_line"
 #define KEYWORD_DOC  "sip-keywords.html#sip-request-line"
index 12be766dfeb31765af45228d411a65f7bf47eefa..a98a6c7d7c1da556b0844f5297f072e2f6087155 100644 (file)
@@ -51,7 +51,6 @@
 #include "stream-tcp.h"
 
 #include "rust.h"
-#include "app-layer-sip.h"
 
 #define KEYWORD_NAME "sip.response_line"
 #define KEYWORD_DOC  "sip-keywords.html#sip-response-line"
index 883872b169f3e5ea2987b8fedad5d08d1576b251..965a69736669ad21cad672189ae43ca7723a77b8 100644 (file)
@@ -52,7 +52,6 @@
 #include "stream-tcp.h"
 
 #include "rust.h"
-#include "app-layer-sip.h"
 
 #define KEYWORD_NAME "sip.stat_code"
 #define KEYWORD_DOC  "sip-keywords.html#sip-stat-code"
index bda224b3e169115626ce394b077edfecc2a5b3bd..abcf803c6c0345b83a90f0caddfefb5de29a8a5c 100644 (file)
@@ -52,7 +52,6 @@
 #include "stream-tcp.h"
 
 #include "rust.h"
-#include "app-layer-sip.h"
 
 #define KEYWORD_NAME "sip.stat_msg"
 #define KEYWORD_DOC  "sip-keywords.html#sip-stat-msg"
index f71627e035e15819b089d8c5404372df872dc802..daf42235d8c515573a06ef65d2c8f30a2243a0c6 100644 (file)
@@ -52,7 +52,6 @@
 #include "stream-tcp.h"
 
 #include "rust.h"
-#include "app-layer-sip.h"
 
 #define KEYWORD_NAME "sip.uri"
 #define KEYWORD_DOC  "sip-keywords.html#sip-uri"
index bbb0253ec6df83b2a87689c2943af9199282742f..df1179e368cc762a3f14d1671fad77bcaa64e561 100644 (file)
 #include "detect.h"
 #include "detect-engine-state.h" //DetectEngineState
 
-#include "app-layer-krb5.h" //KRB5State, KRB5Transaction
-#include "app-layer-ike.h"  //IKEState, IKETransaction
-#include "app-layer-ntp.h" //NTPState, NTPTransaction
-#include "app-layer-snmp.h" //SNMPState, SNMPTransaction
+#include "app-layer-ike.h" //IKEState, IKETransaction
 #include "app-layer-tftp.h" //TFTPState, TFTPTransaction
 
 #include "util-debug.h"