mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
chore(pmtud/tcp): remove unused TCP flags
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user