trivial v0.1.0 API Reference

Modules

A Read-only TFTP Service for Elixir

Motivation

Erlang's :tftp module is quite complex in order to service a broad featureset and has some critical bugs which prevent it from being used in a PXE Boot context.

The struct for holding stateful TFTP connection information.

UDP Daemon for the TFTP protocol. Listens on a port for "accept"-style UDP connections, then spawns a server to handle the continued processing of the results.

Code for converting structured erlang data into a udp packet which is then sent over the udp connection in a Trivial.Conn struct.

A genserver which handles data packet transfers between the TFTP service and hungry clients. By being spawned off of Trivial.Daemon after accept, it allows transactions to be concurrent and asynchronous.