"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dynamic-preprocessors/appid/util/common_util.h" between
snort-2.9.16.1.tar.gz and snort-2.9.17.tar.gz

About: Snort is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

common_util.h  (snort-2.9.16.1):common_util.h  (snort-2.9.17)
skipping to change at line 53 skipping to change at line 53
typedef struct _config_item typedef struct _config_item
{ {
char *name; /* name of the config item */ char *name; /* name of the config item */
char *value; /* config item value */ char *value; /* config item value */
} ConfigItem; } ConfigItem;
#define MAX_LINE 2048 #define MAX_LINE 2048
#define MAX_TOKS 256 #define MAX_TOKS 256
/* This structure should be same as struct define in util.h */
typedef struct _ThrottleInfo
{
time_t lastUpdate;
/*Within this duration (in seconds), maximal one distinct message is logged*
/
uint32_t duration_to_log;
uint64_t count;
/*Till the message count reaches to count_to_log, maximal one distinct messa
ge is logged*/
uint64_t count_to_log;
}ThrottleInfo;
extern time_t packetTimeOffset; extern time_t packetTimeOffset;
extern time_t packetTime; extern time_t packetTime;
extern int packetTimeOffsetSet; extern int packetTimeOffsetSet;
#define GetPacketRealTime packetTime #define GetPacketRealTime packetTime
static inline void SetPacketRealTime(time_t pktTime) static inline void SetPacketRealTime(time_t pktTime)
{ {
if (!packetTimeOffsetSet) if (!packetTimeOffsetSet)
{ {
time_t tmp = time(NULL); time_t tmp = time(NULL);
 End of changes. 1 change blocks. 
0 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)