slipstream/include/slipstream_slot.h
Jop Zitman ee59a67164 Implement custom sockloop
- s.t. server only attempts sending data when there is an available request
- s.t. dns requests are responded to in-order
- ensures that rtt stays consistent
- ensures that congestion control isn't tripped
- ensures that dns resolver isn't tripped
2024-12-29 17:23:48 +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;
uint64_t created_time;
int query_id;
} slot_t;
#endif // SLIPSTREAM_SLOT