Changeset 505c421
- Timestamp:
- 08/23/04 01:06:00 (17 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 258c1fb
- Parents:
- dd87dc7
- Location:
- examples/tracedump
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/tracedump/Makefile
r5d6ebe1 r505c421 1 1 CXX=g++ 2 2 INCLUDES=-I/usr/local/wand/include 3 # Directory to search for plugins 4 LIBDIR="./" 3 5 CXXFLAGS=-g -Wall $(INCLUDES) -rdynamic 4 6 LDFLAGS=-L/usr/local/wand/lib 5 LDLIBS=-ltrace -ldl -lpcap -lz7 LDLIBS=-ltrace -ldl 6 8 LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc))) 7 9 ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc))) … … 13 15 14 16 tracedump: tracedump.cc tracedump-libtrace.o tracedump-lib.o 17 18 tracedump-lib.o: CXXFLAGS+=-DLIBDIR=$(LIBDIR) 15 19 16 20 tcp_1720.so: tcp_1720.cc asn1.o -
examples/tracedump/tracedump-lib.cc
rd907ff5 r505c421 8 8 #include <ctype.h> 9 9 #include "tracedump.h" 10 11 #ifndef DIRNAME 10 12 #define DIRNAME "./" 13 #endif 11 14 12 15 typedef void (*decode_t)(uint16_t type,char *packet,int len);
Note: See TracChangeset
for help on using the changeset viewer.