2021-08-03 09:04:02 +00:00
|
|
|
// +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
|
|
|
|
)
|
2021-08-27 11:26:00 +00:00
|
|
|
|
|
|
|
const batchSize = 8
|