10#ifndef __PACKET_QUIC_H__
11#define __PACKET_QUIC_H__
13#include "ws_symbol_export.h"
15#include <glibconfig.h>
40#define QUIC_MAX_CID_LENGTH 20
44 uint8_t cid[QUIC_MAX_CID_LENGTH];
45 uint8_t reset_token[16];
55#define QUIC_STREAM_TYPE(stream_id) ((stream_id) & 3U)
56#define QUIC_STREAM_CLIENT_BIDI 0
57#define QUIC_STREAM_SERVER_BIDI 1
58#define QUIC_STREAM_CLIENT_UNI 2
59#define QUIC_STREAM_SERVER_UNI 3
64#define QUIC_MP_NO_PATH_ID 1
65#define QUIC_MP_PATH_ID 2
73WS_DLL_PUBLIC uint32_t get_quic_connections_count(
void);
90quic_add_loss_bits(
packet_info *pinfo, uint64_t value);
94quic_add_multipath(
packet_info *pinfo,
unsigned version);
98quic_proto_tree_add_version(
tvbuff_t *tvb,
proto_tree *tree,
int hfindex,
unsigned offset);
105quic_get_stream_id_le(
unsigned streamid,
unsigned sub_stream_id,
unsigned *sub_stream_id_out);
112quic_get_stream_id_ge(
unsigned streamid,
unsigned sub_stream_id,
unsigned *sub_stream_id_out);
Definition packet_info.h:43
Definition packet-quic.h:27
uint32_t inorder_offset
Definition packet-quic.h:31
struct quic_info_data * quic_info
Definition packet-quic.h:32
uint32_t offset
Definition packet-quic.h:30
uint64_t stream_offset
Definition packet-quic.h:29
uint64_t stream_id
Definition packet-quic.h:28
Definition packet-quic.h:75
Definition packet-quic.h:42
Definition packet-quic.c:407
Definition tvbuff-int.h:35