From d80e415c6350a11c0b3d4c7ff5fdac82aba30215 Mon Sep 17 00:00:00 2001 From: bol-van Date: Tue, 15 Oct 2024 13:29:16 +0300 Subject: [PATCH] tpws: move l7proto defs to one place --- tpws/tamper.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tpws/tamper.h b/tpws/tamper.h index 437abdf..0cafee7 100644 --- a/tpws/tamper.h +++ b/tpws/tamper.h @@ -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 {