|
curl-fuzzer C++ reference
|
One bounded observation of a datagram curl sent to the in-process peer. More...
#include <tftp_mock_server.h>
Public Attributes | |
| TftpSocketRole | received_on |
| Server endpoint that received the packet. | |
| std::uint16_t | source_port |
| Curl's UDP transfer ID in host byte order. | |
| std::string | bytes |
| Complete UDP payload, including TFTP header. | |
One bounded observation of a datagram curl sent to the in-process peer.
Keeping observations on the server object avoids callbacks or globals in protocol tests, while the fixed count cap prevents a malformed exchange from retaining traffic in proportion to the drive-loop budget.
Definition at line 39 of file tftp_mock_server.h.