Changeset 18 for trunk/src/dataFlowSet.h

Show
Ignore:
Timestamp:
06/09/06 18:18:15 (16 years ago)
Author:
andreu
Message:

ajout pour CRIHAN

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/dataFlowSet.h

    r17 r18  
    3737#include "prefix_mgmt.h" 
    3838 
     39#define MAX_IP_FLOW 1000 
     40#define MAX_MPLS_FLOW 1000 
     41 
     42struct IPFLowCache { 
     43  unsigned char ipProt; /* not write in file, just to know IP version */ 
     44  unsigned long bytes; 
     45  unsigned long pkts; 
     46  unsigned short inSnmp; 
     47  unsigned short outSnmp; 
     48  unsigned long v4AdS; 
     49  unsigned long v4AdD; 
     50  uint32_t tabAdd6S[4]; 
     51  uint32_t tabAdd6D[4]; 
     52  unsigned char tProt; 
     53  unsigned short sPort; 
     54  unsigned short dPort; 
     55  unsigned char maskD; 
     56  unsigned char maskS; 
     57  unsigned long routerAd; 
     58  unsigned long liveTime; 
     59}; 
     60 
     61struct MPLSFlowCache { 
     62  unsigned char ipProt; /* not write in file, just to know IP version */ 
     63  unsigned long routerAd; 
     64  unsigned short mplsLabel1; 
     65  unsigned long v4AdS; 
     66  unsigned long v4AdD; 
     67  uint32_t tabAdd6S[4]; 
     68  uint32_t tabAdd6D[4];   
     69}; 
     70 
    3971struct AggCache { 
    4072  unsigned short mode; 
     
    6193                 unsigned short *, unsigned char *, short *, 
    6294                 short *, DatagramPtr, RuleDefPtr *, RulesPtr, int, 
    63                  struct PrefixV4 *, size_t); 
     95                 struct PrefixV4 *, size_t,  
     96                 struct IPFLowCache *, struct MPLSFlowCache *, 
     97                 unsigned long *, unsigned long *); 
    6498 
    6599#endif /* DATAFLOWSET_H */