status-go/vendor/github.com/lucas-clemente/quic-go/conn_helper_freebsd.go

24 lines
313 B
Go
Raw Normal View History

2022-04-01 16:16:46 +00:00
//go:build freebsd
// +build freebsd
package quic
import "golang.org/x/sys/unix"
const (
msgTypeIPTOS = unix.IP_RECVTOS
disablePathMTUDiscovery = false
)
const (
ipv4RECVPKTINFO = 0x7
ipv6RECVPKTINFO = 0x24
)
const (
msgTypeIPv4PKTINFO = 0x7
msgTypeIPv6PKTINFO = 0x2e
)
const batchSize = 8