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