From 8317fec82dc677f299e3772d3d644639f936857a Mon Sep 17 00:00:00 2001
From: Anders Svensson ->
in documentation
The former doesn't allow seealso content, which erl_docgen doesn't
enforce, resulting in mangled PDF.
---
lib/diameter/doc/src/diameter.xml | 76 +++++++++++++++++++--------------------
1 file changed, 38 insertions(+), 38 deletions(-)
(limited to 'lib/diameter/doc/src/diameter.xml')
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index c93a7b2c67..ea540562af 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -110,10 +110,10 @@ defined by the application.
+
Mod = atom()
ExtraArgs = list()
-
+
A module implementing the callback interface defined in
+
eval([{M,F,A} | T]) ->
apply(M, F, T ++ A);
eval([[F|A] | T]) ->
@@ -366,7 +366,7 @@ eval([F|A]) ->
apply(F, A);
eval(F) ->
eval([F]).
-
+
Applying an
+
Ref = transport_ref()
Peer = diameter_app:peer()
Config = {connect|listen, [transport_opt() ]}
Pkt = #diameter_packet{}
-
+
The RFC 3539 watchdog state machine has @@ -556,10 +556,10 @@ respect to individual Diameter applications.
+
Ref = transport_ref()
Opts = [transport_opt() ]
-
+
A connecting transport is attempting to establish/reestablish a @@ -571,10 +571,10 @@ expiry.
+
Ref = transport_ref()
Config = {connect|listen, [transport_opt() ]}
-
+
Capabilities exchange has failed.
@@ -584,13 +584,13 @@ Capabilities exchange has failed.
An incoming CER has been answered with the indicated result code or
@@ -604,11 +604,11 @@ contains the rejecting callback.
An incoming CER contained errors and has been answered with the
@@ -627,12 +627,12 @@ connection establishment.
An incoming CEA has been rejected for the indicated reason.
@@ -647,10 +647,10 @@ contains the rejecting callback.
An incoming CEA contained errors and has been rejected.
@@ -671,12 +671,12 @@ of connection establishment.
An RFC 3539 watchdog state machine has changed state.
+
+
Result = ResultCode | {capabilities_cb, CB, ResultCode|discard}
Caps = #diameter_caps{}
Pkt = #diameter_packet{}
ResultCode = integer()
CB =
+
+
ResultCode = integer()
Caps = #diameter_caps{}
Pkt = #diameter_packet{}
-
+
+
Result = integer() | atom() | {capabilities_cb, CB, ResultCode|discard}
Caps = #diameter_caps{}
Pkt = #diameter_packet{}
ResultCode = integer()
-
+
+
Caps = #diameter_caps{}
Pkt = #diameter_packet{}
-
+
+
Ref =
+
(H bsl N) bor (Id band ((1 bsl N) - 1))
-
+
Note that RFC 3588 requires that End-to-End identifiers remain unique
for a period of at least 4 minutes and that this and the call rate
@@ -980,9 +980,9 @@ Defaults to a single callback returning
+
Tc = Unsigned32()
-
+
For a connecting transport, the RFC 3588 Tc timer, in milliseconds. @@ -1029,12 +1029,12 @@ For example, the following options on a connecting transport request a connection with one peer over SCTP or another (typically the same) over TCP.
-
+
{transport_module, diameter_sctp}
{transport_config, SctpOpts, 5000}
{transport_module, diameter_tcp}
{transport_config, TcpOpts}
-
+
To listen on both SCTP and TCP, define one transport for each.
@@ -1065,10 +1065,10 @@ corresponding timeout (see below) or all fail.
+
TwInit = Unsigned32()
| {M,F,A}
-
+
The RFC 3539 watchdog timer.
@@ -1334,7 +1334,7 @@ marker="#add_transport">add_transport/2 and
+
Pred = fun(transport_ref(), list()): fun(Ref, _, Opts) -> Pred(Ref, Opts) end
Pred = fun(list()): fun(_, _, Opts) -> Pred(Opts) end
Pred = transport_ref(): fun(Ref, _, _) -> Pred == Ref end
@@ -1342,7 +1342,7 @@ Pred = list(): fun(_, _, Opts) -> [] == Pred -- Opts end
Pred = true: fun(_, _, _) -> true end
Pred = false: fun(_, _, _) -> false end
Pred = {M,F,A}: fun(Ref, Type, Opts) -> apply(M, F, [Ref, Type, Opts | A]) end
-
+
Removing a transport causes the corresponding transport processes to @@ -1425,7 +1425,7 @@ An example return value with for a client service with Origin-Host "client.example.com" configured with a single transport connected to "server.example.com" might look as follows.
-
+
[[{ref,#Ref<0.0.0.93>},
{type,connect},
{options,[{transport_module,diameter_tcp},
@@ -1470,7 +1470,7 @@ An example return value with for a client service with Origin-Host
{{{0,258,0},recv,{'Result-Code',2001}},3},
{{{0,280,1},recv},2},
{{{0,280,0},send},2}]}]]
-
+
Here
+
[[{ref,#Ref<0.0.0.61>},
{type,listen},
{options,[{transport_module,diameter_tcp},
@@ -1557,7 +1557,7 @@ connection might look as follows.
{{{0,280,0},send},5},
{{{0,257,1},recv},1},
{{{0,257,0},send},1}]}]]
-
+
The information presented here is as in the
+
[[{ref,#Ref<0.0.0.61>},
{type,accept},
{options,[{transport_module,diameter_tcp},
@@ -1622,7 +1622,7 @@ A return value for the server above might look as follows.
{{{0,280,0},send},66},
{{{0,257,1},recv},1},
{{{0,257,0},send},1}]}]]
-
+
Note that there may be multiple entries with the same
+
[{ref,#Ref<0.0.0.61>},
{type,accept},
{options,[{transport_module,diameter_tcp},
{transport_config,[{reuseaddr,true},
{ip,{127,0,0,1}},
{port,3868}]}]}]
-
+