Changeset 466aed6 for tools/tracereport
- Timestamp:
- 04/27/07 22:55:01 (15 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:
- 63b9bd4
- Parents:
- 36d51c8
- Location:
- tools/tracereport
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/tracereport/dir_report.c
rbd4bec9 r466aed6 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 #include "report.h" 7 8 8 9 static uint64_t dir_bytes[8]; -
tools/tracereport/ecn_report.c
rf3576f5 r466aed6 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 #include "report.h" 7 8 8 9 static stat_t ecn_stat[3][4] = {{{0,0}}} ; -
tools/tracereport/error_report.c
rbd4bec9 r466aed6 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 #include "report.h" 7 8 8 9 static uint64_t rx_errors = 0; -
tools/tracereport/flow_report.c
rbd4bec9 r466aed6 7 7 #include "tracereport.h" 8 8 #include "contain.h" 9 #include "report.h" 9 10 10 11 static uint64_t flow_count=0; -
tools/tracereport/misc_report.c
rf3576f5 r466aed6 6 6 #include "libtrace.h" 7 7 #include "tracereport.h" 8 #include "report.h" 8 9 9 10 static double starttime; -
tools/tracereport/nlp_report.c
rf3576f5 r466aed6 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 #include "report.h" 7 8 8 9 static stat_t nlp_stat[3][65536] = {{{0,0}}} ; -
tools/tracereport/port_report.c
rf3576f5 r466aed6 8 8 #include "tracereport.h" 9 9 #include "contain.h" 10 #include "report.h" 10 11 11 12 stat_t *ports[3][256] = {{NULL}}; … … 40 41 41 42 42 void port_port(int i,char *prot, int j, FILE *out)43 static void port_port(int i,char *prot, int j, FILE *out) 43 44 { 44 45 struct servent *ent = getservbyport(htons(j),prot); … … 75 76 } 76 77 77 void port_protocol(int i, FILE *out)78 static void port_protocol(int i, FILE *out) 78 79 { 79 80 int j,k; -
tools/tracereport/synopt_report.c
rbd4bec9 r466aed6 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 7 #include "report.h" 8 8 9 9 struct tcp_opts { … … 38 38 uint64_t total_syns = 0; 39 39 40 void classify_packet(struct tcp_opts opts) {40 static void classify_packet(struct tcp_opts opts) { 41 41 if (!opts.mss && !opts.sack && !opts.winscale && !opts.ts && !opts.ttcp && !opts.other) 42 42 { -
tools/tracereport/tcpopt_report.c
rf3576f5 r466aed6 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 #include "report.h" 7 8 8 9 static stat_t tcpopt_stat[3][256] = {{{0,0}}}; -
tools/tracereport/tcpsegment_report.c
rf3576f5 r466aed6 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 #include "report.h" 7 8 8 9 static stat_t tcpseg_stat[3][2048] = {{{0,0}}} ; … … 31 32 } 32 33 33 void tcpseg_suppress()34 static void tcpseg_suppress() 34 35 { 35 36 int i; -
tools/tracereport/tos_report.c
rf3576f5 r466aed6 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 #include "report.h" 7 8 8 9 static stat_t tos_stat[3][256] = {{{0,0}}} ; -
tools/tracereport/tracereport.c
rc20af2a r466aed6 53 53 54 54 /* Process a trace, counting packets that match filter(s) */ 55 void run_trace(char *uri, libtrace_filter_t *filter, int count)55 static void run_trace(char *uri, libtrace_filter_t *filter, int count) 56 56 { 57 57 struct libtrace_packet_t *packet = trace_create_packet(); … … 114 114 } 115 115 116 void usage(char *argv0)116 static void usage(char *argv0) 117 117 { 118 118 fprintf(stderr,"Usage:\n" -
tools/tracereport/ttl_report.c
rf3576f5 r466aed6 5 5 #include "libtrace.h" 6 6 #include "tracereport.h" 7 #include "report.h" 7 8 8 9 static stat_t ttl_stat[3][256] = {{{0,0}}} ;
Note: See TracChangeset
for help on using the changeset viewer.