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

23 lines
269 B
Go

//go:build freebsd
// +build freebsd
package quic
import "golang.org/x/sys/unix"
const (
msgTypeIPTOS = unix.IP_RECVTOS
)
const (
ipv4RECVPKTINFO = 0x7
ipv6RECVPKTINFO = 0x24
)
const (
msgTypeIPv4PKTINFO = 0x7
msgTypeIPv6PKTINFO = 0x2e
)
const batchSize = 8