zeek/scripts/base/protocols/ntp/consts.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

16 lines
399 B
Plaintext

module NTP;
export {
## The descriptions of the NTP mode value, as described
## in :rfc:`5905`, Figure 1
const modes: table[count] of string = {
[1] = "symmetric active",
[2] = "symmetric passive",
[3] = "client",
[4] = "server",
[5] = "broadcast server",
[6] = "broadcast client",
[7] = "reserved",
} &default=function(i: count):string { return fmt("unknown-%d", i); } &redef;
}