slipstream/include/slipstream_slot.h
2025-01-18 11:22:48 +08:00

18 lines
412 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;
uint64_t created_time;
bool is_poll_packet;
bool responded;
} slot_t;
#endif // SLIPSTREAM_SLOT