Changeset 23 for trunk/src/dataFlowSet.h

Show
Ignore:
Timestamp:
02/05/07 17:50:16 (16 years ago)
Author:
andreu
Message:

optimization : new param : myPtrs in checkdataflowset function

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/dataFlowSet.h

    r22 r23  
    8686}; 
    8787 
     88struct MyPtrs { 
     89  RouterPtr currentRouterPtr; 
     90  NetFlowV9HeaderPtr currentHeaderV9Ptr; 
     91  unsigned short *offsetV9Ptr; 
     92  unsigned char *ptr_buffer; 
     93  short *currentFlowsetNumberPtr; 
     94  short *currentFlowsetIdPtr; 
     95  DatagramPtr pcktPtr; 
     96  RuleDefPtr *rulesAddressPtr; 
     97  RulesPtr rulesListPtr;                             /* Rules list */ 
     98  struct IPFLowCache *tabIPPtr; 
     99  struct MPLSFlowCache *tabMPLSPtr; 
     100  unsigned long *ipNbPtr; 
     101  unsigned long *mplsNbPtr; 
     102}; 
     103 
    88104unsigned short  
    89 checkDataFlowSet(unsigned short, RouterPtr, NetFlowV9HeaderPtr, 
    90                  unsigned short *, unsigned char *, short *, 
    91                  short *, DatagramPtr, RuleDefPtr *, RulesPtr, int, 
    92                  struct PrefixV4 *, size_t,  
    93                  struct IPFLowCache *, struct MPLSFlowCache *, 
    94                  unsigned long *, unsigned long *); 
     105checkDataFlowSet(unsigned short,  
     106                 struct MyPtrs *, 
     107                 int, 
     108                 struct PrefixV4 *, size_t 
     109                 ); 
    95110 
    96111#endif /* DATAFLOWSET_H */