TUN-6531: Implement ICMP proxy for Windows using IcmpSendEcho

This commit is contained in:
Chung-Ting Huang
2022-09-07 19:18:06 +00:00
parent 7a19798682
commit 3e0ff3a771
7 changed files with 472 additions and 17 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const (
const (
typeIDLen = 1
// Same as sessionDemuxChan capacity
packetChanCapacity = 16
packetChanCapacity = 128
)
func suffixType(b []byte, datagramType datagramV2Type) ([]byte, error) {