forked from quic-go/quic-go
add support for writing the ECN control message (Linux, macOS)
This commit is contained in:
@@ -15,6 +15,8 @@ const (
|
||||
ipv4PKTINFO = unix.IP_RECVPKTINFO
|
||||
)
|
||||
|
||||
const ecnIPv4DataLen = 4
|
||||
|
||||
// ReadBatch only returns a single packet on OSX,
|
||||
// see https://godoc.org/golang.org/x/net/ipv4#PacketConn.ReadBatch.
|
||||
const batchSize = 1
|
||||
|
||||
Reference in New Issue
Block a user