⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flow_class.c

📁 snort-2.1.0入侵检测
💻 C
字号:
#include "flow_class.h"#include "flow_error.h"/**  * Find the relevant flow processing scheme for a packet *  * @param p packet to find the flow scheme for *  * @return 0 on success, 1 on failure */int flow_classifier(FLOWPACKET *p, int *flowtype){    if(p == NULL)    {        return FLOW_ENULL;    }    if(IsIPv4Packet(p))    {        *flowtype = FLOW_IPV4;                    return FLOW_SUCCESS;    }    return FLOW_EINVALID;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -