/usr/share/arc/schema/tcp.xsd is in libarccommon3v5 5.0.5-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.nordugrid.org/schemas/tcp/2009/08"
xmlns="http://www.nordugrid.org/schemas/tcp/2009/08"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<!-- Listen -->
<xsd:element name="Listen">
<xsd:complexType>
<xsd:annotation>
<xsd:documentation xml:lang="en">
This element defines listening TCP socket. If interface is missing socket is bound to all local interfaces (not supported). There may be multiple Listen elements.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Interface" type="xsd:string" minOccurs="0" maxOccurs="1" default="0.0.0.0">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Listen network interface.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Port" type="xsd:int">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Listen network port.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Version" minOccurs="0" maxOccurs="1">
<xsd:simpleType>
<xsd:annotation>
<xsd:documentation xml:lang="en">
This element defines TCP/IP protocol version.
If not specified both versions will be used whenether possible.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="4"/>
<xsd:enumeration value="6"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="NoDelay" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="false">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Apply no delay socket option. If set to true TCP packets will
be proceesd as soon as possible without waiting for more data
to become available.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Timeout" type="xsd:int" minOccurs="0" maxOccurs="1" default="60">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Timeout for socket level operations
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="AllAddresses" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="true">
<xsd:annotation>
<xsd:documentation xml:lang="en">
If set to true and MCC fails to bind all addresses of specified interface
then such situation is considered failure. In case value set to false
it is enough to bind at least one address of interface.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- Connect -->
<xsd:element name="Connect">
<xsd:complexType>
<xsd:annotation>
<xsd:documentation xml:lang="en">
This element defines TCP connection to be established to specified Host at specified Port. If LocalPort is defined TCP socket will be bound to this port number (not supported).
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Host" type="xsd:string"/>
<xsd:element name="Port" type="xsd:int"/>
<xsd:element name="Timeout" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Limit">
<xsd:complexType>
<xsd:annotation>
<xsd:documentation xml:lang="en">
This element defines upper limit for number of simultaneous
active TCP connections. Only positive numbers are meaningful.
If attribute "drop" is specified and is set to true then
connections over specified limit will be dropped. Otherwise
they will be put on hold.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:int">
<xsd:attribute name="drop" type="xsd:boolean" use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>
|