From 4628e659178588e40ad81b91f34bee6feafe4219 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 {