chore(pmtud/tcp): remove unused TCP flags

This commit is contained in:
Quentin McGaw
2026-02-20 16:25:14 +00:00
parent 7fbf2cbee3
commit c5eacac644
+5 -9
View File
@@ -63,15 +63,11 @@ func tcpChecksum(ipHeader, tcpHeader, payload []byte) uint16 {
} }
const ( const (
tcpFlagsOffset = 13 finFlag byte = 0x01
finFlag byte = 0x01 synFlag byte = 0x02
synFlag byte = 0x02 rstFlag byte = 0x04
rstFlag byte = 0x04 pshFlag byte = 0x08
pshFlag byte = 0x08 ackFlag byte = 0x10
ackFlag byte = 0x10
urgFlag byte = 0x20
eceFlag byte = 0x40
cwrFlag byte = 0x80
) )
type packetType uint8 type packetType uint8