|
curl-fuzzer C++ reference
|
Bounded loopback UDP peer for structured TFTP scenarios. More...
Go to the source code of this file.
Classes | |
| struct | proto_fuzzer::TftpReceivedDatagram |
| One bounded observation of a datagram curl sent to the in-process peer. More... | |
| class | proto_fuzzer::TftpMockServer |
| Real, nonblocking UDP peer for curl's TFTP state machine. More... | |
Enumerations | |
| enum class | proto_fuzzer::TftpSocketRole { kRequest , kTransfer } |
| Identifies which stable server transfer ID received a client datagram. More... | |
Bounded loopback UDP peer for structured TFTP scenarios.
Definition in file tftp_mock_server.h.
|
strong |
Identifies which stable server transfer ID received a client datagram.
Tests use this distinction to prove that curl moves from the well-known request endpoint to the transfer endpoint selected by the first reply.
| Enumerator | |
|---|---|
| kRequest | Endpoint placed in curl's rewritten destination address. |
| kTransfer | Endpoint used for replies and the rest of the exchange. |
Definition at line 30 of file tftp_mock_server.h.