diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-08-03 10:53:46 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-08-03 10:53:46 +0000 |
commit | 4d9609213834ebae6e19d4e611855a980bd3b9e5 (patch) | |
tree | 144b9118bbce4d74220a628f3aa1e2e702eee06f | |
parent | 5e98df6589599da6a3db91c8a3aaac55b9bb2dd7 (diff) |
Split Tube_Address_Type_IPv4 and IPv6 apart; represent the address as a byte-array
-rw-r--r-- | spec/Channel_Type_Tubes.xml | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/spec/Channel_Type_Tubes.xml b/spec/Channel_Type_Tubes.xml index dd1398bb..119454e1 100644 --- a/spec/Channel_Type_Tubes.xml +++ b/spec/Channel_Type_Tubes.xml @@ -105,15 +105,23 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. </tp:docstring> </tp:enumvalue> - <tp:enumvalue suffix="IP" value="2"> + <tp:enumvalue suffix="IPv4" value="2"> <tp:docstring> - An IPv4 or IPv6 socket. The address is a struct with signature (sq) - in which the string is either a dotted-quad IPv4 address literal, - an IPv6 address literal in the conventional format recommended by - RFC2373, or a hostname, while the 16-bit unsigned integer is the port + An IPv4 socket. The variant contains a struct with signature (ayq) + in which the byte-array is 4 bytes long and contains the address + in network byte order, while the 16-bit unsigned integer is the port number. </tp:docstring> </tp:enumvalue> + + <tp:enumvalue suffix="IPv6" value="3"> + <tp:docstring> + An IPv6 socket. The variant contains a struct with signature (ayq) + in which the byte-array is 16 bytes long and contains the address, + while the 16-bit unsigned integer is the port number. + </tp:docstring> + </tp:enumvalue> + </tp:enum> <method name="GetAvailableTubeTypes"> |