doc/Makefile
docbook/Makefile
epan/Makefile
- epan/crc/Makefile
epan/crypt/Makefile
epan/doxygen.cfg
epan/dfilter/Makefile
column.c
column-utils.c
conversation.c
- crc10.c
- crc16.c
- crc32.c
- crc6.c
- crc8.c
- crcdrm.c
dissector_filters.c
emem.c
epan.c
py_dissectors_dir = -DPYTHONDIR=
endif
-SUBDIRS = crc crypt ftypes dfilter dissectors $(wslua_dir) $(wspython_dir)
+SUBDIRS = crypt ftypes dfilter dissectors $(wslua_dir) $(wspython_dir)
DIST_SUBDIRS = $(SUBDIRS) $(wslua_dist_dir) $(wspython_dist_dir)
#
libwireshark_la_LIBADD = \
libwireshark_generated.la \
- libwireshark_asmopt.la crc/libcrc.la crypt/libairpdcap.la \
+ libwireshark_asmopt.la crypt/libairpdcap.la \
ftypes/libftypes.la dfilter/libdfilter.la dissectors/libdissectors.la \
dissectors/libdirtydissectors.la $(wslua_lib) $(wspython_lib) @SOCKET_LIBS@ @NSL_LIBS@ \
@C_ARES_LIBS@ @ADNS_LIBS@ @LIBGCRYPT_LIBS@ @LIBGNUTLS_LIBS@ \
libwireshark_la_DEPENDENCIES = \
libwireshark_generated.la \
- libwireshark_asmopt.la crc/libcrc.la crypt/libairpdcap.la \
+ libwireshark_asmopt.la crypt/libairpdcap.la \
ftypes/libftypes.la dfilter/libdfilter.la dissectors/libdissectors.la \
dissectors/libdirtydissectors.la $(wslua_lib) $(wspython_lib) \
${top_builddir}/wsutil/libwsutil.la \
column.c \
column-utils.c \
conversation.c \
- crc10.c \
- crc16.c \
- crc32.c \
- crc6.c \
- crc8.c \
- crcdrm.c \
dissector_filters.c \
emem.c \
epan.c \
column_info.h \
column-utils.h \
conversation.h \
- crc6.h \
- crc8.h \
- crc10.h \
- crc16.h \
- crc32.h \
- crcdrm.h \
diam_dict.h \
dissector_filters.h \
dtd.h \
$(GEOIP_LIBS) \
..\wsutil\libwsutil.lib \
..\wiretap\wiretap-$(WTAP_VERSION).lib \
- crc\crc.lib \
crypt\airpdcap.lib \
ftypes\ftypes.lib \
dfilter\dfilter.lib \
!ENDIF
!IFDEF ENABLE_LIBWIRESHARK
-all: crc crypt ftypes dfilter $(WSLUA_DIR) $(WSPYTHON_DIR) dissectors libwireshark.dll
+all: crypt ftypes dfilter $(WSLUA_DIR) $(WSPYTHON_DIR) dissectors libwireshark.dll
!ELSE
-all: crc crypt ftypes dfilter $(WSLUA_DIR) $(WSPYTHON_DIR) dissectors libwireshark.lib
+all: crypt ftypes dfilter $(WSLUA_DIR) $(WSPYTHON_DIR) dissectors libwireshark.lib
!ENDIF
# For use when making libwireshark.dll
libwireshark.lib: libwireshark.dll
libwireshark.exp: libwireshark.dll
-libwireshark.dll: ..\config.h $(LIBWIRESHARK_OBJECTS) libwireshark.def crc crypt ftypes dfilter $(WSLUA_DIR) $(WSPYTHON_DIR) dissectors $(DOXYGEN_DEP) $(EXTRA_OBJECTS) \
- crc\crc.lib crypt\airpdcap.lib ftypes\ftypes.lib dfilter\dfilter.lib dissectors\dissectors.lib $(WSLUA_LIB) $(WSPYTHON_LIB) ..\image\libwireshark.res
+libwireshark.dll: ..\config.h $(LIBWIRESHARK_OBJECTS) libwireshark.def crypt ftypes dfilter $(WSLUA_DIR) $(WSPYTHON_DIR) dissectors $(DOXYGEN_DEP) $(EXTRA_OBJECTS) \
+ crypt\airpdcap.lib ftypes\ftypes.lib dfilter\dfilter.lib dissectors\dissectors.lib $(WSLUA_LIB) $(WSPYTHON_LIB) ..\image\libwireshark.res
@echo Linking libwireshark.dll
$(link) $(dlllflags) $(conlibsdll) shell32.lib \
$(LOCAL_LDFLAGS) $(DLL_LDFLAGS) \
dissectors\register.obj \
$(EXTRA_OBJECTS)
-libwireshark.lib : ..\config.h $(LIBWIRESHARK_OBJECTS) crc crypt ftypes dfilter $(WSLUA_DIR) $(WSPYTHON_DIR) dissectors $(DOXYGEN_DEP) $(EXTRA_OBJECTS) \
- crc\crc.lib crypt\airpdcap.lib ftypes\ftypes.lib dfilter\dfilter.lib $(WSLUA_LIB) $(WSPYTHON_LIB) dissectors\dissectors.lib
+libwireshark.lib : ..\config.h $(LIBWIRESHARK_OBJECTS) crypt ftypes dfilter $(WSLUA_DIR) $(WSPYTHON_DIR) dissectors $(DOXYGEN_DEP) $(EXTRA_OBJECTS) \
+ crypt\airpdcap.lib ftypes\ftypes.lib dfilter\dfilter.lib $(WSLUA_LIB) $(WSPYTHON_LIB) dissectors\dissectors.lib
link /lib /out:libwireshark.lib $(LIBWIRESHARK_OBJECTS) \
$(EXTRA_OBJECTS)
if exist html rm -rf html
clean: clean-local
- cd crc
- $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../crypt
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../ftypes
dtd_grammar.out sminmpec.c
distclean: distclean-local
- cd crc
- $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
cd ../crypt
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
cd ../ftypes
maintainer-clean-local: distclean-local
maintainer-clean: maintainer-clean-local
- cd crc
- $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
cd ../crypt
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
cd ../ftypes
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
cd ..
-crc:: ..\config.h
- cd crc
- $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
- cd ..
-
crypt:: ..\config.h
cd crypt
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
+++ /dev/null
-# Makefile.am
-# Automake file for crc routines for Wireshark
-#
-# $Id$
-#
-# Wireshark - Network traffic analyzer
-# By Gerald Combs <gerald@wireshark.org>
-# Copyright 1998 Gerald Combs
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# 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
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-INCLUDES = -I$(top_srcdir)
-
-include Makefile.common
-
-if HAVE_WARNINGS_AS_ERRORS
-AM_CFLAGS = -Werror
-endif
-
-noinst_LTLIBRARIES = libcrc.la
-
-CLEANFILES = \
- libcrc.a \
- libcrc.la \
- *~
-
-DISTCLEANFILES =
-
-MAINTAINERCLEANFILES = \
- Makefile.in
-
-libcrc_la_SOURCES = \
- $(CRC_SRC) \
- $(CRC_INCLUDES)
-
-EXTRA_DIST = \
- Makefile.common \
- Makefile.nmake
-
-checkapi:
- $(PERL) ../../tools/checkAPIs.pl -g termoutput \
- $(CRC_SRC)
+++ /dev/null
-# Makefile.common
-# Contains the stuff from Makefile.am and Makefile.nmake that is
-# a) common to both files and
-# b) portable between both files
-#
-# $Id$
-#
-# Wireshark - Network traffic analyzer
-# By Gerald Combs <gerald@wireshark.org>
-# Copyright 1998 Gerald Combs
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# 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
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-# crc-16-plain.c: pycrc.py --model crc-16 --algorithm table-driven --symbol-prefix crc16_plain_ --crc-type guint16 --include-file glib.h --generate c -o crc-16-plain.c
-# crc-16-plain.h: pycrc.py --model crc-16 --algorithm table-driven --symbol-prefix crc16_plain_ --crc-type guint16 --include-file glib.h --generate h -o crc-16-plain.h
-
-CRC_SRC = \
- crc-16-plain.c
-
-CRC_INCLUDES = \
- crc-16-plain.h
+++ /dev/null
-## Makefile for building crc.lib with Microsoft C and nmake
-## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
-#
-# $Id$
-
-include ..\..\config.nmake
-include Makefile.common
-
-############### no need to modify below this line #########
-
-CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
- /I../.. $(GLIB_CFLAGS)
-
-.c.obj::
- $(CC) $(CFLAGS) -Fd.\ -c $<
-
-CRC_OBJECTS = $(CRC_SRC:.c=.obj)
-
-crc.lib: $(CRC_OBJECTS)
- link /lib /out:crc.lib $(CRC_OBJECTS)
-
-clean:
- rm -f $(CRC_OBJECTS) crc.lib *.pdb
-
-distclean: clean
-
-maintainer-clean: distclean
-
-checkapi:
- $(PERL) ../../tools/checkAPIs.pl -g termoutput \
- $(CRC_SRC)
#endif
#include <epan/tvbuff.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/strutil.h>
#include <epan/emem.h>
#include <epan/pint.h>
/* File includes */
#include <epan/tvbuff.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include "airpdcap_system.h"
#include "airpdcap_int.h"
/*
* ***************************************************************************
*
- * Cannot use epan/crc routines as ccitt-x25 uses a starting value of 0xffff
+ * Cannot use wsutil/crc routines as ccitt-x25 uses a starting value of 0xffff
* and we use 0x0000 (legacy compatibility). If an override method to set
* the starting value existed, these could be replaced.
*/
#include <epan/packet.h>
#include <epan/reassemble.h>
-#include <epan/crcdrm.h>
+#include <wsutil/crcdrm.h>
#include <epan/reedsolomon.h>
#include <epan/emem.h>
#include <string.h>
#include <epan/prefs.h>
#include <epan/emem.h>
#include <epan/expert.h>
-#include <epan/crc16.h>
+#include <wsutil/crc16.h>
#include <epan/asn1.h>
#include <epan/strutil.h>
#include <epan/uat.h>
#include "packet-llc.h"
#include "packet-sll.h"
#include "packet-usb.h"
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/tap.h>
#include <epan/expert.h>
#include "packet-fcbls.h"
#include <epan/tap.h>
#include <epan/emem.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/expert.h>
#define FC_HEADER_SIZE 24
#include <epan/packet.h>
#include <epan/prefs.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/etypes.h>
#include <epan/expert.h>
#include <stdlib.h>
#include <epan/packet.h>
#include <epan/prefs.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/etypes.h>
#include <epan/expert.h>
#include <errno.h>
#include <epan/etypes.h>
#include <epan/greproto.h>
#include <epan/oui.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/tap.h>
#include <epan/emem.h>
#include <epan/crypt/wep-wpadefs.h>
#include <epan/emem.h>
#include <epan/packet.h>
-#include <epan/crc16.h>
+#include <wsutil/crc16.h>
#include <epan/expert.h>
#include <epan/addr_resolv.h>
#include <epan/prefs.h>
#include <epan/nstime.h>
#include <epan/emem.h>
#include <epan/range.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
/* the absolute values of these constants don't matter as long as
* latter revisions of the protocol are assigned a larger number */
#include <epan/prefs.h>
#include <epan/emem.h>
#include <epan/expert.h>
-#include <epan/crc10.h>
-#include <epan/crc6.h>
+#include <wsutil/crc10.h>
+#include <wsutil/crc6.h>
typedef struct _iuup_rfci_t {
#include <epan/conversation.h>
#include <epan/dissectors/packet-tcp.h>
#include <epan/expert.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
/* DEFINES */
#include <epan/packet.h>
#include <epan/conversation.h>
#include <epan/xdlc.h>
-#include <epan/crc16.h>
+#include <wsutil/crc16.h>
#include <epan/prefs.h>
#include <epan/lapd_sapi.h>
#include <glib.h>
#include <epan/packet.h>
#include <epan/prefs.h>
-#include <epan/crc16.h>
+#include <wsutil/crc16.h>
#include <epan/expert.h>
/* Initialize the protocol and registered fields */
#include <glib.h>
#include <epan/packet.h>
#include <epan/reassemble.h>
-#include <epan/crc8.h>
+#include <wsutil/crc8.h>
#include <expert.h>
#include <string.h>
#include <epan/packet.h>
#include <epan/emem.h>
#include <epan/strutil.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/expert.h>
-#include <epan/crc16.h>
+#include <wsutil/crc16.h>
#include <glib.h>
#include <glib/gprintf.h>
#include <epan/crypt/crypt-des.h>
#include "packet-dcerpc.h"
#include "packet-gssapi.h"
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include "packet-ntlmssp.h"
#include "packet-ipx.h"
#include "packet-vines.h"
#include <epan/nlpid.h>
-#include <epan/crc16.h>
-#include <epan/crc32.h>
+#include <wsutil/crc16.h>
+#include <wsutil/crc32.h>
#include <epan/ipproto.h>
#include "packet-usb.h"
#include "packet-sll.h"
#include <errno.h>
#include <epan/packet.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/frequency-utils.h>
#include <epan/tap.h>
#include <epan/prefs.h>
#include <epan/emem.h>
#include <epan/expert.h>
#include <packet-frame.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/adler32.h>
#define LT(x, y) ((gint32)((x) - (y)) < 0)
#include <epan/circuit.h>
#include <epan/stream.h>
/* #include <epan/reassemble.h> */
-#include <epan/crc16.h>
+#include <wsutil/crc16.h>
/* Wireshark ID of the protocols */
static int proto_srp = -1;
#include <glib.h>
#include <epan/conversation.h>
-#include <epan/crc16.h>
+#include <wsutil/crc16.h>
#include <epan/dissectors/packet-tcp.h>
#include <epan/packet.h>
#include <epan/prefs.h>
#endif
#include <epan/packet.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/reassemble.h>
#include <epan/conversation.h>
#include <stdlib.h>
#include <glib.h>
#include <epan/packet.h>
#include <epan/strutil.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include "packet-rtp.h"
#include "packet-rtcp.h"
copy_file_binary_mode
copy_persconffile_profile
copy_prefs
-crc16_ccitt_tvb
-crc16_plain_tvb_offset
-crc32c_calculate
-crc32_ccitt
-crc32_ccitt_seed
-crc32_ccitt_tvb
-crc32_ccitt_tvb_offset
-crc32_ccitt_tvb_seed
-crc32_ccitt_tvb_offset_seed
-crc32_802_tvb
create_dissector_handle
create_persconffile_dir
create_persconffile_profile
#include "sigcomp-udvm.h"
#include "sigcomp_state_hdlr.h"
#include "crypt/crypt-sha1.h"
-#include "crc16.h"
+#include "wsutil/crc16.h"
#include "except.h"
#define SIGCOMP_INSTR_DECOMPRESSION_FAILURE 0
#include <assert.h>
#include <epan/tvbuff.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
#include <epan/in_cksum.h>
#ifdef NEED_STRPTIME_H
#endif
#include <epan/packet.h>
-#include <epan/crc16.h>
+#include <wsutil/crc16.h>
/** Serial infrared port. */
#define TCP_PORT_SIR 6417
#include <epan/etypes.h>
#include <epan/expert.h>
#include <epan/dissectors/packet-dcerpc.h>
-#include <epan/crc16.h>
+#include <wsutil/crc16.h>
#include "packet-pn.h"
# @INET_PTON_LO@ # inet_pton.c
# @STRNCASECMP_LO@ # strncasecmp.c
# @STRPTIME_LO@ # strptime.c
+ crc10.c
+ crc16.c
+ crc16-plain.c
+ crc32.c
+ crc6.c
+ crc8.c
+ crcdrm.c
mpeg-audio.c
privileges.c
str_util.c
# generated from YACC or Lex files (as Automake doesn't want them in
# _SOURCES variables).
LIBWSUTIL_SRC = \
+ crc10.c \
+ crc16.c \
+ crc16-plain.c \
+ crc32.c \
+ crc6.c \
+ crc8.c \
+ crcdrm.c \
mpeg-audio.c \
privileges.c \
str_util.c \
# Header files that are not generated from other files
LIBWSUTIL_INCLUDES = \
+ crc6.h \
+ crc8.h \
+ crc10.h \
+ crc16.h \
+ crc16-plain.h \
+ crc32.h \
+ crcdrm.h \
mpeg-audio.h \
privileges.h \
str_util.h \
/**
- * \file crc-16-plain.c
+ * \file crc16-plain.c
* Functions and types for CRC checks.
*
* Generated on Wed Mar 18 14:12:09 2009,
* appears not to have it; we're using GLib types, instead.
*****************************************************************************/
#include "glib.h"
-#include "crc-16-plain.h"
+#include "crc16-plain.h"
#include <stdlib.h>
/**
/**
- * \file crc-16-plain.h
+ * \file crc16-plain.h
* Functions and types for CRC checks.
*
* Generated on Wed Mar 18 14:12:15 2009,
#include <glib.h>
#include <epan/tvbuff.h>
-#include <epan/crc16.h>
-#include <epan/crc/crc-16-plain.h>
+#include <wsutil/crc16.h>
+#include <wsutil/crc16-plain.h>
/*****************************************************************/
#include <glib.h>
#include <epan/tvbuff.h>
-#include <epan/crc32.h>
+#include <wsutil/crc32.h>
/*****************************************************************/
/* */
#include <glib.h>
#include <epan/tvbuff.h>
-#include <epan/crc8.h>
+#include <wsutil/crc8.h>
/**
* Reversed CRC table
;
EXPORTS
+; crc6.c
+update_crc6_by_bytes
+
+; crc8.c
+check_fcs
+
+; crc10.c
+update_crc10_by_bytes
+
+; crc16.c
+crc16_ccitt
+crc16_ccitt_seed
+crc16_ccitt_tvb
+crc16_plain_tvb_offset
+crc16_ccitt_tvb_offset
+crc16_ccitt_tvb_offset_seed
+crc16_ccitt_tvb_seed
+crc16_x25_ccitt
+crc16_x25_ccitt_tvb
+
+; crc32.c
+crc32_802_tvb
+crc32_ccitt
+crc32_ccitt_seed
+crc32_ccitt_table DATA
+crc32_ccitt_tvb
+crc32_ccitt_tvb_offset
+crc32_ccitt_tvb_seed
+crc32_ccitt_tvb_offset_seed
+crc32c_calculate
+crc32c_table DATA
+
; file_util.c
getenv_utf8
ws_stdio_fopen