[sr-dev] git:master: modules_k/snmpstats: Added defines for WebSocket transport

Peter Dunkley peter.dunkley at crocodile-rcs.com
Wed Aug 8 11:15:47 CEST 2012


Module: sip-router
Branch: master
Commit: 58b22e62ea360c38574ad5ef2a031bb9413807fa
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=58b22e62ea360c38574ad5ef2a031bb9413807fa

Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date:   Wed Aug  8 10:14:57 2012 +0100

modules_k/snmpstats: Added defines for WebSocket transport

- There are no specific stats for WebSocket connections here (just
  as there are none for SCTP), but the defines are there as place-
  holders.

---

 modules_k/snmpstats/snmpstats_globals.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules_k/snmpstats/snmpstats_globals.h b/modules_k/snmpstats/snmpstats_globals.h
index 5e12df4..e98b030 100644
--- a/modules_k/snmpstats/snmpstats_globals.h
+++ b/modules_k/snmpstats/snmpstats_globals.h
@@ -88,6 +88,9 @@
 #define TC_TRANSPORT_PROTOCOL_TCP   (128 >> 2)
 #define TC_TRANSPORT_PROTOCOL_SCTP  (128 >> 3)
 #define TC_TRANSPORT_PROTOCOL_TLS   (128 >> 4)
+#define TC_TRANSPORT_PROTOCOL_WS    (128 >> 5)
+#define TC_TRANSPORT_PROTOCOL_WSS   (128 >> 6)
+
 /*
  * Textual Conventions for BITS types - ends
  *************************************************************/




More information about the sr-dev mailing list