mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
691 B
C
41 lines
691 B
C
/* Copyright (c) 2009 Open Information Security Foundation */
|
|
|
|
/** \file
|
|
* \author Breno Silva <breno.silva@gmail.com>
|
|
*/
|
|
|
|
#ifndef __DETECT_GID_H__
|
|
#define __DETECT_GID_H__
|
|
|
|
#include "decode-events.h"
|
|
#include "decode-ipv4.h"
|
|
#include "decode-tcp.h"
|
|
|
|
/**
|
|
* \struct DetectGidData_
|
|
* DetectGidData_ is used to store gid: input value
|
|
*/
|
|
|
|
/**
|
|
* \typedef DetectGidData
|
|
* A typedef for DetectGidData_
|
|
*/
|
|
|
|
typedef struct DetectGidData_ {
|
|
uint32_t gid; /**< Rule gid */
|
|
} DetectGidData;
|
|
|
|
/**
|
|
* Registration function for gid: keyword
|
|
*/
|
|
|
|
void DetectGidRegister (void);
|
|
|
|
/**
|
|
* This function registers unit tests for Gid
|
|
*/
|
|
|
|
void GidRegisterTests(void);
|
|
|
|
#endif /*__DETECT_GID_H__ */
|