mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

QUIC v2 changed the version *and* the packet type enumeration to prevent protocol ossification. Use an intermediary unit to handle the difference.
8 lines
210 B
Text
8 lines
210 B
Text
module QUIC;
|
|
|
|
export {
|
|
const version_strings: table[count] of string = {
|
|
[0x00000001] = "1",
|
|
[0x6b3343cf] = "quicv2",
|
|
} &default=function(version: count): string { return fmt("unknown-%x", version); };
|
|
}
|