mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-22 06:15:25 +00:00
tpws: move l7proto defs to one place
This commit is contained in:
parent
4d66496cc3
commit
d80e415c63
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user