slipstream/include/slipstream_slot.h
2025-01-22 18:24:05 +08:00

17 lines
385 B
C

#ifndef SLIPSTREAM_SLOT
#define SLIPSTREAM_SLOT
#include "SPCDNS/src/dns.h"
#include "picoquic.h"
typedef struct st_slot_t {
dns_decoded_t dns_decoded[DNS_DECODEBUF_4K];
dns_rcode_t error;
struct sockaddr_storage peer_addr;
struct sockaddr_storage local_addr;
picoquic_cnx_t* cnx;
bool is_poll_packet;
bool responded;
} slot_t;
#endif // SLIPSTREAM_SLOT