cyclonedds-src 1.0.1

Eclipse CycloneDDS C library source for building from source
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="https://cdds.io/config" xmlns:config="https://cdds.io/config">
  <xs:element name="CycloneDDS">
    <xs:annotation>
      <xs:documentation>
CycloneDDS configuration</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="config:Domain"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Domain">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The General element specifying Domain related settings.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Compatibility"/>
        <xs:element minOccurs="0" ref="config:Discovery"/>
        <xs:element minOccurs="0" ref="config:General"/>
        <xs:element minOccurs="0" ref="config:Internal"/>
        <xs:element minOccurs="0" ref="config:Partitioning"/>
        <xs:element minOccurs="0" ref="config:SSL"/>
        <xs:element minOccurs="0" ref="config:Security"/>
        <xs:element minOccurs="0" ref="config:SharedMemory"/>
        <xs:element minOccurs="0" ref="config:Sizing"/>
        <xs:element minOccurs="0" ref="config:TCP"/>
        <xs:element minOccurs="0" ref="config:Threads"/>
        <xs:element minOccurs="0" ref="config:Tracing"/>
      </xs:all>
      <xs:attribute name="Id">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;Domain id this configuration applies to, or "any" if it applies to all domain ids.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;any&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="Compatibility">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Compatibility element allows you to specify various settings related to compatibility with standards and with other DDSI implementations.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AllowInvalidTryConstruct"/>
        <xs:element minOccurs="0" ref="config:AssumeRtiHasPmdEndpoints"/>
        <xs:element minOccurs="0" ref="config:ExplicitlyPublishQosSetToDefault"/>
        <xs:element minOccurs="0" ref="config:IgnoreTypeInformation"/>
        <xs:element minOccurs="0" ref="config:ManySocketsMode"/>
        <xs:element minOccurs="0" ref="config:ProtocolVersion"/>
        <xs:element minOccurs="0" ref="config:StandardsConformance"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AllowInvalidTryConstruct" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Setting option makes the TypeObject validation code accept types with the two "try construct" bits both set to 0, which is explicitly noted as an invalid setting in the spec.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="AssumeRtiHasPmdEndpoints" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option assumes ParticipantMessageData endpoints required by the liveliness protocol are present in RTI participants even when not properly advertised by the participant discovery protocol.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ExplicitlyPublishQosSetToDefault" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies whether QoS settings set to default values are explicitly published in the discovery protocol. Implementations are to use the default value for QoS settings not published, which allows a significant reduction of the amount of data that needs to be exchanged for the discovery protocol, but this requires all implementations to adhere to the default values specified by the specifications.&lt;/p&gt;
&lt;p&gt;When interoperability is required with an implementation that does not follow the specifications in this regard, setting this option to true will help.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="IgnoreTypeInformation" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Setting option causes type information included in discovery messages from the listed vendor ids to be ignored. This reduces the type assignability check to a check of the type names. This may cause readers/writers to match when they shouldn't or not to match when they should. Use with care.&lt;/p&gt;&lt;p&gt;The vendor ids are specified using a comma-separated list of two decimal integers separated by a dot. E.g., to ignore them from Cyclone and RTI Connext set it to "1.1,1.16". Order doesn't matter.&lt;/p&gt;&lt;p&gt;The current implementation restricts them to the form 1.N, where 1&lt;N&lt;=32. This covers all vendor ids currently allocated by the OMG.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ManySocketsMode">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option specifies whether a network socket will be created for each domain participant on a host. The specification seems to assume that each participant has a unique address, and setting this option will ensure this to be the case. This is not the default.&lt;/p&gt;
&lt;p&gt;Disabling it slightly improves performance and reduces network traffic somewhat. It also causes the set of port numbers needed by Cyclone DDS to become predictable, which may be useful for firewall and NAT configuration.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;single&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="false"/>
        <xs:enumeration value="true"/>
        <xs:enumeration value="single"/>
        <xs:enumeration value="none"/>
        <xs:enumeration value="many"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="ProtocolVersion" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option allows configuring the advertised protocol version.  Valid values are "2.1" and "2.5"&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2.5&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="StandardsConformance">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the level of standards conformance of this instance of the Cyclone DDS Service. Stricter conformance typically means less interoperability with other implementations. Currently, three modes are defined:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;pedantic&lt;/i&gt;: very strictly conform to the specification, ultimately for compliance testing, but currently of little value because it adheres even to what will most likely turn out to be editing errors in the DDSI standard. Arguably, as long as no errata have been published, the current text is in effect, and that is what pedantic currently does.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;strict&lt;/i&gt;: a relatively less strict view of the standard than does pedantic: it follows the established behaviour where the standard is obviously in error.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;lax&lt;/i&gt;: attempt to provide the smoothest possible interoperability, anticipating future revisions of elements in the standard in areas that other implementations do not adhere to, even though there is no good reason not to.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default value is: &lt;code&gt;lax&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="lax"/>
        <xs:enumeration value="strict"/>
        <xs:enumeration value="pedantic"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="Discovery">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Discovery element allows you to specify various parameters related to the discovery of peers.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:DSGracePeriod"/>
        <xs:element minOccurs="0" ref="config:DefaultMulticastAddress"/>
        <xs:element minOccurs="0" ref="config:DiscoveredLocatorPruneDelay"/>
        <xs:element minOccurs="0" ref="config:EnableTopicDiscoveryEndpoints"/>
        <xs:element minOccurs="0" ref="config:ExternalDomainId"/>
        <xs:element minOccurs="0" ref="config:InitialLocatorPruneDelay"/>
        <xs:element minOccurs="0" ref="config:LeaseDuration"/>
        <xs:element minOccurs="0" ref="config:MaxAutoParticipantIndex"/>
        <xs:element minOccurs="0" ref="config:ParticipantIndex"/>
        <xs:element minOccurs="0" ref="config:Peers"/>
        <xs:element minOccurs="0" ref="config:Ports"/>
        <xs:element minOccurs="0" ref="config:SPDPInterval"/>
        <xs:element minOccurs="0" ref="config:SPDPMulticastAddress"/>
        <xs:element minOccurs="0" ref="config:Tag"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="DSGracePeriod" type="config:duration_inf">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls for how long endpoints discovered via a Cloud discovery service will survive after the discovery service disappears, allowing reconnection without loss of data when the discovery service restarts (or another instance takes over).&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;30 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="DefaultMulticastAddress" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the default multicast address for all traffic other than participant discovery packets. It defaults to Discovery/SPDPMulticastAddress.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;auto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="DiscoveredLocatorPruneDelay" type="config:duration_inf">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the time for which discovered (unicast) participant locators are pinged after a participant at that address disappeared because of a lease expiry. Locators for participants for which notice of graceful termination was received are not retained.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;60s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EnableTopicDiscoveryEndpoints" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether the built-in endpoints for topic discovery are created and used to exchange topic discovery information.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ExternalDomainId" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;An override for the domain id is used to discovery and determine the port number mapping. This allows the creating of multiple domains in a single process while making them appear as a single domain on the network. The value "default" disables the override.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="InitialLocatorPruneDelay" type="config:duration_inf">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the default time for configured peer locators are initially ping and after disappearance of the last participant at that address until it is pruned. It can be overridden for individual peers.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;30s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="LeaseDuration" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the default participant lease duration.&lt;p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;10 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxAutoParticipantIndex" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the maximum DDSI participant index selected by this instance of the Cyclone DDS service if the Discovery/ParticipantIndex is "auto". This also determines the range of port numbers pinged by default for unicast participant discovery.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;99&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ParticipantIndex" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the DDSI participant index used by this instance of the Cyclone DDS service for discovery purposes. Only one such participant id is used, independent of the number of actual DomainParticipants on the node. It is either:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;auto&lt;/i&gt;: which will attempt to automatically determine an available participant index (see also Discovery/MaxAutoParticipantIndex), or&lt;/li&gt;
&lt;li&gt;a non-negative integer, or&lt;/li&gt;
&lt;li&gt;&lt;i&gt;none&lt;/i&gt;: which causes it to use arbitrary port numbers for unicast sockets which entirely removes the constraints on the participant index but makes unicast discovery impossible, or&lt;/li&gt;&lt;li&gt;&lt;i&gt;default&lt;/i&gt;: use &lt;i&gt;none&lt;/i&gt; if multicast discovery is used on all selected network interfaces, else &lt;i&gt;auto&lt;/i&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Peers">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element statically configures addresses for discovery.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:Peer"/>
      </xs:sequence>
      <xs:attribute name="AddLocalhost" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute determines controls the localhost will automatically be added to the list of peers:.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;false&lt;/i&gt;: never&lt;/li&gt;
&lt;li&gt;&lt;i&gt;true&lt;/i&gt;: always&lt;/li&gt;
&lt;li&gt;&lt;i&gt;default&lt;/i&gt;: if multicast discovery is unavailable&lt;li&gt;&lt;/ul&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="Peer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element statically configures addresses for discovery.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="Address" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This element specifies an IP address to which discovery packets must be sent, in addition to the default multicast address (see also General/AllowMulticast). Both hostnames and a numerical IP address are accepted; the hostname or IP address may be suffixed with :PORT to explicitly set the port to which it must be sent. Multiple Peers may be specified.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="PruneDelay" type="config:maybe_duration_inf">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This element specifies the duration for which the locator must be pinged for participant discovery before it is pruned as a useless address. The value "default" means the value in Discovery/InitialLocatorPruneDelay is used.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit, the keyword 'inf' for infinity or the keyword 'default'. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="Ports">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Ports element specifies various parameters related to the port numbers used for discovery. These all have default values specified by the DDSI 2.1 specification and rarely need to be changed.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Base"/>
        <xs:element minOccurs="0" ref="config:DomainGain"/>
        <xs:element minOccurs="0" ref="config:MulticastDataOffset"/>
        <xs:element minOccurs="0" ref="config:MulticastMetaOffset"/>
        <xs:element minOccurs="0" ref="config:ParticipantGain"/>
        <xs:element minOccurs="0" ref="config:UnicastDataOffset"/>
        <xs:element minOccurs="0" ref="config:UnicastMetaOffset"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="Base" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the base port number (refer to the DDSI 2.1 specification, section 9.6.1, constant PB).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;7400&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="DomainGain" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the domain gain, relating domain ids to sets of port numbers (refer to the DDSI 2.1 specification, section 9.6.1, constant DG).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;250&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MulticastDataOffset" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the port number for multicast data traffic (refer to the DDSI 2.1 specification, section 9.6.1, constant d2).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MulticastMetaOffset" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the port number for multicast meta traffic (refer to the DDSI 2.1 specification, section 9.6.1, constant d0).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ParticipantGain" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the participant gain, relating p0, participant index to sets of port numbers (refer to the DDSI 2.1 specification, section 9.6.1, constant PG).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="UnicastDataOffset" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the port number for unicast data traffic (refer to the DDSI 2.1 specification, section 9.6.1, constant d3).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;11&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="UnicastMetaOffset" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the port number for unicast meta traffic (refer to the DDSI 2.1 specification, section 9.6.1, constant d1).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;10&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SPDPInterval" type="config:maybe_duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the interval between spontaneous transmissions of participant discovery packets.  The special value "default" corresponds to approximately 80% of the participant lease duration with a maximum of 30s.&lt;/p&gt;
&lt;p&gt;A finite duration or the keyword 'default'. The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SPDPMulticastAddress" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the multicast address used as the destination for the participant discovery packets. In IPv4 mode the default is the (standardised) 239.255.0.1, in IPv6 mode it becomes ff02::ffff:239.255.0.1, which is a non-standardised link-local multicast address.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;239.255.0.1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Tag" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;String extension for domain id that remote participants must match to be discovered.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="General">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The General element specifies overall Cyclone DDS service settings.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" name="AddrsetCosts">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element specifies the "costs" used in deciding which set of addresses to use when sending data to readers. It is based on repeatedly selecting the lowest-cost locator from the available locators, where the cost is defined as -priority + {uc|mc|ssm} + delivered |READERS| + SUM(X) where "priority" is the network interface priority, and X is 0 for readers not yet reached, and (discarded-delivered) for readers already reached via a previously selected locator.&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:all>
              <xs:element minOccurs="0" ref="config:delivered"/>
              <xs:element minOccurs="0" ref="config:discarded"/>
              <xs:element minOccurs="0" ref="config:mc"/>
              <xs:element minOccurs="0" ref="config:redundant_psmx"/>
              <xs:element minOccurs="0" ref="config:ssm"/>
              <xs:element minOccurs="0" ref="config:uc"/>
            </xs:all>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" ref="config:AllowMulticast"/>
        <xs:element minOccurs="0" ref="config:DontRoute"/>
        <xs:element minOccurs="0" ref="config:EnableMulticastLoopback"/>
        <xs:element minOccurs="0" ref="config:EntityAutoNaming"/>
        <xs:element minOccurs="0" ref="config:ExternalNetworkAddress"/>
        <xs:element minOccurs="0" ref="config:ExternalNetworkMask"/>
        <xs:element minOccurs="0" ref="config:FragmentSize"/>
        <xs:element minOccurs="0" ref="config:Interfaces"/>
        <xs:element minOccurs="0" ref="config:MaxMessageSize"/>
        <xs:element minOccurs="0" ref="config:MaxRexmitMessageSize"/>
        <xs:element minOccurs="0" ref="config:MulticastRecvNetworkInterfaceAddresses"/>
        <xs:element minOccurs="0" ref="config:MulticastTimeToLive"/>
        <xs:element minOccurs="0" ref="config:RedundantNetworking"/>
        <xs:element minOccurs="0" ref="config:Transport"/>
        <xs:element minOccurs="0" ref="config:UseIPv6"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="delivered" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The "cost" associated with delivering to a reader. Typically negative to make delivering to more readers with a single message advantageous.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;-1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="discarded" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The "cost" of delivering another copy to a reader via a network interface. Typically positive to make delivering to the same reader twice more costly.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="mc" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The base "cost" of an (any-source) multicast.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;3&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="redundant_psmx" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The "cost" of delivering another copy to a reader via a PSMX interface. The code still mostly assumes that delivering via PSMX is free (a remnant of its origins as a shared-memory bypass).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ssm" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The base "cost" of a source-specific multicast.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="uc" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The base "cost" of a unicast.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="AllowMulticast">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls the default for the per-network interface setting whether Cyclone DDS uses multicasts for discovery and data traffic.&lt;/p&gt;
&lt;p&gt;It is a comma-separated list of some of the following keywords: "spdp", "asm", "ssm", or either of "false" or "true", or "default".&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;spdp&lt;/i&gt;: enables the use of ASM (any-source multicast) for participant discovery, joining the multicast group on the discovery socket, transmitting SPDP messages to this group, but never advertising nor using any multicast address in any discovery message, thus forcing unicast communications for all endpoint discovery and user data.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;asm&lt;/i&gt;: enables the use of ASM for all traffic, including receiving SPDP but not transmitting SPDP messages via multicast&lt;/li&gt;
&lt;li&gt;&lt;i&gt;ssm&lt;/i&gt;: enables the use of SSM (source-specific multicast) for all non-SPDP traffic (if supported)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;When set to "false" all multicasting is disabled; "true"enables the full use of multicasts. Listening for multicasts can be controlled by General/MulticastRecvNetworkInterfaceAddresses.&lt;/p&gt;
&lt;p&gt;The special value "default" maps on spdp if the network is a WiFi network, on true if it is a wired network&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:pattern value="default|((false|spdp|asm|ssm|true|default)(,(false|spdp|asm|ssm|true|default))*)"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="DontRoute" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows setting the SO_DONTROUTE option for outgoing packets to bypass the local routing tables. This is generally useful only when the routing tables cannot be trusted, which is highly unusual.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EnableMulticastLoopback" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies whether Cyclone DDS allows IP multicast packets to be visible to all DDSI participants in the same node, including itself. It must be "true" for intra-node multicast communications. However, if a node runs only a single Cyclone DDS service and does not host any other DDSI-capable programs, it should be set to "false" for improved performance.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EntityAutoNaming">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the entity autonaming mode. By default set to 'empty' which means no name will be set (but you can still use dds_qset_entity_name). When set to 'fancy' participants, publishers, subscribers, writers, and readers will get randomly generated names. An autonamed entity will share a 3-letter prefix with their parent entity.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;empty&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:restriction base="xs:anyType">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="empty"/>
              <xs:enumeration value="fancy"/>
            </xs:restriction>
          </xs:simpleType>
          <xs:attribute name="seed">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;Provide an initial seed for the entity naming. Your string will be hashed to provide the random state. When provided, the same sequence of names is generated every run. Creating your entities in the same order will ensure they are the same between runs. If you run multiple nodes, set this via environment variable to ensure every node generates unique names. A random starting seed is chosen when left empty, (the default). &lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:restriction>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="ExternalNetworkAddress" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows explicitly overruling the network address Cyclone DDS advertises in the discovery protocol, which by default is the address of the preferred network interface (General/NetworkInterfaceAddress), to allow Cyclone DDS to communicate across a Network Address Translation (NAT) device.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;auto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ExternalNetworkMask" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the network mask of the external network address. This element is relevant only when an external network address (General/ExternalNetworkAddress) is explicitly configured. In this case locators received via the discovery protocol that are within the same external subnet (as defined by this mask) will be translated to an internal address by replacing the network portion of the external address with the corresponding portion of the preferred network interface address. This option is IPv4-only.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0.0.0.0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="FragmentSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the size of DDSI sample fragments generated by Cyclone DDS. Samples larger than FragmentSize are fragmented into fragments of FragmentSize bytes each, except the last one, which may be smaller. The DDSI spec mandates a minimum fragment size of 1025 bytes, but Cyclone DDS will do whatever size is requested, accepting fragments of which the size is at least the minimum of 1025 and FragmentSize.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1344 B&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Interfaces">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the network interfaces for use by Cyclone DDS. Multiple interfaces can be specified with an assigned priority. The list in use will be sorted by priority. If interfaces have an equal priority, the specification order will be preserved.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="config:NetworkInterface"/>
        <xs:element ref="config:PubSubMessageExchange"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:element name="NetworkInterface">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element defines a network interface. You can set autodetermine="true" to autoselect the interface CycloneDDS considers the highest quality. If autodetermine="false" (the default), you must specify the name and/or address attribute. If you specify both, they must match the same interface.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AddrsetCosts">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element allows overriding the constants used in computing the address sets for a network interface. See General/AddrsetCosts for more information.&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:all>
              <xs:element minOccurs="0" ref="config:delivered"/>
              <xs:element minOccurs="0" ref="config:discarded"/>
              <xs:element minOccurs="0" ref="config:mc"/>
              <xs:element minOccurs="0" ref="config:redundant_psmx"/>
              <xs:element minOccurs="0" ref="config:ssm"/>
              <xs:element minOccurs="0" ref="config:uc"/>
            </xs:all>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="address">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the address of the interface. With ipv4 allows  matching on the network part if the host part is set to zero. &lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="allow_multicast">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This element controls whether Cyclone DDS uses multicasts for data traffic on this interface.&lt;/p&gt;
&lt;p&gt;It is a comma-separated list of some of the following keywords: "spdp", "asm", "ssm", or either of "false" or "true", or "default".&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;spdp&lt;/i&gt;: enables the use of ASM (any-source multicast) for participant discovery, joining the multicast group on the discovery socket, transmitting SPDP messages to this group, but never advertising nor using any multicast address in any discovery message, thus forcing unicast communications for all endpoint discovery and user data.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;asm&lt;/i&gt;: enables the use of ASM for all traffic, including receiving SPDP but not transmitting SPDP messages via multicast&lt;/li&gt;
&lt;li&gt;&lt;i&gt;ssm&lt;/i&gt;: enables the use of SSM (source-specific multicast) for all non-SPDP traffic (if supported)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;When set to "false" all multicasting is disabled; "true"enables the full use of multicasts. Listening for multicasts can be controlled by General/MulticastRecvNetworkInterfaceAddresses.&lt;/p&gt;
&lt;p&gt;The special value "default" takes the value from the globalGeneral/AllowMulticast setting.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="default|((false|spdp|asm|ssm|true|default)(,(false|spdp|asm|ssm|true|default))*)"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="autodetermine">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;If set to "true" an interface is automatically selected. Specifying a name or an address when automatic is set is considered an error.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="multicast">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies whether the interface should use multicast. On its default setting, 'default', it will use the value as return by the operating system. If set to 'true', the interface will be assumed to be multicast capable even when the interface flags returned by the operating system state it is not (this provides a workaround for some platforms). If set to 'false', the interface will never be used for multicast.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="name">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the name of the interface. &lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="prefer_multicast" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;When false (default), Cyclone DDS uses unicast for data whenever a single unicast suffices. Setting this to true makes it prefer multicasting data, falling back to unicast only when no multicast is available.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="presence_required" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;By default, all specified network interfaces must be present; if they are missing Cyclone will not start. By explicitly setting this setting for an interface, you can instruct Cyclone to ignore that interface if it is not present.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="priority">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the interface priority (decimal integer or &lt;i&gt;default&lt;/i&gt;). The default value for loopback interfaces is 2, for all other interfaces it is 0.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="PubSubMessageExchange">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element defines a PSMX.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="config">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies any configuration data for the PSMX instance.This has no meaning in CycloneDDS itself, and its parsing is deferred to thePSMX implementation.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="library">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the filename of the interface library. Defaults to psmx_TYPE&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="priority">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the interface priority (decimal integer or &lt;i&gt;default&lt;/i&gt;). The default value for a PSMX is 0.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the type of the interface.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="MaxMessageSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the maximum size of the UDP payload that Cyclone DDS will generate. Cyclone DDS will try to maintain this limit within the bounds of the DDSI specification, which means that in some cases (especially for very low values of MaxMessageSize) larger payloads may sporadically be observed (currently up to 1192 B).&lt;/p&gt;
&lt;p&gt;On some networks it may be necessary to set this item to keep the packetsize below the MTU to prevent IP fragmentation.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;14720 B&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxRexmitMessageSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the maximum size of the UDP payload that Cyclone DDS will generate for a retransmit. Cyclone DDS will try to maintain this limit within the bounds of the DDSI specification, which means that in some cases (especially for very low values) larger payloads may sporadically be observed (currently up to 1192 B).&lt;/p&gt;
&lt;p&gt;On some networks it may be necessary to set this item to keep the packetsize below the MTU to prevent IP fragmentation.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1456 B&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MulticastRecvNetworkInterfaceAddresses" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies which network interfaces Cyclone DDS listens to multicasts. The following options are available:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;all&lt;/i&gt;: listen for multicasts on all multicast-capable interfaces; or&lt;/li&gt;
&lt;li&gt;&lt;i&gt;any&lt;/i&gt;: listen for multicasts on the operating system default interface; or&lt;/li&gt;
&lt;li&gt;&lt;i&gt;preferred&lt;/i&gt;: listen for multicasts on the preferred interface (General/Interface/NetworkInterface with the highest priority); or&lt;/li&gt;
&lt;li&gt;&lt;i&gt;none&lt;/i&gt;: does not listen for multicasts on any interface; or&lt;/li&gt;
&lt;li&gt;a comma-separated list of network addresses: configures Cyclone DDS to listen for multicasts on all listed addresses.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If Cyclone DDS is in IPv6 mode and the address of the preferred network interface is a link-local address, "all" is treated as a synonym for "preferred" and a comma-separated list is treated as "preferred" if it contains the preferred interface and as "none" if not.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;preferred&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MulticastTimeToLive" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the time-to-live setting for outgoing multicast packets.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;32&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="RedundantNetworking" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;When enabled, use selected network interfaces in parallel for redundancy.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Transport">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows selecting the transport to be used (udp, udp6, tcp, tcp6, raweth)&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="default"/>
        <xs:enumeration value="udp"/>
        <xs:enumeration value="udp6"/>
        <xs:enumeration value="tcp"/>
        <xs:enumeration value="tcp6"/>
        <xs:enumeration value="raweth"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="UseIPv6">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Deprecated (use Transport instead)&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="false"/>
        <xs:enumeration value="true"/>
        <xs:enumeration value="default"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="Internal">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Internal elements deal with a variety of settings that are evolving and that are not necessarily fully supported. For the majority of the Internal settings the functionality is supported, but the right to change the way the options control the functionality is reserved. This includes renaming or moving options.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AccelerateRexmitBlockSize"/>
        <xs:element minOccurs="0" ref="config:AckDelay"/>
        <xs:element minOccurs="0" ref="config:AutoReschedNackDelay"/>
        <xs:element minOccurs="0" ref="config:BuiltinEndpointSet"/>
        <xs:element minOccurs="0" ref="config:BurstSize"/>
        <xs:element minOccurs="0" ref="config:ControlTopic"/>
        <xs:element minOccurs="0" ref="config:DefragReliableMaxSamples"/>
        <xs:element minOccurs="0" ref="config:DefragUnreliableMaxSamples"/>
        <xs:element minOccurs="0" ref="config:DeliveryQueueMaxSamples"/>
        <xs:element minOccurs="0" ref="config:EnableExpensiveChecks"/>
        <xs:element minOccurs="0" ref="config:ExtendedPacketInfo"/>
        <xs:element minOccurs="0" ref="config:GenerateKeyhash"/>
        <xs:element minOccurs="0" ref="config:HeartbeatInterval"/>
        <xs:element minOccurs="0" ref="config:LateAckMode"/>
        <xs:element minOccurs="0" ref="config:LivelinessMonitoring"/>
        <xs:element minOccurs="0" ref="config:MaxParticipants"/>
        <xs:element minOccurs="0" ref="config:MaxQueuedRexmitBytes"/>
        <xs:element minOccurs="0" ref="config:MaxQueuedRexmitMessages"/>
        <xs:element minOccurs="0" ref="config:MaxSampleSize"/>
        <xs:element minOccurs="0" ref="config:MeasureHbToAckLatency"/>
        <xs:element minOccurs="0" ref="config:MonitorPort"/>
        <xs:element minOccurs="0" ref="config:MultipleReceiveThreads"/>
        <xs:element minOccurs="0" ref="config:NackDelay"/>
        <xs:element minOccurs="0" ref="config:PreEmptiveAckDelay"/>
        <xs:element minOccurs="0" ref="config:PrimaryReorderMaxSamples"/>
        <xs:element minOccurs="0" ref="config:PrioritizeRetransmit"/>
        <xs:element minOccurs="0" ref="config:RediscoveryBlacklistDuration"/>
        <xs:element minOccurs="0" ref="config:RetransmitMerging"/>
        <xs:element minOccurs="0" ref="config:RetransmitMergingPeriod"/>
        <xs:element minOccurs="0" ref="config:RetryOnRejectBestEffort"/>
        <xs:element minOccurs="0" ref="config:SPDPResponseMaxDelay"/>
        <xs:element minOccurs="0" ref="config:SecondaryReorderMaxSamples"/>
        <xs:element minOccurs="0" ref="config:SocketReceiveBufferSize"/>
        <xs:element minOccurs="0" ref="config:SocketSendBufferSize"/>
        <xs:element minOccurs="0" ref="config:SquashParticipants"/>
        <xs:element minOccurs="0" ref="config:SynchronousDeliveryLatencyBound"/>
        <xs:element minOccurs="0" ref="config:SynchronousDeliveryPriorityThreshold"/>
        <xs:element minOccurs="0" ref="config:Test"/>
        <xs:element minOccurs="0" ref="config:UseMulticastIfMreqn"/>
        <xs:element minOccurs="0" ref="config:Watermarks"/>
        <xs:element minOccurs="0" ref="config:WriterLingerDuration"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AccelerateRexmitBlockSize" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Proxy readers that are assumed to still be retrieving historical data get this many samples retransmitted when they NACK something, even if some of these samples have sequence numbers outside the set covered by the NACK.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="AckDelay" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the delay between sending identical acknowledgements.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;10 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="AutoReschedNackDelay" type="config:duration_inf">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the interval with which a reader will continue NACK'ing missing samples in the absence of a response from the writer, as a protection mechanism against writers incorrectly stopping the sending of HEARTBEAT messages.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;3 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="BuiltinEndpointSet">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls which participants will have which built-in endpoints for the discovery and liveliness protocols. Valid values are:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;full&lt;/i&gt;: all participants have all endpoints;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;writers&lt;/i&gt;: all participants have the writers, but just one has the readers;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default is &lt;i&gt;writers&lt;/i&gt;, as this is thought to be compliant and reasonably efficient. &lt;i&gt;Full&lt;/i&gt; is inefficient but certain to be compliant.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;writers&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="full"/>
        <xs:enumeration value="writers"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="BurstSize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Setting for controlling the size of transmitting bursts.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:MaxFragsRexmitSample"/>
        <xs:element minOccurs="0" ref="config:MaxInitTransmit"/>
        <xs:element minOccurs="0" ref="config:MaxRexmit"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="MaxFragsRexmitSample" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls the maximum number of fragments of a sample that are retransmit in response to a NACK of the entire sample (as opposed to what is sent in response to a NACKFRAG requesting specific fragments).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxInitTransmit" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies how much more than the (presumed or discovered) receive buffer size may be sent when transmitting a sample for the first time, expressed as a percentage; the remainder will then be handled via retransmits. Usually, the receivers can keep up with the transmitter, at least on average, so generally it is better to hope for the best and recover. Besides, the retransmits will be unicast, and so any multicast advantage will be lost as well.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;4294967295&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxRexmit" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the amount of data to be retransmitted in response to one NACK.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1 MiB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ControlTopic">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The ControlTopic element allows configured whether Cyclone DDS provides a special control interface via a predefined topic or not.&lt;p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType/>
  </xs:element>
  <xs:element name="DefragReliableMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum number of samples that can be defragmented simultaneously for a reliable writer. This has to be large enough to handle retransmissions of historical data in addition to new samples.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;16&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="DefragUnreliableMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum number of samples that can be defragmented simultaneously for best-effort writers.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;4&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="DeliveryQueueMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls the maximum size of a delivery queue, expressed in samples. Once a delivery queue is full, incoming samples destined for that queue are dropped until space becomes available again.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;256&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EnableExpensiveChecks">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables expensive checks in builds with assertions enabled and is ignored otherwise. Recognised categories are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;whc&lt;/i&gt;: writer history cache checking&lt;/li&gt;
&lt;li&gt;&lt;i&gt;rhc&lt;/i&gt;: reader history cache checking&lt;/li&gt;
&lt;li&gt;&lt;i&gt;xevent&lt;/i&gt;: xevent checking&lt;/li&gt;
&lt;p&gt;In addition, there is the keyword &lt;i&gt;all&lt;/i&gt; that enables all checks.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:pattern value="((whc|rhc|xevent|all)(,(whc|rhc|xevent|all))*)|"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="ExtendedPacketInfo" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Whether to enable the IP_PKTINFO on UDP sockets to get hold of the packet destination address and interface on which it was received. This allows for better filtering on discovery packets, but comes at a small performance penalty.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="GenerateKeyhash" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;When true, include keyhashes in outgoing data for topics with keys.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="HeartbeatInterval">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows configuring the base interval for sending writer heartbeats and the bounds within which it can vary.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;100 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="config:duration_inf">
          <xs:attribute name="max" type="config:duration_inf">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This attribute sets the maximum interval for periodic heartbeats.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;8 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="min" type="config:duration_inf">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This attribute sets the minimum interval that must have passed since the most recent heartbeat from a writer, before another asynchronous (not directly related to writing) will be sent.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;5 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="minsched" type="config:duration_inf">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This attribute sets the minimum interval for periodic heartbeats. Other events may still cause heartbeats to go out.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;20 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="LateAckMode" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Ack a sample only when it has been delivered, instead of when committed to delivering it.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="LivelinessMonitoring">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether or not implementation should internally monitor its own liveliness. If liveliness monitoring is enabled, stack traces can be dumped automatically when some thread appears to have stopped making progress.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="xs:boolean">
          <xs:attribute name="Interval" type="config:duration">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This element controls the interval to check whether threads have been making progress.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="StackTraces" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This element controls whether or not to write stack traces to the DDSI2 trace when a thread fails to make progress (on select platforms only).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="MaxParticipants" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This elements configures the maximum number of DCPS domain participants this Cyclone DDS instance is willing to service. 0 is unlimited.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxQueuedRexmitBytes" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting limits the maximum number of bytes queued for retransmission. The default value of 0 is unlimited unless an AuxiliaryBandwidthLimit has been set, in which case it becomes NackDelay * AuxiliaryBandwidthLimit. It must be large enough to contain the largest sample that may need to be retransmitted.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;512 kB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxQueuedRexmitMessages" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting limits the maximum number of samples queued for retransmission.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;200&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MaxSampleSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the maximum (CDR) serialised size of samples that Cyclone DDS will forward in either direction. Samples larger than this are discarded with a warning.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2147483647 B&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MeasureHbToAckLatency" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables heartbeat-to-ack latency among Cyclone DDS services by prepending timestamps to Heartbeat and AckNack messages and calculating round trip times. This is non-standard behaviour. The measured latencies are quite noisy and are currently not used anywhere.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MonitorPort" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element allows configuring a service that dumps a text description of part the internal state to TCP clients. By default (-1), this is disabled; specifying 0 means a kernel-allocated port is used; a positive number is used as the TCP port number.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;-1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MultipleReceiveThreads">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether all traffic is handled by a single receive thread (false) or whether multiple receive threads may be used to improve latency (true). The value "default" currently maps to false because of firewalls potentially blocking the packets it sends to itself to interrupt the blocking reads during termination.&lt;/p&gt;&lt;p&gt;Currently multiple receive threads are only used for connectionless transport (e.g., UDP) and ManySocketsMode not set to single (the default).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:restriction base="xs:anyType">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="false"/>
              <xs:enumeration value="true"/>
              <xs:enumeration value="default"/>
            </xs:restriction>
          </xs:simpleType>
          <xs:attribute name="maxretries" type="xs:integer">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;Receive threads dedicated to a single socket can only be triggered for termination by sending a packet. Reception of any packet will do, so termination failure due to packet loss is exceedingly unlikely, but to eliminate all risks, it will retry as many times as specified by this attribute before aborting.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;4294967295&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:restriction>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="NackDelay" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the delay between receipt of a HEARTBEAT indicating missing samples and a NACK (ignored when the HEARTBEAT requires an answer). However, no NACK is sent if a NACK had been scheduled already for a response earlier than the delay requests: then that NACK will incorporate the latest information.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;100 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PreEmptiveAckDelay" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the delay between the discovering a remote writer and sending a pre-emptive AckNack to discover the available range of data.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;10 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PrimaryReorderMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum size in samples of a primary re-order administration. Each proxy writer has one primary re-order administration to buffer the packet flow in case some packets arrive out of order. Old samples are forwarded to secondary re-order administrations associated with readers needing historical data.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;128&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PrioritizeRetransmit" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether retransmits are prioritized over new data, speeding up recovery.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="RediscoveryBlacklistDuration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls for how long a remote participant that was previously deleted will remain on a blacklist to prevent rediscovery, giving the software on a node time to perform any cleanup actions it needs to do. To some extent this delay is required internally by Cyclone DDS, but in the default configuration with the 'enforce' attribute set to false, Cyclone DDS will reallow rediscovery as soon as it has cleared its internal administration. Setting it to too small a value may result in the entry being pruned from the blacklist before Cyclone DDS is ready, it is therefore recommended to set it to at least several seconds.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="config:duration_inf">
          <xs:attribute name="enforce" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>
&lt;p&gt;This attribute controls whether the configured time during which recently deleted participants will not be rediscovered (i.e., "black listed") is enforced and following complete removal of the participant in Cyclone DDS, or whether it can be rediscovered earlier provided all traces of that participant have been removed already.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="RetransmitMerging">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This elements controls the addressing and timing of retransmits. Possible values are:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;never&lt;/i&gt;: retransmit only to the NACK-ing reader;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;adaptive&lt;/i&gt;: attempt to combine retransmits needed for reliability, but send historical (transient-local) data to the requesting reader only;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;always&lt;/i&gt;: do not distinguish between different causes, always try to merge.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default is &lt;i&gt;never&lt;/i&gt;. See also Internal/RetransmitMergingPeriod.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;never&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="never"/>
        <xs:enumeration value="adaptive"/>
        <xs:enumeration value="always"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="RetransmitMergingPeriod" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting determines the time window size in which a NACK of some sample is ignored because a retransmit of that sample has been multicasted too recently. This setting has no effect on unicasted retransmits.&lt;/p&gt;
&lt;p&gt;See also Internal/RetransmitMerging.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;5 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="RetryOnRejectBestEffort" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Whether or not to locally retry pushing a received best-effort sample into the reader caches when resource limits are reached.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SPDPResponseMaxDelay" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Maximum pseudo-random delay in milliseconds between discovering aremote participant and responding to it.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0 ms&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SecondaryReorderMaxSamples" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum size in samples of a secondary re-order administration. The secondary re-order administration is per reader needing historical data.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;128&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SocketReceiveBufferSize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The settings in this element control the size of the socket receive buffers. The operating system provides some size receive buffer upon creation of the socket, this option can be used to increase the size of the buffer beyond that initially provided by the operating system. If the buffer size cannot be increased to the requested minimum size, an error is reported.&lt;/p&gt;
&lt;p&gt;The default setting requests a buffer size of 1MiB but accepts whatever is available after that.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="max" type="config:maybe_memsize">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This sets the size of the socket receive buffer to request, with the special value of "default" indicating that it should try to satisfy the minimum buffer size. If both are at "default", it will request 1MiB and accept anything. It is ignored if the  maximum is set to less than the minimum.&lt;/p&gt;
&lt;p&gt;An amount of memory or the keyword 'default'. The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="min" type="config:maybe_memsize">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This sets the minimum acceptable socket receive buffer size, with the special value "default" indicating that whatever is available is acceptable.&lt;/p&gt;
&lt;p&gt;An amount of memory or the keyword 'default'. The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="SocketSendBufferSize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The settings in this element control the size of the socket send buffers. The operating system provides some size send buffer upon creation of the socket, this option can be used to increase the size of the buffer beyond that initially provided by the operating system. If the buffer size cannot be increased to the requested minimum size, an error is reported.&lt;/p&gt;
&lt;p&gt;The default setting requires a buffer of at least 64KiB.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="max" type="config:maybe_memsize">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This sets the size of the socket send buffer to request, with the special value of "default" indicating that it should try to satisfy the minimum buffer size. If both are at "default", it will use whatever is the system default. It is ignored if the maximum is set to less than the minimum.&lt;/p&gt;
&lt;p&gt;An amount of memory or the keyword 'default'. The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="min" type="config:maybe_memsize">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This sets the minimum acceptable socket send buffer size, with the special value "default" indicating that whatever is available is acceptable.&lt;/p&gt;
&lt;p&gt;An amount of memory or the keyword 'default'. The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;64 KiB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="SquashParticipants" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether Cyclone DDS advertises all the domain participants it serves in DDSI (when set to &lt;i&gt;false&lt;/i&gt;), or rather only one domain participant (the one corresponding to the Cyclone DDS process; when set to &lt;i&gt;true&lt;/i&gt;). In the latter case, Cyclone DDS becomes the virtual owner of all readers and writers of all domain participants, dramatically reducing discovery traffic (a similar effect can be obtained by setting Internal/BuiltinEndpointSet to "minimal" but with less loss of information).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SynchronousDeliveryLatencyBound" type="config:duration_inf">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether samples sent by a writer with QoS settings transport_priority &gt;= SynchronousDeliveryPriorityThreshold and a latency_budget at most this element's value will be delivered synchronously from the "recv" thread, all others will be delivered asynchronously through delivery queues. This reduces latency at the expense of aggregate bandwidth.&lt;/p&gt;
&lt;p&gt;Valid values are finite durations with an explicit unit or the keyword 'inf' for infinity. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;inf&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SynchronousDeliveryPriorityThreshold" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether samples sent by a writer with QoS settings latency_budget &lt;= SynchronousDeliveryLatencyBound and transport_priority greater than or equal to this element's value will be delivered synchronously from the "recv" thread, all others will be delivered asynchronously through delivery queues. This reduces latency at the expense of aggregate bandwidth.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Test">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Testing options.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="config:XmitLossiness"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="XmitLossiness" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls the fraction of outgoing packets to drop, specified as samples per thousand.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="UseMulticastIfMreqn" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Do not use.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;0&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Watermarks">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Watermarks for flow-control.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:WhcAdaptive"/>
        <xs:element minOccurs="0" ref="config:WhcHigh"/>
        <xs:element minOccurs="0" ref="config:WhcHighInit"/>
        <xs:element minOccurs="0" ref="config:WhcLow"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="WhcAdaptive" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element controls whether Cyclone DDS will adapt the high-water mark to current traffic conditions based on retransmit requests and transmit pressure.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WhcHigh" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the maximum allowed high-water mark for the Cyclone DDS WHCs, expressed in bytes. A writer is suspended when the WHC reaches this size.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;500 kB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WhcHighInit" type="config:maybe_memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the initial level of the high-water mark for the Cyclone DDS WHCs, expressed in bytes.&lt;/p&gt;
&lt;p&gt;An amount of memory or the keyword 'default'. The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;30 kB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WhcLow" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the low-water mark for the Cyclone DDS WHCs, expressed in bytes. A suspended writer resumes transmitting when its Cyclone DDS WHC shrinks to this size.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1 kB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WriterLingerDuration" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This setting controls the maximum duration for which actual deletion of a reliable writer with unacknowledged data in its history will be postponed to provide proper reliable transmission.&lt;p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Partitioning">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Partitioning element specifies Cyclone DDS network partitions and how DCPS partition/topic combinations are mapped onto the network partitions.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:IgnoredPartitions"/>
        <xs:element minOccurs="0" ref="config:NetworkPartitions"/>
        <xs:element minOccurs="0" ref="config:PartitionMappings"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="IgnoredPartitions">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The IgnoredPartitions element specifies DCPS partition/topic combinations that are not distributed over the network.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:IgnoredPartition"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="IgnoredPartition">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element can prevent certain combinations of DCPS partition and topic from being transmitted over the network. Cyclone DDS will completely ignore readers and writers for which all DCPS partitions as well as their topic is ignored, not even creating DDSI readers and writers to mirror the DCPS ones.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="DCPSPartitionTopic" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies a partition and a topic expression, separated by a single '.', which are used to determine if a given partition and topic will be ignored or not. The expressions may use the usual wildcards '*' and '?'. Cyclone DDS will consider a wildcard DCPS partition to match an expression if a string that satisfies both expressions exists.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="NetworkPartitions">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The NetworkPartitions element specifies the Cyclone DDS network partitions.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:NetworkPartition"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="NetworkPartition">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element defines a Cyclone DDS network partition.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="Address" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the addresses associated with the network partition as a comma-separated list. The addresses are typically multicast addresses. Non-multicast addresses are allowed, provided the "Interface" attribute is not used:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;An address matching the address or the "external address" (see General/ExternalNetworkAddress; default is the actual address) of a configured interface results in adding the corresponding "external" address to the set of advertised unicast addresses.&lt;/li&gt;&lt;li&gt;An address corresponding to the (external) address of a configured interface, but not the address of the host itself, for example, a match when masking the addresses with the netmask for IPv4, results in adding the external address. For IPv4, this requires the host part to be all-zero.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Readers matching this network partition (cf. Partitioning/PartitionMappings) will advertise all addresses listed to the matching writers via the discovery protocol and will join the specified multicast groups. The writers will select the most suitable address from the addresses advertised by the readers.&lt;/p&gt;&lt;p&gt;The unicast addresses advertised by a reader are the only unicast addresses a writer will use to send data to it and are used to select the subset of network interfaces to use for transmitting multicast data with the intent of reaching it.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Interface">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute takes a comma-separated list of interface name that the reader is willing to receive data on. This is implemented by adding the interface addresses to the set address set configured using the sibling "Address" attribute. See there for more details.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="Name" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies the name of this Cyclone DDS network partition. Two network partitions cannot have the same name. Partition mappings (cf. Partitioning/PartitionMappings) refer to network partitions using these names.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="PartitionMappings">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The PartitionMappings element specifies the mapping from DCPS partition/topic combinations to Cyclone DDS network partitions.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:PartitionMapping"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PartitionMapping">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element defines a mapping from a DCPS partition/topic combination to a Cyclone DDS network partition. This allows partitioning data flows by using special multicast addresses for part of the data and possibly encrypting the data flow.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="DCPSPartitionTopic" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies a partition and a topic expression, separated by a single '.', which are used to determine if a given partition and topic maps to the Cyclone DDS network partition named by the NetworkPartition attribute in this PartitionMapping element. The expressions may use the usual wildcards '*' and '?'. Cyclone DDS will consider a wildcard DCPS partition to match an expression if there exists a string that satisfies both expressions.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="NetworkPartition" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;This attribute specifies which Cyclone DDS network partition is to be used for DCPS partition/topic combinations matching the DCPSPartitionTopic attribute within this PartitionMapping element.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="SSL">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The SSL element allows specifying various parameters related to using SSL/TLS for DDSI over TCP.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:CertificateVerification"/>
        <xs:element minOccurs="0" ref="config:Ciphers"/>
        <xs:element minOccurs="0" name="Enable" type="xs:boolean">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This enables SSL/TLS for TCP.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" ref="config:EntropyFile"/>
        <xs:element minOccurs="0" ref="config:KeyPassphrase"/>
        <xs:element minOccurs="0" ref="config:KeystoreFile"/>
        <xs:element minOccurs="0" ref="config:MinimumTLSVersion"/>
        <xs:element minOccurs="0" ref="config:SelfSignedCertificates"/>
        <xs:element minOccurs="0" ref="config:VerifyClient"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="CertificateVerification" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;If disabled this allows SSL connections to occur even if an X509 certificate fails verification.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Ciphers" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The set of ciphers used by SSL/TLS&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="EntropyFile" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The SSL/TLS random entropy file name.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="KeyPassphrase" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The SSL/TLS key pass phrase for encrypted keys.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;secret&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="KeystoreFile" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The SSL/TLS key and certificate store file name. The keystore must be in PEM format.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;keystore&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="MinimumTLSVersion" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The minimum TLS version that may be negotiated, valid values are 1.2 and 1.3.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1.3&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="SelfSignedCertificates" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This enables the use of self signed X509 certificates.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="VerifyClient" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This enables an SSL server to check the X509 certificate of a connecting client.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Security">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element is used to configure Cyclone DDS with the DDS Security specification plugins and settings.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AccessControl"/>
        <xs:element minOccurs="0" ref="config:Authentication"/>
        <xs:element minOccurs="0" ref="config:Cryptographic"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AccessControl">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the Access Control plugin of the DDS Security specification.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Governance"/>
        <xs:element minOccurs="0" name="Library">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element specifies the library to be loaded as the DDS Security Access Control plugin.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="finalizeFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the finalization function of Access Control plugin. This function is called to let the plugin release its resources.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;finalize_access_control&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="initFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the initialization function of Access Control plugin. This function is called after loading the plugin library for instantiation purposes. The Init function must return an object that implements the DDS Security Access Control interface.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;init_access_control&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="path">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element points to the path of Access Control plugin library.&lt;/p&gt;
&lt;p&gt;It can be either absolute path excluding file extension ( /usr/lib/dds_security_ac ) or single file without extension ( dds_security_ac ).&lt;/p&gt;
&lt;p&gt;If a single file is supplied, the library is located by the current working directory, or LD_LIBRARY_PATH for Unix systems, and PATH for Windows systems.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;dds_security_ac&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" ref="config:Permissions"/>
        <xs:element minOccurs="0" ref="config:PermissionsCA"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="Governance" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to the shared Governance Document signed by the Permissions CA in S/MIME format&lt;/p&gt;
&lt;p&gt;URI schemes: file, data&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Examples file URIs:&lt;/p&gt;
&lt;p&gt;&lt;Governance&gt;file:governance.smime&lt;/Governance&gt;&lt;/p&gt;
&lt;p&gt;&lt;Governance&gt;file:/home/myuser/governance.smime&lt;/Governance&gt;&lt;/p&gt;&lt;br&gt;
&lt;p&gt;&lt;Governance&gt;&lt;![CDATA[data:,MIME-Version: 1.0&lt;/p&gt;
&lt;p&gt;Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-256"; boundary="----F9A8A198D6F08E1285A292ADF14DD04F"&lt;/p&gt;
&lt;p&gt;This is an S/MIME signed message &lt;/p&gt;
&lt;p&gt;------F9A8A198D6F08E1285A292ADF14DD04F&lt;/p&gt;
&lt;p&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;/p&gt;
&lt;p&gt;&lt;dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&lt;/p&gt;
&lt;p&gt;xsi:noNamespaceSchemaLocation="omg_shared_ca_governance.xsd"&gt;&lt;/p&gt;
&lt;p&gt;&lt;domain_access_rules&gt;&lt;/p&gt;
&lt;p&gt; . . . &lt;/p&gt;
&lt;p&gt;&lt;/domain_access_rules&gt;&lt;/p&gt;
&lt;p&gt;&lt;/dds&gt;&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;------F9A8A198D6F08E1285A292ADF14DD04F&lt;/p&gt;
&lt;p&gt;Content-Type: application/x-pkcs7-signature; name="smime.p7s"&lt;/p&gt;
&lt;p&gt;Content-Transfer-Encoding: base64&lt;/p&gt;
&lt;p&gt;Content-Disposition: attachment; filename="smime.p7s"&lt;/p&gt;
&lt;p&gt;MIIDuAYJKoZIhv ...al5s=&lt;/p&gt;
&lt;p&gt;------F9A8A198D6F08E1285A292ADF14DD04F-]]&lt;/Governance&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Permissions" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to the DomainParticipant permissions document signed by the Permissions CA in S/MIME format&lt;/p&gt;
&lt;p&gt;The permissions document specifies the permissions to be applied to a domain.&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Example file URIs:&lt;/p&gt;
&lt;p&gt;&lt;Permissions&gt;file:permissions_document.p7s&lt;/Permissions&gt;&lt;/p&gt;
&lt;p&gt;&lt;Permissions&gt;file:/path_to/permissions_document.p7s&lt;/Permissions&gt;&lt;/p&gt;
&lt;p&gt;Example data URI:&lt;/p&gt;
&lt;p&gt;&lt;Permissions&gt;&lt;![CDATA[data:,.........]]&lt;/Permissions&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PermissionsCA" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to an X509 certificate for the PermissionsCA in PEM format.&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;The file and data schemas shall refer to a X.509 v3 certificate (see X.509 v3 ITU-T Recommendation X.509 (2005) [39]) in PEM format.&lt;/p&gt;&lt;br&gt;
&lt;p&gt;Examples:&lt;/p&gt;&lt;br&gt;
&lt;p&gt;&lt;PermissionsCA&gt;file:permissions_ca.pem&lt;/PermissionsCA&gt;&lt;/p&gt;
&lt;p&gt;&lt;PermissionsCA&gt;file:/home/myuser/permissions_ca.pem&lt;/PermissionsCA&gt;&lt;/p&gt;&lt;br&gt;
&lt;p&gt;&lt;PermissionsCA&gt;data:&lt;strong&gt;,&lt;/strong&gt;-----BEGIN CERTIFICATE-----&lt;/p&gt;
&lt;p&gt;MIIC3DCCAcQCCQCWE5x+Z ... PhovK0mp2ohhRLYI0ZiyYQ==&lt;/p&gt;
&lt;p&gt;-----END CERTIFICATE-----&lt;/PermissionsCA&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Authentication">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the Authentication plugin of the DDS Security specification.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:CRL"/>
        <xs:element ref="config:IdentityCA"/>
        <xs:element ref="config:IdentityCertificate"/>
        <xs:element minOccurs="0" ref="config:IncludeOptionalFields"/>
        <xs:element minOccurs="0" name="Library">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element specifies the library to be loaded as the DDS Security Access Control plugin.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="finalizeFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the finalization function of the Authentication plugin. This function is called to let the plugin release its resources.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;finalize_authentication&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="initFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the initialization function of the Authentication plugin. This function is called after loading the plugin library for instantiation purposes. The Init function must return an object that implements the DDS Security Authentication interface.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;init_authentication&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="path">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element points to the path of the Authentication plugin library.&lt;/p&gt;
&lt;p&gt;It can be either absolute path excluding file extension ( /usr/lib/dds_security_auth ) or single file without extension ( dds_security_auth ).&lt;/p&gt;
&lt;p&gt;If a single file is supplied, the library is located by the current working directory, or LD_LIBRARY_PATH for Unix systems, and PATH for Windows systems.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;dds_security_auth&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
        <xs:element minOccurs="0" ref="config:Password"/>
        <xs:element ref="config:PrivateKey"/>
        <xs:element minOccurs="0" ref="config:TrustedCADirectory"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="CRL" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Optional URI to load an X509 Certificate Revocation List&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;CRL&gt;file:crl.pem&lt;/CRL&gt;&lt;/p&gt;
&lt;p&gt;&lt;CRL&gt;data:,-----BEGIN X509 CRL-----&lt;br&gt;
MIIEpAIBAAKCAQEA3HIh...AOBaaqSV37XBUJg=&lt;br&gt;
-----END X509 CRL-----&lt;/CRL&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="IdentityCA" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to the X509 certificate [39] of the Identity CA that is the signer of Identity Certificate.&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;The file and data schemas shall refer to a X.509 v3 certificate (see X.509 v3 ITU-T Recommendation X.509 (2005) [39]) in PEM format.&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;IdentityCA&gt;file:identity_ca.pem&lt;/IdentityCA&gt;&lt;/p&gt;
&lt;p&gt;&lt;IdentityCA&gt;data:,-----BEGIN CERTIFICATE-----&lt;br&gt;
MIIC3DCCAcQCCQCWE5x+Z...PhovK0mp2ohhRLYI0ZiyYQ==&lt;br&gt;
-----END CERTIFICATE-----&lt;/IdentityCA&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="IdentityCertificate" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;An identity certificate will identify all participants in the OSPL instance.&lt;br&gt;The content is URI to an X509 certificate signed by the IdentityCA in PEM format containing the signed public key.&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;IdentityCertificate&gt;file:participant1_identity_cert.pem&lt;/IdentityCertificate&gt;&lt;/p&gt;
&lt;p&gt;&lt;IdentityCertificate&gt;data:,-----BEGIN CERTIFICATE-----&lt;br&gt;
MIIDjjCCAnYCCQDCEu9...6rmT87dhTo=&lt;br&gt;
-----END CERTIFICATE-----&lt;/IdentityCertificate&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="IncludeOptionalFields" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The authentication handshake tokens may contain optional fields to be included for finding interoperability problems. If this parameter is set to true the optional fields are included in the handshake token exchange.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Password" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;A password is used to decrypt the private_key.&lt;/p&gt;
&lt;p&gt;The value of the password property shall be interpreted as the Base64 encoding of the AES-128 key that shall be used to decrypt the private_key using AES128-CBC.&lt;/p&gt;
&lt;p&gt;If the password property is not present, then the value supplied in the private_key property must contain the unencrypted private key.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PrivateKey" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;URI to access the private Private Key for all of the participants in the OSPL federation.&lt;/p&gt;
&lt;p&gt;Supported URI schemes: file, data&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;&lt;PrivateKey&gt;file:identity_ca_private_key.pem&lt;/PrivateKey&gt;&lt;/p&gt;
&lt;p&gt;&lt;PrivateKey&gt;data:,-----BEGIN RSA PRIVATE KEY-----&lt;br&gt;
MIIEpAIBAAKCAQEA3HIh...AOBaaqSV37XBUJg==&lt;br&gt;
-----END RSA PRIVATE KEY-----&lt;/PrivateKey&gt;&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="TrustedCADirectory" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Trusted CA Directory which contains trusted CA certificates as separated files.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Cryptographic">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the Cryptographic plugin of the DDS Security specification.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Library">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element specifies the library to be loaded as the DDS Security Cryptographic plugin.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="finalizeFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the finalization function of the Cryptographic plugin. This function is called to let the plugin release its resources.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;finalize_crypto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="initFunction">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element names the initialization function of the Cryptographic plugin. This function is called after loading the plugin library for instantiation purposes. The Init function must return an object that implements the DDS Security Cryptographic interface.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;init_crypto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attribute name="path">
              <xs:annotation>
                <xs:documentation>
&lt;p&gt;This element points to the path of the Cryptographic plugin library.&lt;/p&gt;
&lt;p&gt;It can be either absolute path excluding file extension ( /usr/lib/dds_security_crypto ) or single file without extension ( dds_security_crypto ).&lt;/p&gt;
&lt;p&gt;If a single file is supplied, the is library located by the current working directory, or LD_LIBRARY_PATH for Unix systems, and PATH for Windows systems.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;dds_security_crypto&lt;/code&gt;&lt;/p&gt;</xs:documentation>
              </xs:annotation>
            </xs:attribute>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SharedMemory">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Shared Memory element allows specifying various parameters related to using shared memory.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType/>
  </xs:element>
  <xs:element name="Sizing">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Sizing element allows you to specify various configuration settings dealing with expected system sizes, buffer sizes, &amp;c.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:ReceiveBufferChunkSize"/>
        <xs:element minOccurs="0" ref="config:ReceiveBufferSize"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReceiveBufferChunkSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the size of one allocation unit in the receive buffer. It must be greater than the maximum packet size by a modest amount (too large packets are dropped). Each allocation is shrunk immediately after processing a message or freed straightaway.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;128 KiB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ReceiveBufferSize" type="config:memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element sets the size of a single receive buffer. Many receive buffers may be needed. The minimum workable size is a little larger than Sizing/ReceiveBufferChunkSize, and the value used is taken as the configured value and the actual minimum workable size.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;1 MiB&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="TCP">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The TCP element allows you to specify various parameters related to running DDSI over TCP.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AlwaysUsePeeraddrForUnicast"/>
        <xs:element minOccurs="0" name="Enable">
          <xs:annotation>
            <xs:documentation>
&lt;p&gt;This element enables the optional TCP transport - deprecated, use General/Transport instead.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
          </xs:annotation>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="false"/>
              <xs:enumeration value="true"/>
              <xs:enumeration value="default"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element minOccurs="0" ref="config:NoDelay"/>
        <xs:element minOccurs="0" ref="config:Port"/>
        <xs:element minOccurs="0" ref="config:ReadTimeout"/>
        <xs:element minOccurs="0" ref="config:WriteTimeout"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AlwaysUsePeeraddrForUnicast" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;Setting this to true means the unicast addresses in SPDP packets will be ignored, and the peer address from the TCP connection will be used instead. This may help work around incorrectly advertised addresses when using TCP.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="NoDelay" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables the TCP_NODELAY socket option, preventing multiple DDSI messages from being sent in the same TCP request. Setting this option typically optimises latency over throughput.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;true&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Port" type="xs:integer">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the TCP port number on which Cyclone DDS accepts connections. If the port is set, it is used in entity locators, published with DDSI discovery, dynamically allocated if zero, and disabled if -1 or not configured. If disabled other DDSI services will not be able to establish connections with the service, the service can only communicate by establishing connections to other services.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;-1&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ReadTimeout" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the timeout for blocking TCP read operations. If this timeout expires then the connection is closed.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="WriteTimeout" type="config:duration">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the timeout for blocking TCP write operations. If this timeout expires then the connection is closed.&lt;/p&gt;
&lt;p&gt;The unit must be specified explicitly. Recognised units: ns, us, ms, s, min, hr, day.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;2 s&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Threads">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element is used to set thread properties.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="config:Thread"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Thread">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element is used to set thread properties.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Scheduling"/>
        <xs:element minOccurs="0" ref="config:StackSize"/>
      </xs:all>
      <xs:attribute name="Name" use="required">
        <xs:annotation>
          <xs:documentation>
&lt;p&gt;The Name of the thread for which properties are being set. The following threads exist:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;gc&lt;/i&gt;: garbage collector thread involved in deleting entities;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;recv&lt;/i&gt;: receive thread, taking data from the network and running the protocol state machine;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;dq.builtins&lt;/i&gt;: delivery thread for DDSI-builtin data, primarily for discovery;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;lease&lt;/i&gt;: DDSI liveliness monitoring;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;tev&lt;/i&gt;: general timed-event handling, retransmits and discovery;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;fsm&lt;/i&gt;: finite state machine thread for handling security handshake;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;xmit.CHAN&lt;/i&gt;: transmit thread for channel CHAN;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;dq.CHAN&lt;/i&gt;: delivery thread for channel CHAN;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;tev.CHAN&lt;/i&gt;: timed-event thread for channel CHAN.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="Scheduling">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the scheduling properties of the thread.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:Affinity"/>
        <xs:element minOccurs="0" ref="config:Class"/>
        <xs:element minOccurs="0" ref="config:Priority"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="Affinity" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the thread affinity using a string of comma-separated unsigned 32-bit integers. The notional meaning of the string is that it lists the IDs of the CPU cores to use, but some platforms may use a different mapping. Ignored if unsupported by the platform.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Class">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the thread scheduling class (&lt;i&gt;realtime&lt;/i&gt;, &lt;i&gt;timeshare&lt;/i&gt; or &lt;i&gt;default&lt;/i&gt;). The user may need special privileges from the underlying operating system to be able to assign some of the privileged scheduling classes.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="realtime"/>
        <xs:enumeration value="timeshare"/>
        <xs:enumeration value="default"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="Priority" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element specifies the thread priority (decimal integer or &lt;i&gt;default&lt;/i&gt;). Only priorities supported by the underlying operating system can be assigned to this element. The user may need special privileges from the underlying operating system to be able to assign some of the privileged priorities.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="StackSize" type="config:maybe_memsize">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element configures the stack size for this thread. The default value &lt;i&gt;default&lt;/i&gt; leaves the stack size at the operating system default.&lt;/p&gt;
&lt;p&gt;An amount of memory or the keyword 'default'. The unit must be specified explicitly. Recognised units: B (bytes), kB &amp; KiB (2&lt;sup&gt;10&lt;/sup&gt; bytes), MB &amp; MiB (2&lt;sup&gt;20&lt;/sup&gt; bytes), GB &amp; GiB (2&lt;sup&gt;30&lt;/sup&gt; bytes).&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;default&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Tracing">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;The Tracing element controls the amount and type of information that is written into the tracing log by the DDSI service. This is useful to track the DDSI service during application development.&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:all>
        <xs:element minOccurs="0" ref="config:AppendToFile"/>
        <xs:element minOccurs="0" ref="config:Category"/>
        <xs:element minOccurs="0" ref="config:OutputFile"/>
        <xs:element minOccurs="0" ref="config:PacketCaptureFile"/>
        <xs:element minOccurs="0" ref="config:Verbosity"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
  <xs:element name="AppendToFile" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option specifies whether the output should be appended to an existing log file. The default is to create a new log file each time, which is generally the best option if a detailed log is generated.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;false&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Category">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables individual logging categories. These are enabled in addition to those enabled by Tracing/Verbosity. Recognised categories are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;fatal&lt;/i&gt;: all fatal errors, errors causing immediate termination&lt;/li&gt;
&lt;li&gt;&lt;i&gt;error&lt;/i&gt;: failures probably impacting correctness but not necessarily causing immediate termination&lt;/li&gt;
&lt;li&gt;&lt;i&gt;warning&lt;/i&gt;: abnormal situations that will likely not impact correctness&lt;/li&gt;
&lt;li&gt;&lt;i&gt;config&lt;/i&gt;: full dump of the configuration&lt;/li&gt;
&lt;li&gt;&lt;i&gt;info&lt;/i&gt;: general informational notices&lt;/li&gt;
&lt;li&gt;&lt;i&gt;discovery&lt;/i&gt;: all discovery activity&lt;/li&gt;
&lt;li&gt;&lt;i&gt;data&lt;/i&gt;: include data content of samples in traces&lt;/li&gt;
&lt;li&gt;&lt;i&gt;radmin&lt;/i&gt;: receive buffer administration&lt;/li&gt;
&lt;li&gt;&lt;i&gt;timing&lt;/i&gt;: periodic reporting of CPU loads per thread&lt;/li&gt;
&lt;li&gt;&lt;i&gt;traffic&lt;/i&gt;: periodic reporting of total outgoing data&lt;/li&gt;
&lt;li&gt;&lt;i&gt;throttle&lt;/i&gt;: tracing of throttling events&lt;/li&gt;
&lt;li&gt;&lt;i&gt;whc&lt;/i&gt;: tracing of writer history cache changes&lt;/li&gt;
&lt;li&gt;&lt;i&gt;rhc&lt;/i&gt;: tracing of reader history cache changes&lt;/li&gt;
&lt;li&gt;&lt;i&gt;tcp&lt;/i&gt;: tracing of TCP-specific activity&lt;/li&gt;
&lt;li&gt;&lt;i&gt;topic&lt;/i&gt;: tracing of topic definitions&lt;/li&gt;
&lt;li&gt;&lt;i&gt;plist&lt;/i&gt;: tracing of discovery parameter list interpretation&lt;/li&gt;
&lt;li&gt;&lt;i&gt;content&lt;/i&gt;: tracing of sample contents&lt;/li&gt;
&lt;li&gt;&lt;i&gt;malformed&lt;/i&gt;: dump malformed full packet as warning&lt;/li&gt;
&lt;li&gt;&lt;i&gt;user&lt;/i&gt;: all user-defined tracing categories&lt;/li&gt;
&lt;li&gt;&lt;i&gt;user1&lt;/i&gt;: user-defined tracing category 1&lt;/li&gt;
&lt;li&gt;&lt;i&gt;user2&lt;/i&gt;: user-defined tracing category 2&lt;/li&gt;
&lt;li&gt;&lt;i&gt;user3&lt;/i&gt;: user-defined tracing category 3&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In addition, there is the keyword &lt;i&gt;trace&lt;/i&gt; that enables: &lt;i&gt;fatal&lt;/i&gt;, &lt;i&gt;error&lt;/i&gt;, &lt;i&gt;warning&lt;/i&gt;, &lt;i&gt;info&lt;/i&gt;, &lt;i&gt;config&lt;/i&gt;, &lt;i&gt;discovery&lt;/i&gt;, &lt;i&gt;data&lt;/i&gt;, &lt;i&gt;trace&lt;/i&gt;, &lt;i&gt;timing&lt;/i&gt;, &lt;i&gt;traffic&lt;/i&gt;, &lt;i&gt;tcp&lt;/i&gt;, &lt;i&gt;throttle&lt;/i&gt;, &lt;i&gt;content&lt;/i&gt;.&lt;/p&gt;.
&lt;p&gt;The categorisation of tracing output is incomplete and hence most of the verbosity levels and categories are not of much use in the current release. This is an ongoing process and here we describe the target situation rather than the current situation. Currently, the most useful is &lt;i&gt;trace&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:pattern value="((fatal|error|warning|info|config|discovery|data|radmin|timing|traffic|topic|tcp|plist|whc|throttle|rhc|content|malformed|trace|user|user1|user2|user3)(,(fatal|error|warning|info|config|discovery|data|radmin|timing|traffic|topic|tcp|plist|whc|throttle|rhc|content|malformed|trace|user|user1|user2|user3))*)|"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:element name="OutputFile" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option specifies where the logging is printed to. Note that &lt;i&gt;stdout&lt;/i&gt; and &lt;i&gt;stderr&lt;/i&gt; are treated as special values, representing "standard out" and "standard error" respectively. No file is created unless logging categories are enabled using the Tracing/Verbosity or Tracing/EnabledCategory settings.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;cyclonedds.log&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="PacketCaptureFile" type="xs:string">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This option specifies the file to which received and sent packets will be logged in the "pcap" format suitable for analysis using common networking tools, such as WireShark. IP and UDP headers are fictitious, in particular the destination address of received packets. The TTL may be used to distinguish between sent and received packets: it is 255 for sent packets and 128 for received ones. Currently IPv4 only.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;&amp;lt;empty&amp;gt;&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Verbosity">
    <xs:annotation>
      <xs:documentation>
&lt;p&gt;This element enables standard groups of categories, based on a desired verbosity level. This is in addition to the categories enabled by the Tracing/Category setting. Recognised verbosity levels and the categories they map to are:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;i&gt;none&lt;/i&gt;: no Cyclone DDS log&lt;/li&gt;
&lt;li&gt;&lt;i&gt;severe&lt;/i&gt;: error and fatal&lt;/li&gt;
&lt;li&gt;&lt;i&gt;warning&lt;/i&gt;: &lt;i&gt;severe&lt;/i&gt; + warning&lt;/li&gt;
&lt;li&gt;&lt;i&gt;info&lt;/i&gt;: &lt;i&gt;warning&lt;/i&gt; + info&lt;/li&gt;
&lt;li&gt;&lt;i&gt;config&lt;/i&gt;: &lt;i&gt;info&lt;/i&gt; + config&lt;/li&gt;
&lt;li&gt;&lt;i&gt;fine&lt;/i&gt;: &lt;i&gt;config&lt;/i&gt; + discovery&lt;/li&gt;
&lt;li&gt;&lt;i&gt;finer&lt;/i&gt;: &lt;i&gt;fine&lt;/i&gt; + traffic and timing&lt;/li&gt;
&lt;li&gt;&lt;i&gt;finest&lt;/i&gt;: &lt;i&gt;finer&lt;/i&gt; + trace&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;While &lt;i&gt;none&lt;/i&gt; prevents any message from being written to a DDSI2 log file.&lt;/p&gt;
&lt;p&gt;The categorisation of tracing output is incomplete and hence most of the verbosity levels and categories are not of much use in the current release. This is an ongoing process and here we describe the target situation rather than the current situation. Currently, the most useful verbosity levels are &lt;i&gt;config&lt;/i&gt;, &lt;i&gt;fine&lt;/i&gt; and &lt;i&gt;finest&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;The default value is: &lt;code&gt;none&lt;/code&gt;&lt;/p&gt;</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="finest"/>
        <xs:enumeration value="finer"/>
        <xs:enumeration value="fine"/>
        <xs:enumeration value="config"/>
        <xs:enumeration value="info"/>
        <xs:enumeration value="warning"/>
        <xs:enumeration value="severe"/>
        <xs:enumeration value="none"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:simpleType name="bandwidth">
    <xs:restriction base="xs:token">
      <xs:pattern value="0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([kMG]i?)?[Bb][p/]s"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="duration">
    <xs:restriction base="xs:token">
      <xs:pattern value="0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([num]?s|min|hr|day)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="duration_inf">
    <xs:restriction base="xs:token">
      <xs:pattern value="inf|0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([num]?s|min|hr|day)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="maybe_duration">
    <xs:restriction base="xs:token">
      <xs:pattern value="default|0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([num]?s|min|hr|day)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="maybe_duration_inf">
    <xs:restriction base="xs:token">
      <xs:pattern value="default|inf|0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([num]?s|min|hr|day)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="memsize">
    <xs:restriction base="xs:token">
      <xs:pattern value="0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([kMG]i?)?B"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="maybe_memsize">
    <xs:restriction base="xs:token">
      <xs:pattern value="default|0|(\d+(\.\d*)?([Ee][\-+]?\d+)?|\.\d+([Ee][\-+]?\d+)?) *([kMG]i?)?B"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>
<!--- generated from ddsi_config.h[a96f2afb055d694037710e101e4431ceee2c7c94] -->
<!--- generated from ddsi_config.c[9fb9ace4394a1b7d50f4e0fa3905bbba2a183e36] -->
<!--- generated from ddsi__cfgelems.h[5137766e3f48f57c05c3745cc2a2380bf7af82cc] -->
<!--- generated from cfgunits.h[05f093223fce107d24dd157ebaafa351dc9df752] -->
<!--- generated from _confgen.h[bb9a0fc6ef1f7f7c46790ee00132e340e5fff36d] -->
<!--- generated from _confgen.c[0d833a6f2c98902f1249e63aed03a6164f0791d6] -->
<!--- generated from generate_rnc.c[b50e4b7ab1d04b2bc1d361a0811247c337b74934] -->
<!--- generated from generate_md.c[789b92e422631684352909cfb8bf43f6ceb16a01] -->
<!--- generated from generate_rst.c[3c4b523fbb57c8e4a7e247379d06a8021ccc21c4] -->
<!--- generated from generate_xsd.c[9bb91084fff7495aee9c025db3108549a0141957] -->
<!--- generated from generate_defconfig.c[02afff6935d72b7f04dc64c8a649b09f9f6143ac] -->