rename pcap-....c/.h files to capture-pcap-....c/.h
this way, the capture prefix will "logically" group the files together and file browsers will also group them we may want to move the files into a subdir capture later svn path=/trunk/; revision=16691
This commit is contained in:
parent
a6f33f1d05
commit
7e3a24418c
|
@ -171,7 +171,7 @@ radius_DATA = \
|
|||
radius/dictionary.wispr \
|
||||
radius/dictionary.xedia
|
||||
|
||||
PLATFORM_SRC = pcap-util-unix.c
|
||||
PLATFORM_SRC = capture-pcap-util-unix.c
|
||||
|
||||
include Makefile.common
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ GENERATED_FILES = $(GENERATED_C_FILES) $(GENERATED_HEADER_FILES)
|
|||
ETHEREAL_COMMON_SRC = \
|
||||
$(PLATFORM_SRC) \
|
||||
capture_errs.c \
|
||||
capture-pcap-util.c \
|
||||
capture_stop_conditions.c \
|
||||
capture_ui_utils.c \
|
||||
cfile.c \
|
||||
|
@ -55,7 +56,6 @@ ETHEREAL_COMMON_SRC = \
|
|||
conditions.c \
|
||||
disabled_protos.c \
|
||||
packet-range.c \
|
||||
pcap-util.c \
|
||||
print.c \
|
||||
ps.c \
|
||||
ringbuffer.c \
|
||||
|
@ -67,6 +67,8 @@ ETHEREAL_COMMON_SRC = \
|
|||
ETHEREAL_COMMON_INCLUDES = \
|
||||
svnversion.h \
|
||||
capture_errs.h \
|
||||
capture-pcap-util.h \
|
||||
capture-pcap-util-int.h \
|
||||
capture_stop_conditions.h \
|
||||
capture_ui_utils.h \
|
||||
cfile.h \
|
||||
|
@ -79,8 +81,6 @@ ETHEREAL_COMMON_INCLUDES = \
|
|||
fileset.h \
|
||||
isprint.h \
|
||||
packet-range.h \
|
||||
pcap-util.h \
|
||||
pcap-util-int.h \
|
||||
print.h \
|
||||
ps.h \
|
||||
register.h \
|
||||
|
@ -208,11 +208,11 @@ randpkt_SOURCES = \
|
|||
# dumpcap specifics
|
||||
dumpcap_SOURCES = \
|
||||
$(PLATFORM_SRC) \
|
||||
capture-pcap-util.c \
|
||||
capture_stop_conditions.c \
|
||||
getopt.c \
|
||||
clopts_common.c \
|
||||
conditions.c \
|
||||
pcap-util.c \
|
||||
ringbuffer.c \
|
||||
util.c \
|
||||
version_info.c \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* pcap-util-int.h
|
||||
/* capture-pcap-util-int.h
|
||||
* Definitions of routines internal to the libpcap/WinPcap utilities
|
||||
*
|
||||
* $Id$
|
|
@ -1,4 +1,4 @@
|
|||
/* pcap-util-unix.c
|
||||
/* capture-pcap-util-unix.c
|
||||
* UN*X-specific utility routines for packet capture
|
||||
*
|
||||
* $Id$
|
||||
|
@ -60,8 +60,8 @@ struct rtentry;
|
|||
# include <sys/sockio.h>
|
||||
#endif
|
||||
|
||||
#include "pcap-util.h"
|
||||
#include "pcap-util-int.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include "capture-pcap-util-int.h"
|
||||
|
||||
#ifndef HAVE_PCAP_FINDALLDEVS
|
||||
struct search_user_data {
|
|
@ -1,4 +1,4 @@
|
|||
/* pcap-util.c
|
||||
/* capture-pcap-util.c
|
||||
* Utility routines for packet capture
|
||||
*
|
||||
* $Id$
|
||||
|
@ -47,8 +47,8 @@
|
|||
#include <wtap.h>
|
||||
#include <wtap-capture.h>
|
||||
|
||||
#include "pcap-util.h"
|
||||
#include "pcap-util-int.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include "capture-pcap-util-int.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <netinet/in.h>
|
|
@ -1,4 +1,4 @@
|
|||
/* pcap-util.h
|
||||
/* capture-pcap-util.h
|
||||
* Utility definitions for packet capture
|
||||
*
|
||||
* $Id$
|
|
@ -35,8 +35,8 @@
|
|||
#include <glib.h>
|
||||
#include <gmodule.h>
|
||||
|
||||
#include "pcap-util.h"
|
||||
#include "pcap-util-int.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include "capture-pcap-util-int.h"
|
||||
|
||||
/* XXX - yes, I know, I should move cppmagic.h to a generic location. */
|
||||
#include "tools/lemon/cppmagic.h"
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
#include "capture_info.h"
|
||||
#include "capture_ui_utils.h"
|
||||
#include "util.h"
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include "alert_box.h"
|
||||
#include "simple_dialog.h"
|
||||
#include <epan/prefs.h>
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
#include <glib.h>
|
||||
|
||||
#include <pcap.h>
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
|
||||
#include "capture.h"
|
||||
#include "capture_loop.h"
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <glib.h>
|
||||
|
||||
#include <epan/prefs.h>
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include "capture_ui_utils.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -11,10 +11,10 @@ two lists maybe won't be needed any longer!
|
|||
|
||||
libpcap related source files:
|
||||
-----------------------------
|
||||
pcap-util.c
|
||||
pcap-util.h
|
||||
pcap-util-int.h
|
||||
pcap-util-unix.c
|
||||
capture-pcap-util.c
|
||||
capture-pcap-util.h
|
||||
capture-pcap-util-int.h
|
||||
capture-pcap-util-unix.c
|
||||
capture-wpcap.c
|
||||
capture-wpcap.h
|
||||
capture_wpcap_packet.c
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include "version_info.h"
|
||||
|
||||
#include <pcap.h>
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "capture-wpcap.h"
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "filter_dlg.h"
|
||||
#include "simple_dialog.h"
|
||||
#include "dlg_utils.h"
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include "capture_ui_utils.h"
|
||||
#include <epan/prefs.h>
|
||||
#include "ringbuffer.h"
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include <gtk/gtk.h>
|
||||
|
||||
#include "globals.h"
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "capture-wpcap.h"
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
#include "dlg_utils.h"
|
||||
#include "gui_utils.h"
|
||||
#include "main.h"
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
|
||||
/* a single capture counter value (with title, pointer to value and GtkWidgets) */
|
||||
/* as the packet_counts is a struct, not an array, keep a pointer to the */
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "gui_utils.h"
|
||||
#include "dlg_utils.h"
|
||||
#include "simple_dialog.h"
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include "capture_ui_utils.h"
|
||||
#include "main.h"
|
||||
#include "compat_macros.h"
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
|
||||
#ifdef HAVE_LIBPCAP
|
||||
#include <pcap.h>
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include "capture.h"
|
||||
#include "capture_loop.h"
|
||||
#include "capture_sync.h"
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
#ifdef HAVE_LIBPCAP
|
||||
#include <pcap.h>
|
||||
#include <setjmp.h>
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include <wiretap/wtap-capture.h>
|
||||
#include <wiretap/libpcap.h>
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
#endif
|
||||
|
||||
#include "version_info.h"
|
||||
#include "pcap-util.h"
|
||||
#include "capture-pcap-util.h"
|
||||
|
||||
#include "svnversion.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue