mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-16 11:36:35 +00:00

- Updates fips-go to be the latest on cfsetup.yaml - Updates sumtype's x/tools to be latest to avoid Internal: nil pkg errors with fips.
20 lines
385 B
Go
20 lines
385 B
Go
// +build linux
|
|
|
|
package quic
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const msgTypeIPTOS = unix.IP_TOS
|
|
|
|
const (
|
|
ipv4RECVPKTINFO = unix.IP_PKTINFO
|
|
ipv6RECVPKTINFO = unix.IPV6_RECVPKTINFO
|
|
)
|
|
|
|
const (
|
|
msgTypeIPv4PKTINFO = unix.IP_PKTINFO
|
|
msgTypeIPv6PKTINFO = unix.IPV6_PKTINFO
|
|
)
|
|
|
|
const batchSize = 8 // needs to smaller than MaxUint8 (otherwise the type of oobConn.readPos has to be changed)
|