Show
Ignore:
Timestamp:
12/27/10 15:06:15 (12 years ago)
Author:
andreu
Message:

DoS detection update

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/dataFlowSet.h

    r144 r145  
    11/* 
    22 * File: dataFlowSet.h 
    3  *  
    4  * Authors: ANDREU Francois-Xavier  
    53 * 
    6  * Copyright (C) 2005 - 2010 GIP RENATER  
     4 * Authors: ANDREU Francois-Xavier 
     5 * 
     6 * Copyright (C) 2005 - 2010 GIP RENATER 
    77 */ 
    88 
    9 /*  This file is part of renetcol.  
     9/*  This file is part of renetcol. 
    1010 * 
    1111 *  renetcol is free software; you can redistribute it and/or modify 
     
    6565  unsigned long v4AdD; 
    6666  uint32_t tabAdd6S[4]; 
    67   uint32_t tabAdd6D[4];   
     67  uint32_t tabAdd6D[4]; 
    6868}; 
    6969 
     
    7676  unsigned char ipProt; 
    7777  unsigned short sPort; 
    78   unsigned short dPort;   
     78  unsigned short dPort; 
    7979  unsigned char sens; /* In/out field 61 */ 
    8080  unsigned short inputSnmp; 
     
    9797struct DoSCache { 
    9898  unsigned long bytes; 
    99         unsigned long pkts; 
    100         unsigned long sampling; 
    101 } 
     99  unsigned long packets; 
     100  unsigned long sampling; 
     101  unsigned long startTime; 
     102  unsigned long endTime; 
     103}; 
    102104 
    103 short  
    104 checkDataFlowSet(short,  
     105short 
     106checkDataFlowSet(short, 
    105107                 struct MyPtrs *, 
    106108                 int,