Ran binpac_quickstart for NTP (UDP, not buffered)

This commit is contained in:
Vlad Grigorescu 2019-05-29 09:04:48 -05:00
parent 232bee4096
commit be4f6eae0e
13 changed files with 281 additions and 1 deletions

View 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;