mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Ran binpac_quickstart for NTP (UDP, not buffered)
This commit is contained in:
parent
232bee4096
commit
be4f6eae0e
13 changed files with 281 additions and 1 deletions
19
src/analyzer/protocol/ntp/ntp-protocol.pac
Normal file
19
src/analyzer/protocol/ntp/ntp-protocol.pac
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Generated by binpac_quickstart
|
||||
|
||||
# ## TODO: Add your protocol structures in here.
|
||||
# ## some examples:
|
||||
|
||||
# Types are your basic building blocks.
|
||||
# There are some builtins, or you can define your own.
|
||||
# Here's a definition for a regular expression:
|
||||
# type NTP_WHITESPACE = RE/[ \t]*/;
|
||||
|
||||
# A record is a collection of types.
|
||||
# Here's one with the built-in types
|
||||
# type example = record {
|
||||
#
|
||||
# };
|
||||
|
||||
type NTP_PDU(is_orig: bool) = record {
|
||||
data: bytestring &restofdata;
|
||||
} &byteorder=bigendian;
|
Loading…
Add table
Add a link
Reference in a new issue