| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-nats.h
1/* packet-nats.h
2 *
3 * Routines for NATS Client Protocol dissection
4 * https://docs.nats.io/reference/reference-protocols/nats-protocol
5 *
6 * Copyright 2025, Max Dmitrichenko <dmitrmax@gmail.com>
7 *
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 */
14
15#ifndef __PACKET_NATS_H__
16#define __PACKET_NATS_H__
17
18#include <wsutil/wmem/wmem_map.h>
19
20// PUBLIC_HEADER: This is used for a custom dissector for NATS
21 typedef struct nats_data
22{
23 const char* subject;
24 const char* reply_to;
25 const char* in_reply_to;
26
27 wmem_map_t* headers_map;
28} nats_data_t;
29
30#endif //NATS_NATS_H
wmem_map_t
struct _wmem_map_t wmem_map_t
Opaque type representing a wmem-managed hash map.
Definition wmem_map.h:46
nats_data
Definition packet-nats.h:22
wmem_map.h