cloudflared-mirror/vendor/github.com/lucas-clemente/quic-go/conn_helper_freebsd.go

20 lines
245 B
Go
Raw Normal View History

// +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