]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
src: remove unused header files
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 27 Jun 2022 11:20:29 +0000 (13:20 +0200)
committerVictor Julien <vjulien@oisf.net>
Wed, 27 Jul 2022 15:35:34 +0000 (17:35 +0200)
src/Makefile.am
src/app-layer-nbss.h [deleted file]
src/decode-null.h [deleted file]
src/util-vector.h [deleted file]

index a731eb1ad39678f09858709cb346f787651a44b4..481d093b847ad5475c27b8a24a329af642ad12da 100755 (executable)
@@ -38,7 +38,6 @@ noinst_HEADERS = \
        app-layer-modbus.h \
        app-layer-quic.h \
        app-layer-mqtt.h \
-       app-layer-nbss.h \
        app-layer-nfs-tcp.h \
        app-layer-nfs-udp.h \
        app-layer-ntp.h \
@@ -81,7 +80,6 @@ noinst_HEADERS = \
        decode-ipv6.h \
        decode-mpls.h \
        decode-nsh.h \
-       decode-null.h \
        decode-ppp.h \
        decode-pppoe.h \
        decode-raw.h \
@@ -607,7 +605,6 @@ noinst_HEADERS = \
        util-validate.h \
        util-var.h \
        util-var-name.h \
-       util-vector.h \
        win32-misc.h \
        win32-service.h \
        win32-syscall.h \
diff --git a/src/app-layer-nbss.h b/src/app-layer-nbss.h
deleted file mode 100644 (file)
index 198279e..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-/* Copyright (C) 2007-2010 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 Kirby Kuehl <kkuehl@gmail.com>
- */
-
-#ifndef __APP_LAYER_NBSS_H__
-#define __APP_LAYER_NBSS_H__
-
-
-/*
- http://ubiqx.org/cifs/rfc-draft/rfc1002.html#s4.3
- All session packets are of the following general structure:
-
-                        1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
-    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-   |      TYPE     |     FLAGS     |            LENGTH             |
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-   |                                                               |
-   /               TRAILER (Packet Type Dependent)                 /
-   |                                                               |
-   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-
-   The TYPE, FLAGS, and LENGTH fields are present in every session
-   packet.
-*/
-
-#define NBSS_SESSION_MESSAGE            0x00
-#define NBSS_SESSION_REQUEST            0x81
-#define NBSS_POSITIVE_SESSION_RESPONSE  0x82
-#define NBSS_NEGATIVE_SESSION_RESPONSE  0x83
-#define NBSS_RETARGET_SESSION_RESPONSE  0x84
-#define NBSS_SESSION_KEEP_ALIVE         0x85
-
-typedef struct NBSSHdr_ {
-       uint8_t type;
-       uint8_t flags;
-       uint32_t length;
-} NBSSHdr;
-
-#define NBSS_HDR_LEN 4
-
-#endif /* __APP_LAYER_NBSS_H__ */
diff --git a/src/decode-null.h b/src/decode-null.h
deleted file mode 100644 (file)
index a0f465d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Copyright (C) 2007-2010 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 Victor Julien <victor@inliniac.net>
- */
-
-#ifndef __DECODE_NULL_H__
-#define __DECODE_NULL_H__
-
-#endif /* __DECODE_NULL_H__ */
diff --git a/src/util-vector.h b/src/util-vector.h
deleted file mode 100644 (file)
index c826964..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/* Copyright (C) 2007-2011 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 Victor Julien <victor@inliniac.net>
- */
-
-#ifndef __UTIL_VECTOR_H__
-#define __UTIL_VECTOR_H__
-
-#if defined(__SSE3__)
-
-#include <pmmintrin.h>
-
-typedef struct Vector_ {
-    union {
-        __m128i v;          /**< vector */
-        uint8_t c[16];      /**< character */
-        uint16_t w[8];      /**< word */
-        uint32_t dw[4];     /**< double word */
-        uint64_t qw[2];     /**< quad word */
-    };
-} Vector __attribute((aligned(16)));
-
-#endif /* defined(__SSE3__) */
-
-#endif /* __UTIL_VECTOR_H__ */