curl-fuzzer C++ reference
Loading...
Searching...
No Matches
proto_fuzzer::TftpReceivedDatagram Struct 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.

Detailed Description

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.


The documentation for this struct was generated from the following file: