unique_tracker.h
来自「snort-2.1.0入侵检测」· C头文件 代码 · 共 27 行
H
27 行
#ifndef _UNIQUE_TRACKER_H#define _UNIQUE_TRACKER_H#include "flow.h"#include "sfxhash.h"typedef enum { UT_OLD, UT_NEW} UT_TYPE;typedef struct _UNIQUE_TRACKER{ SFXHASH *ipv4_table;} UNIQUE_TRACKER;int ut_init(UNIQUE_TRACKER *utp, unsigned int rows, int memcap);int ut_destroy(UNIQUE_TRACKER *utp);int ut_check(UNIQUE_TRACKER *utp, FLOWKEY *keyp, UT_TYPE *retval);void ut_stats(UNIQUE_TRACKER *utp, int dumpall);int ut_memcap(UNIQUE_TRACKER *utp);int ut_row_count(UNIQUE_TRACKER *utp);int ut_overhead_bytes(UNIQUE_TRACKER *sbp);#endif /* _UNIQUE_TRACKER_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?