tpws: move l7proto defs to one place

This commit is contained in:
bol-van 2024-10-15 13:29:16 +03:00
parent 4d66496cc3
commit d80e415c63

View File

@ -10,11 +10,10 @@
#define SPLIT_FLAG_OOB 0x02
typedef enum {UNKNOWN=0, HTTP, TLS} t_l7proto;
const char *l7proto_str(t_l7proto l7);
#define L7_PROTO_HTTP 1
#define L7_PROTO_TLS 2
#define L7_PROTO_UNKNOWN 0x80000000
const char *l7proto_str(t_l7proto l7);
typedef struct
{