aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/doc/src/diameter.xml
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-11-08 12:55:44 +0100
committerAnders Svensson <[email protected]>2012-11-08 12:55:44 +0100
commit1262a7cadb69ee503bb5c2586038059b00595c99 (patch)
treea62327809e844a7a9d08f20a7d1f51754bb6b8b0 /lib/diameter/doc/src/diameter.xml
parentacdfec8baf27093b59cd25ffbc84e6165f9bb427 (diff)
parentbcc2e7751b014d4fc9d45c4a138278cbd00cc222 (diff)
downloadotp-1262a7cadb69ee503bb5c2586038059b00595c99.tar.gz
otp-1262a7cadb69ee503bb5c2586038059b00595c99.tar.bz2
otp-1262a7cadb69ee503bb5c2586038059b00595c99.zip
Merge branch 'anders/diameter/sequence_masks/OTP-10445' into maint
* anders/diameter/sequence_masks/OTP-10445: Redo watchdog test suite Update/clarify some comments Add reopen message from watchdog Add options service_info Add diameter_reg:wait/1 Clarify diameter_transport doc Remove pre-OTP configure support Remove obsolete make target Use sequence masks in test suites Implement sequence masks Document sequence masks
Diffstat (limited to 'lib/diameter/doc/src/diameter.xml')
-rw-r--r--lib/diameter/doc/src/diameter.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index b8652a7482..161fd94d5a 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -699,6 +699,35 @@ the application's <seealso marker="diameter_dict">dictionary</seealso>
file.</p>
</item>
+<tag><c>{sequence, {H,N} | <seealso
+ marker="diameter#evaluable">diameter:evaluable()</seealso>}</c></tag>
+<item>
+<p>
+Specifies a constant value <c>H</c> for the topmost <c>32-N</c> bits of
+of 32-bit End-to-End and Hop-by-Hop identifiers generated
+by the service, either explicity or as a return value of a function
+to be evaluated at <seealso
+marker="diameter#start_service">diameter:start_service/2</seealso>.
+In particular, an identifier <c>Id</c> is mapped to a new identifier
+as follows.</p>
+<code>
+(H bsl N) bor (Id band ((1 bsl N) - 1))
+</code>
+<p>
+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
+places a lower bound on the appropriate values of <c>N</c>:
+at a rate of <c>R</c> requests per second an <c>N</c>-bit counter
+traverses all of its values in <c>(1 bsl N) div (R*60)</c> minutes so
+the bound is <c>4*R*60 =&lt; 1 bsl N</c>.</p>
+
+<p><c>N</c> must lie in the range <c>0..32</c> and <c>H</c> must be a
+non-negative integer less than <c>1 bsl (32-N)</c>.</p>
+
+<p>
+Defaults to <c>{0,32}</c>.</p>
+</item>
+
</taglist>
<marker id="transport_opt"/>