14 #include <arpa/inet.h>
16 #include <sys/socket.h>
19 #include <condition_variable>
51 static constexpr
size_t BUFFER_SIZE = 256 * 1024;
58 static constexpr
size_t MAX_SEND_SIZE = 64000;
66 static constexpr
long MAX_LOOP_COUNT = 1000;
78 Fuzz(
int ipversion, uint16_t port);
91 void transfer(
void)
const;
101 long maxLoopCount()
const {
120 void createAddressStructures(
int ipversion,
const char* interface,
121 const char* address, uint16_t port);
125 size_t sockaddr_len_;
126 struct sockaddr* sockaddr_ptr_;
127 struct sockaddr_in servaddr4_;
128 struct sockaddr_in6 servaddr6_;
134 class FuzzInitFail :
public Exception {
136 FuzzInitFail(
const char* file,
size_t line,
const char* what) :
137 isc::Exception(file, line, what) { };
Defines the logger used by the top-level component of kea-dhcp-ddns.