tpws: move l7proto defs to one place

This commit is contained in:
bol-van 2024-10-15 13:29:16 +03:00
parent 389b8337dc
commit 4628e65917

View File

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