This commit is contained in:
esrrhs committed 2019-10-27 19:06:55 +08:00
1 parent 2dd984018c
commit 013c6124d9
7 files changed
+144 -63

No files matched your search

+2 -1
View File
@@ -18,7 +18,7 @@ import (
func sendICMP(id int, sequence int, conn icmp.PacketConn, server *net.IPAddr, target string,
connId string, msgType uint32, data []byte, sproto int, rproto int, key int,
tcpmode int, tcpmode_buffer_size int, tcpmode_maxwin int, tcpmode_resend_time int,
tcpmode int, tcpmode_buffer_size int, tcpmode_maxwin int, tcpmode_resend_time int, tcpmode_compress int,
timeout int) {
m := &MyMsg{
@@ -32,6 +32,7 @@ func sendICMP(id int, sequence int, conn icmp.PacketConn, server *net.IPAddr, ta
TcpmodeBuffersize: (int32)(tcpmode_buffer_size),
TcpmodeMaxwin: (int32)(tcpmode_maxwin),
TcpmodeResendTimems: (int32)(tcpmode_resend_time),
TcpmodeCompress: (int32)(tcpmode_compress),
Timeout: (int32)(timeout),
Magic: (int32)(MyMsg_MAGIC),
}