diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-09-25 21:55:06 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-09-25 21:55:06 +0000 |
commit | 43920c7974ba1264d8f4a13eba38ec6b431fd28c (patch) | |
tree | cd1227737fcdb3708a64664a0fa4dd2451ea6e2c /Makefile.common | |
parent | 55216d0c4a7af2dbc20b84a98863798a3643c445 (diff) |
as "advertised" some days ago:
rewrite the tshark capture code almost completely, to use dumpcap instead of it's own pcap functionality.
This works on Win32 and should work on unix/linux (but I'm not sure here). Some stuff needs to be cleaned up, some more may need to be rewritten to specifically work with unix/win32. Futher work needs to be done at:
1. read filters (simply document current behaviour?)
2. event loop polling
3. privileges
4. code cleanup (e.g. in capture_loop.c)
Be prepared that tshark might not work as before / expected at least in the next days!
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22969 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Makefile.common b/Makefile.common index fff39022b6..74d153c214 100644 --- a/Makefile.common +++ b/Makefile.common @@ -49,17 +49,13 @@ WIRESHARK_COMMON_SRC = \ $(PLATFORM_SRC) \ capture_errs.c \ capture-pcap-util.c \ - capture_stop_conditions.c \ capture_ui_utils.c \ cfile.c \ clopts_common.c \ - conditions.c \ disabled_protos.c \ packet-range.c \ print.c \ ps.c \ - pcapio.c \ - ringbuffer.c \ timestats.c \ util.c \ version_info.c @@ -70,23 +66,19 @@ WIRESHARK_COMMON_INCLUDES = \ capture_errs.h \ capture-pcap-util.h \ capture-pcap-util-int.h \ - capture_stop_conditions.h \ capture_ui_utils.h \ cfile.h \ clopts_common.h \ cmdarg_err.h \ color.h \ - conditions.h \ disabled_protos.h \ file.h \ fileset.h \ isprint.h \ packet-range.h \ - pcapio.h \ print.h \ ps.h \ register.h \ - ringbuffer.h \ tempfile.h \ timestats.h \ util.h \ @@ -166,7 +158,6 @@ wireshark_INCLUDES = \ alert_box.h \ capture.h \ capture_info.h \ - capture_loop.h \ capture_opts.h \ capture_sync.h \ color_filters.h \ @@ -192,7 +183,7 @@ tshark_SOURCES = \ $(WIRESHARK_COMMON_SRC) \ $(TSHARK_TAP_SRC) \ capture_opts.c \ - capture_loop.c \ + capture_sync.c \ tempfile.c \ tshark-tap-register.c \ tshark.c @@ -244,9 +235,17 @@ dumpcap_SOURCES = \ version_info.c \ epan/unicode-utils.c +# corresponding headers +dumpcap_INCLUDES = \ + capture_loop.h \ + capture_stop_conditions.h \ + conditions.h \ + pcapio.h \ + ringbuffer.h \ # this target needed for distribution only noinst_HEADERS = \ $(WIRESHARK_COMMON_INCLUDES) \ $(wireshark_INCLUDES) \ - $(EXTRA_wireshark_INCLUDES) + $(EXTRA_wireshark_INCLUDES) \ + $(dumpcap_INCLUDES) |