mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
add support for writing the ECN control message (Linux, macOS)
This commit is contained in:
parent
a7f807856c
commit
f919473598
8 changed files with 91 additions and 3 deletions
|
@ -14,6 +14,8 @@ const (
|
|||
ipv4PKTINFO = 0x7
|
||||
)
|
||||
|
||||
const ecnIPv4DataLen = 4
|
||||
|
||||
const batchSize = 8
|
||||
|
||||
func parseIPv4PktInfo(body []byte) (ip netip.Addr, _ uint32, ok bool) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue