Changeset a7282fb for tools/tracereport


Ignore:
Timestamp:
11/14/06 13:56:01 (14 years ago)
Author:
Perry Lorier <perry@…>
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:
2595c4d
Parents:
35e0869
Message:

Fix lots of little warnings

Location:
tools/tracereport
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/dir_report.c

    r3b49843 ra7282fb  
    55#include "libtrace.h"
    66#include "tracereport.h"
     7#include "report.h"
    78
    89static uint64_t dir_bytes[8];
  • tools/tracereport/flow_report.c

    re3b0188 ra7282fb  
    77#include "tracereport.h"
    88#include "contain.h"
     9#include "report.h"
    910
    1011static uint64_t flow_count=0;
  • tools/tracereport/port_report.c

    r11c4044 ra7282fb  
    88#include "tracereport.h"
    99#include "contain.h"
     10#include "report.h"
    1011
    1112stat_t ports[256][65536]={{{0,0}}};
     
    3132}
    3233
    33 void port_port(int i,char *prot, int j)
     34static void port_port(int i,char *prot, int j)
    3435{
    3536        struct servent *ent = getservbyport(htons(j),prot);
     
    4849}
    4950
    50 void port_protocol(int i)
     51static void port_protocol(int i)
    5152{
    5253        int j;
  • tools/tracereport/tos_report.c

    re3b0188 ra7282fb  
    55#include "libtrace.h"
    66#include "tracereport.h"
     7#include "report.h"
    78
    89static stat_t tos_stat[256] = { {0,0} } ;
  • tools/tracereport/tracereport.c

    r66caf4b ra7282fb  
    5959
    6060/* Process a trace, counting packets that match filter(s) */
    61 void run_trace(char *uri, libtrace_filter_t *filter, int count)
     61static void run_trace(char *uri, libtrace_filter_t *filter, int count)
    6262{
    6363        struct libtrace_packet_t *packet = trace_create_packet();
     
    101101}
    102102
    103 void usage(char *argv0)
     103static void usage(char *argv0)
    104104{
    105105        fprintf(stderr,"Usage:\n"
  • tools/tracereport/ttl_report.c

    re3b0188 ra7282fb  
    55#include "libtrace.h"
    66#include "tracereport.h"
     7#include "report.h"
    78
    89static stat_t ttl_stat[256] = { {0,0} } ;
Note: See TracChangeset for help on using the changeset viewer.