aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorismaelrti <ismael@rti.com>2021-04-30 13:13:21 +0200
committerPascal Quantin <pascal@wireshark.org>2021-05-03 19:31:45 +0000
commit8335c597b94c3caf15acc68597edaceefddf587f (patch)
tree68f3f2513408c9900f471577438c66e1fb54c8b1
parentd6500f5870d561efc76c9d5f9de272bbdb7238bc (diff)
RTPS: Added new flag to PID_VENDOR_BUILTIN_ENDPOINT_SET
Introduces a new bit "Cloud Discovery Service Announcer" into the PID_VENDOR_BUILTIN_ENDPOINT_SET parameter send with DATA(P) messages to indicate that the DATA(P) message is coming from Cloud Discovery Service.
-rw-r--r--epan/dissectors/packet-rtps.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c
index f1e562c407..2a1a59ae6c 100644
--- a/epan/dissectors/packet-rtps.c
+++ b/epan/dissectors/packet-rtps.c
@@ -1129,6 +1129,7 @@ static int hf_rtps_flag_service_request_reader = -1;
static int hf_rtps_flag_locator_ping_writer = -1;
static int hf_rtps_flag_locator_ping_reader = -1;
static int hf_rtps_flag_secure_service_request_writer = -1;
+static int hf_rtps_flag_cloud_discovery_service_announcer = -1;
static int hf_rtps_flag_secure_service_request_reader = -1;
static int hf_rtps_flag_security_access_protected = -1;
static int hf_rtps_flag_security_discovery_protected = -1;
@@ -2350,6 +2351,7 @@ static int* const NACK_FLAGS[] = {
#endif
static int* const VENDOR_BUILTIN_ENDPOINT_FLAGS[] = {
+ &hf_rtps_flag_cloud_discovery_service_announcer, /* Bit 6 */
&hf_rtps_flag_secure_service_request_reader, /* Bit 5 */
&hf_rtps_flag_secure_service_request_writer, /* Bit 4 */
&hf_rtps_flag_locator_ping_reader, /* Bit 3 */
@@ -14714,7 +14716,10 @@ void proto_register_rtps(void) {
{ &hf_rtps_param_mig_end_coherent_set_sample_count, {
"Ended coherent set sample count", "rtps.param.mig_end_coherent_set_sample_count",
FT_UINT32, BASE_DEC, NULL, 0, "Decimal value representing the value of MIG_RTPS_PID_END_COHERENT_SET_SAMPLE_COUNT parameter", HFILL }
- }
+ },
+ { &hf_rtps_flag_cloud_discovery_service_announcer,{
+ "Cloud Discovery Service Announcer", "rtps.flag.cloud_discovery_service_announcer",
+ FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x00000040, NULL, HFILL } }
};
static gint *ett[] = {