Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-moq-lite.h
1/* packet-moq-lite.h
2 * Media over QUIC Lite (moq-lite) payload handoff
3 *
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11#ifndef __PACKET_MOQ_LITE_H__
12#define __PACKET_MOQ_LITE_H__
13
14#include <stdbool.h>
15#include <stdint.h>
16
17/*
18 * Information passed as the "data" argument to dissectors registered on the
19 * "moql.payload" heuristic list. moq-lite frame payloads are opaque, so the
20 * application protocol (e.g. hang) is selected by the broadcast path and track
21 * name rather than by anything in the payload.
22 */
23typedef struct _moql_payload_info {
24 const char *broadcast_path; /* NULL if the track is unknown. */
25 const char *track_name; /* NULL if the track is unknown. */
26 unsigned version; /* moq-lite draft number in use. */
27
28 /*
29 * Identifies the group the frame belongs to within this capture: the same
30 * value for every frame of a group, and distinct across groups. NULL for
31 * datagrams, which always carry a single frame group.
32 */
33 const void *group_key;
34 uint64_t group_sequence;
35 bool group_sequence_known;
36 /* Stream offset of the frame; strictly increasing within a group. */
37 uint64_t frame_offset;
38 bool first_in_group;
39
40 /* The moq-lite level timestamp, in the track's timescale, if any. */
41 int64_t timestamp;
42 bool timestamp_known;
43} moql_payload_info_t;
44
45#endif /* __PACKET_MOQ_LITE_H__ */
Definition packet-moq-lite.h:23