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.
17 lines
338 B
C
17 lines
338 B
C
#ifndef __DETECT_PROTO_H__
|
|
#define __DETECT_PROTO_H__
|
|
|
|
#define DETECT_PROTO_ANY 0x1
|
|
|
|
typedef struct DetectProto_ {
|
|
uint8_t proto[256/8]; /* bitarray for 256 bits */
|
|
uint8_t flags;
|
|
} DetectProto;
|
|
|
|
/* prototypes */
|
|
void DetectProtoRegister (void);
|
|
int DetectProtoParse(DetectProto *dp, char *str);
|
|
|
|
#endif /* __DETECT_PROTO_H__ */
|
|
|