Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-rtps.h
blob4700a27afdedb8771da7622cd80a702953909374
1 /* packet-rtps.h
2 * Header file for the Real-Time Publish-Subscribe (RTPS) and related (RTPS
3 * Virtual Transport and Processed) protocols.
5 * (c) 2020 Copyright, Real-Time Innovations, Inc.
6 * Real-Time Innovations, Inc.
7 * 232 East Java Drive
8 * Sunnyvale, CA 94089
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
14 * SPDX-License-Identifier: GPL-2.0-or-later
17 #ifndef _TYPEDEFS_DEFINES_RTPS_H
18 #define _TYPEDEFS_DEFINES_RTPS_H
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
24 /* Vendor specific - rti */
25 #define NDDS_TRANSPORT_CLASSID_ANY (0)
26 #define NDDS_TRANSPORT_CLASSID_UDPv4 (1)
27 #define NDDS_TRANSPORT_CLASSID_UDPv6 (2)
28 #define NDDS_TRANSPORT_CLASSID_INTRA (3)
29 #define NDDS_TRANSPORT_CLASSID_DTLS (6)
30 #define NDDS_TRANSPORT_CLASSID_WAN (7)
31 #define NDDS_TRANSPORT_CLASSID_TCPV4_LAN (8)
32 #define NDDS_TRANSPORT_CLASSID_TCPV4_WAN (9)
33 #define NDDS_TRANSPORT_CLASSID_TLSV4_LAN (10)
34 #define NDDS_TRANSPORT_CLASSID_TLSV4_WAN (11)
35 #define NDDS_TRANSPORT_CLASSID_PCIE (12)
36 #define NDDS_TRANSPORT_CLASSID_ITP (13)
37 #define NDDS_TRANSPORT_CLASSID_SHMEM (0x01000000)
38 #define NDDS_TRANSPORT_CLASSID_UDPv4_WAN (0x01000001)
41 * Flags indicating which fields have been filled in.
43 #define GUID_HAS_HOST_ID 0x00000001
44 #define GUID_HAS_APP_ID 0x00000002
45 #define GUID_HAS_INSTANCE_ID 0x00000004
46 #define GUID_HAS_ENTITY_ID 0x00000008
47 #define GUID_HAS_ALL 0x0000000F
49 typedef struct _endpoint_guid {
50 unsigned fields_present;
51 uint32_t host_id;
52 uint32_t app_id;
53 uint32_t instance_id;
54 uint32_t entity_id;
55 } endpoint_guid;
57 /* Process a submessage: used in packet-rtps-processed.c */
58 extern void dissect_rtps_submessages(
59 tvbuff_t *tvb,
60 int offset,
61 packet_info *pinfo,
62 proto_tree *rtps_tree,
63 uint16_t version,
64 uint16_t vendor_id,
65 endpoint_guid *guid,
66 bool dissecting_encrypted_submessage);
68 /* Information that the RTPS-VT protocol passes to RTPS-PROC */
69 struct rtpsvt_data {
70 uint8_t version_major;
71 uint8_t version_minor;
72 uint8_t direction;
73 uint16_t rtps_length;
76 #ifdef __cplusplus
77 } /* extern "C"*/
78 #endif
80 #endif /* _TYPEDEFS_DEFINES_RTPS_H */
83 * Editor modelines
85 * Local Variables:
86 * c-basic-offset: 2
87 * tab-width: 8
88 * indent-tabs-mode: nil
89 * End:
91 * ex: set shiftwidth=2 tabstop=8 expandtab:
92 * :indentSize=2:tabSize=8:noTabs=true: