16 lines
314 B
Plaintext
16 lines
314 B
Plaintext
# Automatically generated; edit in Sphinx source code, not here.
|
|
module TFTP;
|
|
|
|
public type Packet = unit {
|
|
opcode: uint16;
|
|
rrq: ReadRequest;
|
|
|
|
on %done { print self; }
|
|
};
|
|
|
|
# %hide-begin%
|
|
type ReadRequest = unit {
|
|
filename: bytes &until=b"\x00";
|
|
mode: bytes &until=b"\x00";
|
|
};
|
|
# %hide-end% |