From 67ffc483c80d29334c6c7739bcf1be756f374dfb Mon Sep 17 00:00:00 2001
From: Anders Svensson
Date: Tue, 20 Nov 2012 13:11:19 +0100
Subject: Add content to diameter_codec(3) and diameter_make(3)
---
lib/diameter/doc/src/diameter_tcp.xml | 44 +++++++++++++++++++++--------------
1 file changed, 26 insertions(+), 18 deletions(-)
(limited to 'lib/diameter/doc/src/diameter_tcp.xml')
diff --git a/lib/diameter/doc/src/diameter_tcp.xml b/lib/diameter/doc/src/diameter_tcp.xml
index be8a938115..901fce32c3 100644
--- a/lib/diameter/doc/src/diameter_tcp.xml
+++ b/lib/diameter/doc/src/diameter_tcp.xml
@@ -1,5 +1,22 @@
gen_tcp:connect/3'>
+ gen_tcp:listen/2'>
+ inet:ip_address()'>
+ ssl:connect/2'>
+ ssl:connect/3'>
+ ssl:ssl_accept/2'>
+ ssl:listen/2'>
+ gen_tcp(3)'>
+ inet(3)'>
+ ssl(3)'>
%also;
@@ -43,8 +60,7 @@ under the License.
-This module implements diameter transport over TCP using gen_tcp.
+This module implements diameter transport over TCP using &gen_tcp;.
It can be specified as the value of a transport_module option to
&mod_add_transport;
and implements the behaviour documented in
@@ -74,9 +90,9 @@ before configuring TLS capability on diameter transports.
Svc = #diameter_service{}
Opt = OwnOpt | SslOpt | TcpOpt
Pid = pid()
-LAddr = inet:ip_address()
+LAddr = &ip_address;
Reason = term()
-OwnOpt = {raddr, inet:ip_address()}
+OwnOpt = {raddr, &ip_address;}
| {rport, integer()}
| {port, integer()}
SslOpt = {ssl_options, true | list()}
@@ -95,16 +111,12 @@ transport.
Option ssl_options must be specified for a transport
that should support TLS: a value of true results in a
TLS handshake immediately upon connection establishment while
-list() specifies options to be passed to ssl:connect/2 or
-ssl:ssl_accept/2
+list() specifies options to be passed to &ssl_connect2; or
+&ssl_accept2;
after capabilities exchange if TLS is negotiated.
-Remaining options are any accepted by ssl:connect/3 or gen_tcp:connect/3 for
-a connecting transport, or ssl:listen/2 or gen_tcp:listen/2 for
+Remaining options are any accepted by &ssl_connect3; or
+&gen_tcp_connect3; for
+a connecting transport, or &ssl_listen2; or &gen_tcp_listen2; for
a listening transport, depending on whether or not {ssl_options, true}
has been specified.
Options binary,
@@ -150,11 +162,7 @@ The returned local address list has length one.
SEE ALSO
-&man_main;,
-&man_transport;,
-gen_tcp(3),
-inet(3),
-ssl(3)
+&man_main;, &man_transport;, &gen_tcp;, &inet;, &ssl;
--
cgit v1.2.3
From 2810e848c24d93b2292a08f2df0293166cf32ee6 Mon Sep 17 00:00:00 2001
From: Anders Svensson
Date: Thu, 22 Nov 2012 17:49:08 +0100
Subject: Update doc for RFC 6733
---
lib/diameter/doc/src/diameter_tcp.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'lib/diameter/doc/src/diameter_tcp.xml')
diff --git a/lib/diameter/doc/src/diameter_tcp.xml b/lib/diameter/doc/src/diameter_tcp.xml
index 901fce32c3..e3b8c733b7 100644
--- a/lib/diameter/doc/src/diameter_tcp.xml
+++ b/lib/diameter/doc/src/diameter_tcp.xml
@@ -66,7 +66,7 @@ It can be specified as the value of a transport_module option to
and implements the behaviour documented in
&man_transport;.
TLS security is supported, both as an upgrade following
-capabilities exchange as specified by RFC 3588 and
+capabilities exchange as specified by &the_rfc; and
at connection establishment as in the current draft standard.
--
cgit v1.2.3