Expand description
TFTP library.
Netsvc uses TFTP for file transfers. TFTP is defined in RFC 1350. Netsvc also incorporates the following extensions:
- Option extension RFC 2347.
- Block size option RFC 2348.
- Timeout interval, and transfer size options RFC 2349.
- Windows size option RFC 7440.
Over the years netsvc also introduces some fuchsia-specific extensions, which are called out in documentation.
Structs§
- The body of an Ack message.
- Implements [
InnerPacketBuilder
] for ack messages. - A container with all possible
TftpOption
values in a message. - The body of a data message.
- Implements [
PacketBuilder
] for a data request. - The body of an error message.
- Implements [
InnerPacketBuilder
] for error messages. - Helper structure to encode forced values, a Fuchsia-specific extension to options.
- The body of an option ack (OACK) message.
- Implements [
InnerPacketBuilder
] for option ack (OACK) messages. - A collection of options in a TFTP message.
- The body of a Read or Write request.
- Implements [
InnerPacketBuilder
] to build Read and Write requests.
Enums§
- TFTP Opcodes as defined in RFC 1350 section 5.
- Kinds of observable
ParseError
s. - Fields that are parsed as strings.
- Error codes defined in RFC 1350 appendix I.
- TFTP transfer modes defined in RFC 1350.
- TFTP Options.
- A TFTP packet.
- The direction of a file transfer.
Constants§
- The default block size option value, according to RFC 1350.
- The default timeout option value used in netsvc.
- The default window size option value, according to RFC 1350.
- The port netsvc uses to listen to TFTP traffic.
- The maximum number of options that a request may carry.
- The port netsvc uses to send TFTP traffic from.