#include <arpa/inet.h>
#include <cassert>
#include <cstdint>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>
Go to the source code of this file.
|
enum | tftp_common::packets::types::Type : std::uint16_t {
tftp_common::packets::types::ReadRequest = 0x01
, tftp_common::packets::types::WriteRequest = 0x02
, tftp_common::packets::types::DataPacket = 0x03
, tftp_common::packets::types::AcknowledgmentPacket = 0x04
,
tftp_common::packets::types::ErrorPacket = 0x05
, tftp_common::packets::types::OptionAcknowledgmentPacket = 0x06
} |
| Trivial File Transfer Protocol packet type. More...
|
|
enum | tftp_common::packets::errors::Error : std::uint16_t {
tftp_common::packets::errors::NotDefined = 0
, tftp_common::packets::errors::FileNotFound = 1
, tftp_common::packets::errors::AccessViolation = 2
, tftp_common::packets::errors::DiskFull = 3
,
tftp_common::packets::errors::IllegalOperation = 4
, tftp_common::packets::errors::UnknownTransferID = 5
, tftp_common::packets::errors::FileAlreadyExists = 6
, tftp_common::packets::errors::NoSuchUser = 7
} |
| Trivial File Transfer Protocol error code. More...
|
|
enum | tftp_common::packets::modes::TransferMode { tftp_common::packets::modes::NetAscii
, tftp_common::packets::modes::Octet
} |
| Trivial File Transfer Protocol transfer mode. More...
|
|