File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 948
948
├ dump_thread [threadSettingsType] (ONLY available for SHM type)
949
949
├ eth_interface_name [string] (ONLY available for ETH type)
950
950
├ eth_output_port [uint16] (ONLY available for ETH type)
951
- └ eth_priority_mappings [ethernetPriorityMappingsType] (ONLY available for ETH type)
951
+ ├ eth_priority_mappings [ethernetPriorityMappingsType] (ONLY available for ETH type)
952
+ └ low_level_transport [string] (ONLY available for PAYLOAD_COMPRESSION
953
+ HEADER_REDUCTION
954
+ SOURCE_TIMESTAMP types)
952
955
-->
953
956
<!-- TODO: How to ensure all elements are declared properly (UDP only, TCP only, etc...)? -->
954
957
<xs : complexType name =" transportDescriptorType" >
963
966
<xs : enumeration value =" TCPv6" />
964
967
<xs : enumeration value =" SHM" />
965
968
<xs : enumeration value =" ETH" />
969
+ <xs : enumeration value =" PAYLOAD_COMPRESSION" />
970
+ <xs : enumeration value =" HEADER_REDUCTION" />
971
+ <xs : enumeration value =" SOURCE_TIMESTAMP" />
966
972
</xs : restriction >
967
973
</xs : simpleType >
968
974
</xs : element >
1028
1034
<xs : element name =" eth_interface_name" type =" string" minOccurs =" 0" maxOccurs =" 1" />
1029
1035
<xs : element name =" eth_output_port" type =" uint16" minOccurs =" 0" maxOccurs =" 1" />
1030
1036
<xs : element name =" eth_priority_mappings" type =" ethernetPriorityMappingsType" minOccurs =" 0" maxOccurs =" 1" />
1037
+ <xs : element name =" low_level_transport" type =" string" minOccurs =" 0" maxOccurs =" 1" />
1031
1038
</xs : all >
1032
1039
</xs : complexType >
1033
1040
Original file line number Diff line number Diff line change @@ -467,7 +467,8 @@ XMLP_ret XMLParser::validateXMLTransportElements(
467
467
strcmp (name, SEGMENT_OVERFLOW_POLICY) == 0 ||
468
468
strcmp (name, ETH_INTERFACE_NAME) == 0 ||
469
469
strcmp (name, ETH_OUTPUT_PORT) == 0 ||
470
- strcmp (name, ETH_PRIORITY_MAPPINGS) == 0
470
+ strcmp (name, ETH_PRIORITY_MAPPINGS) == 0 ||
471
+ strcmp (name, LOW_LEVEL_TRANSPORT) == 0
471
472
))
472
473
{
473
474
EPROSIMA_LOG_ERROR (XMLPARSER, " Invalid element found into 'transportDescriptorType'. Name: " << name);
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ const char* HEALTHY_CHECK_TIMEOUT_MS = "healthy_check_timeout_ms";
77
77
const char * ETH_INTERFACE_NAME = " eth_interface_name" ;
78
78
const char * ETH_OUTPUT_PORT = " eth_output_port" ;
79
79
const char * ETH_PRIORITY_MAPPINGS = " eth_priority_mappings" ;
80
+ const char * LOW_LEVEL_TRANSPORT = " low_level_transport" ;
80
81
const char * DISCARD = " DISCARD" ;
81
82
const char * FAIL = " FAIL" ;
82
83
const char * RTPS_DUMP_FILE = " rtps_dump_file" ;
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ extern const char* HEALTHY_CHECK_TIMEOUT_MS;
90
90
extern const char * ETH_INTERFACE_NAME;
91
91
extern const char * ETH_OUTPUT_PORT;
92
92
extern const char * ETH_PRIORITY_MAPPINGS;
93
+ extern const char * LOW_LEVEL_TRANSPORT;
93
94
extern const char * DISCARD;
94
95
extern const char * FAIL;
95
96
extern const char * RTPS_DUMP_FILE;
You can’t perform that action at this time.
0 commit comments