Selaa lähdekoodia

sl: regenerated the readme

Daniel-Constantin Mierla 13 vuotta sitten
vanhempi
commit
a3041af64b
1 muutettua tiedostoa jossa 129 lisäystä ja 4 poistoa
  1. 129 4
      modules/sl/README

+ 129 - 4
modules/sl/README

@@ -8,7 +8,7 @@ Daniel-Constantin Mierla
 
 
    asipto.com
    asipto.com
 
 
-   Copyright © 2003 FhG FOKUS
+   Copyright © 2003 FhG FOKUS
      __________________________________________________________________
      __________________________________________________________________
 
 
    1.1. Overview
    1.1. Overview
@@ -24,6 +24,33 @@ Daniel-Constantin Mierla
         1.3.2. send_reply(code, reason)
         1.3.2. send_reply(code, reason)
         1.3.3. sl_reply_error()
         1.3.3. sl_reply_error()
 
 
+   1.4. Statistics
+
+        1.4.1. 1xx_replies
+        1.4.2. 200_replies
+        1.4.3. 202_replies
+        1.4.4. 2xx_replies
+        1.4.5. 300_replies
+        1.4.6. 301_replies
+        1.4.7. 302_replies
+        1.4.8. 3xx_replies
+        1.4.9. 400_replies
+        1.4.10. 401_replies
+        1.4.11. 403_replies
+        1.4.12. 404_replies
+        1.4.13. 407_replies
+        1.4.14. 408_replies
+        1.4.15. 483_replies
+        1.4.16. 4xx_replies
+        1.4.17. 500_replies
+        1.4.18. 5xx_replies
+        1.4.19. 6xx_replies
+        1.4.20. xxx_replies
+        1.4.21. sent_replies
+        1.4.22. sent_err_replies
+        1.4.23. failures
+        1.4.24. received_ACKs
+
 1.1. Overview
 1.1. Overview
 
 
    The SL module allows ser to act as a stateless UA server and generate
    The SL module allows ser to act as a stateless UA server and generate
@@ -88,7 +115,7 @@ modparam("sl", "bind_tm", 0)  # feature disabled
 
 
 1.3. Functions
 1.3. Functions
 
 
-1.3.1.  sl_send_reply(code, reason)
+1.3.1. sl_send_reply(code, reason)
 
 
    For the current request, a reply is sent back having the given code and
    For the current request, a reply is sent back having the given code and
    text reason. The reply is sent stateless, totally independent of the
    text reason. The reply is sent stateless, totally independent of the
@@ -103,7 +130,7 @@ modparam("sl", "bind_tm", 0)  # feature disabled
 sl_send_reply("404", "Not found");
 sl_send_reply("404", "Not found");
 ...
 ...
 
 
-1.3.2.  send_reply(code, reason)
+1.3.2. send_reply(code, reason)
 
 
    For the current request, a reply is sent back having the given code and
    For the current request, a reply is sent back having the given code and
    text reason. The reply is sent stateful or stateless, depending of the
    text reason. The reply is sent stateful or stateless, depending of the
@@ -124,7 +151,7 @@ send_reply("404", "Not found");
 send_reply("403", "Invalid user - $fU");
 send_reply("403", "Invalid user - $fU");
 ...
 ...
 
 
-1.3.3.  sl_reply_error()
+1.3.3. sl_reply_error()
 
 
    Sends back an error reply describing the nature of the last internal
    Sends back an error reply describing the nature of the last internal
    error. Usually this function should be used after a script function
    error. Usually this function should be used after a script function
@@ -134,3 +161,101 @@ send_reply("403", "Invalid user - $fU");
 ...
 ...
 sl_reply_error();
 sl_reply_error();
 ...
 ...
+
+1.4. Statistics
+
+1.4.1. 1xx_replies
+
+   Number of 1xx replies.
+
+1.4.2. 200_replies
+
+   Number of 201 replies.
+
+1.4.3. 202_replies
+
+   Number of 202 replies.
+
+1.4.4. 2xx_replies
+
+   Number of 2xx replies.
+
+1.4.5. 300_replies
+
+   Number of 300 replies.
+
+1.4.6. 301_replies
+
+   Number of 301 replies.
+
+1.4.7. 302_replies
+
+   Number of 302 replies.
+
+1.4.8. 3xx_replies
+
+   Number of 3xx replies.
+
+1.4.9. 400_replies
+
+   Number of 400 replies.
+
+1.4.10. 401_replies
+
+   Number of 401 replies.
+
+1.4.11. 403_replies
+
+   Number of 403 replies.
+
+1.4.12. 404_replies
+
+   Number of 404 replies.
+
+1.4.13. 407_replies
+
+   Number of 407 replies.
+
+1.4.14. 408_replies
+
+   Number of 408 replies.
+
+1.4.15. 483_replies
+
+   Number of 483 replies.
+
+1.4.16. 4xx_replies
+
+   Number of 4xx replies.
+
+1.4.17. 500_replies
+
+   Number of 500 replies.
+
+1.4.18. 5xx_replies
+
+   Number of 5xx replies.
+
+1.4.19. 6xx_replies
+
+   Number of 6xx replies.
+
+1.4.20. xxx_replies
+
+   Number of replies whose code don't match any above.
+
+1.4.21. sent_replies
+
+   Number of all sent replies.
+
+1.4.22. sent_err_replies
+
+   Number of sent error replies.
+
+1.4.23. failures
+
+   Number of failures.
+
+1.4.24. received_ACKs
+
+   Number of received ACKs filtered by SL module.