static inline void hi_paf_event_simple () { SnortEventqAdd( GENERATOR_SPP_HTTP_INSPECT_CLIENT, HI_EO_CLIENT_SIMPLE_REQUEST+1, 1, 0, 3, HI_EO_CLIENT_SIMPLE_REQUEST_STR, NULL); }
static inline void hi_paf_event_msg_size () { SnortEventqAdd( GENERATOR_SPP_HTTP_INSPECT, HI_EO_CLISRV_MSG_SIZE_EXCEPTION+1, 1, 0, 3, HI_EO_CLISRV_MSG_SIZE_EXCEPTION_STR, NULL); }
static inline void hi_paf_event_post () { SnortEventqAdd( GENERATOR_SPP_HTTP_INSPECT_CLIENT, HI_EO_CLIENT_UNBOUNDED_POST+1, 1, 0, 3, HI_EO_CLIENT_UNBOUNDED_POST_STR, NULL); }
int file_eventq_add(uint32_t gid, uint32_t sid, char *msg, RuleType type) { OptTreeNode *otn; RuleTreeNode *rtn; otn = GetApplicableOtn(gid, sid, 1, 0, 3, msg); if (otn == NULL) return 0; rtn = getRtnFromOtn(otn, getIpsRuntimePolicy()); if (rtn == NULL) { return 0; } rtn->type = type; return SnortEventqAdd(gid, sid, 1, 0, 3, msg, otn); }