24#ifndef SURICATA_DETECT_PROTO_H
25#define SURICATA_DETECT_PROTO_H
28#define DETECT_PROTO_ANY BIT_U8(0)
29#define DETECT_PROTO_ONLY_PKT BIT_U8(1)
30#define DETECT_PROTO_ONLY_STREAM BIT_U8(2)
31#define DETECT_PROTO_IPV4 BIT_U8(3)
32#define DETECT_PROTO_IPV6 BIT_U8(4)
void DetectProtoTests(void)
this function registers unit tests for DetectProto
int DetectProtoContainsProto(const DetectProto *, int)
see if a DetectProto contains a certain proto
int DetectProtoParse(DetectProto *dp, const char *str)
Parses a protocol sent as a string.
struct DetectProto_ DetectProto