package
0.4.1
Repository: https://github.com/apernet/opengfw.git
Documentation: pkg.go.dev

# README

The code here is from https://github.com/cuonglm/quicsni with various modifications.

# Functions

NewInitialProtectionKey is like NewProtectionKey, but the returned protection key is used for encrypt/decrypt Initial Packet only.
NewPacketProtector creates a new PacketProtector.
NewProtectionKey creates a new ProtectionKey.
ParseInitialHeader parses the initial packet of a QUIC connection, return the initial header and number of bytes read so far.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Structs

The Header represents a QUIC header.
PacketProtector is used for protecting a QUIC packet.
ProtectionKey is the key used to protect a QUIC packet.