summaryrefslogtreecommitdiff
path: root/src/mesa_net.h
diff options
context:
space:
mode:
authoryangwei <[email protected]>2021-08-26 20:36:27 +0800
committeryangwei <[email protected]>2021-08-26 20:36:27 +0800
commit240efaec395961ad55a85dd7f15fde784de1f065 (patch)
treef2e03e3a6d383a714ace55c4b927457e57e519db /src/mesa_net.h
parentfaa4eba4f74b7a7cb0c4e0045d9db8015e679baf (diff)
✨ feat(greedy模式支持跳过gre):v1.0.7master
Diffstat (limited to 'src/mesa_net.h')
-rw-r--r--src/mesa_net.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa_net.h b/src/mesa_net.h
index ab46da4..67b9b6a 100644
--- a/src/mesa_net.h
+++ b/src/mesa_net.h
@@ -510,6 +510,12 @@ enum pptp_control_message_type{
PPTP_CTRL_SET_LINK_INFO = 15,
};
+#define GRE_PRO_IPV4 (0x0800)
+#define GRE_PRO_IPV6 (0x86DD)
+#define GRE_PRO_ARP (0x0806)
+#define GRE_PRO_PPP (0x880B)
+
+
struct mesa_pptp_control_hdr{
unsigned short length; /* ȫ�����ݳ���, ������ͷ�� */
unsigned short pptp_message_type;