处理sleep的链接问题

This commit is contained in:
impact-eintr
2022-11-24 19:35:26 +08:00
parent 91ec6f0433
commit e51d8ea721
15 changed files with 744 additions and 38 deletions

View File

@@ -6,8 +6,8 @@ import (
)
const (
dstMAC = 0
srcMAC = 6
dstMAC = 0
srcMAC = 6
ethType = 12
)
@@ -19,6 +19,7 @@ type EthernetFields struct {
DstAddr tcpip.LinkAddress
// 协议类型
// Type = 0x8000 IPv4 Type = 0x8060 = ARP
Type tcpip.NetworkProtocolNumber
}