From b6c6813d4158ab07a6860e630fb9c799824ad3b4 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 3 Apr 2024 12:44:50 +0800 Subject: [PATCH] make mingw_cross --- network.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/network.cpp b/network.cpp index b878791..dd9b077 100644 --- a/network.cpp +++ b/network.cpp @@ -262,10 +262,10 @@ tcpdump -i eth1 ip and icmp -dd //tcp option for SPA int g_tcp_spa = 0; typedef struct tcpopt_data { - __u8 opcode; - __u8 opsize; - __u16 reserve; - __u32 csum; + uint8_t opcode; + uint8_t opsize; + uint16_t reserve; + uint32_t csum; }tcpopt_data_t; #define TCPOPT_SPA 233