Browse code

core: temporary sip_msg flags reserved for K moved to end of bitmask

- respective modules updated

Daniel-Constantin Mierla authored on 09/07/2009 14:47:49
Showing 4 changed files
... ...
@@ -60,7 +60,7 @@ MODULE_VERSION
60 60
 #endif
61 61
 
62 62
 /* WARNING: Keep this aligned with parser/msg_parser.h! */
63
-#define FL_USE_MEDIA_PROXY (1<<12)
63
+#define FL_USE_MEDIA_PROXY (1<<30)
64 64
 
65 65
 #define SIGNALING_IP_AVP_SPEC  "$avp(s:signaling_ip)"
66 66
 #define MEDIA_RELAY_AVP_SPEC   "$avp(s:media_relay)"
... ...
@@ -79,7 +79,7 @@
79 79
  * projects. The value of the flag must be kept synchronized with other flags
80 80
  * defined in parser/msg_parser.h!
81 81
  */
82
-#define FL_REQ_UPSTREAM (1<<11)
82
+#define FL_REQ_UPSTREAM (1<<29)
83 83
 
84 84
 void acc_log_init(void);
85 85
 int  acc_log_request( struct sip_msg *req);
... ...
@@ -63,6 +63,9 @@ MODULE_VERSION
63 63
 #endif
64 64
 
65 65
 
66
+/* WARNING: Keep this aligned with parser/msg_parser.h! */
67
+#define FL_DO_KEEPALIVE (1<<31)
68
+
66 69
 #define HASH_SIZE    512
67 70
 
68 71
 
... ...
@@ -110,12 +110,15 @@ enum request_method {
110 110
 #define FL_MTU_TLS_FB   (1 << 9)
111 111
 #define FL_MTU_SCTP_FB  (1 << 10)
112 112
 
113
-/* WARNING: Value (1 << 11) is temporarily reserved for use in kamailio acc
113
+/* WARNING: Value (1 << 29) is temporarily reserved for use in kamailio acc
114 114
  * module (flag FL_REQ_UPSTREAM)! */
115 115
 
116
-/* WARNING: Value (1 << 12) is temporarily reserved for use in kamailio
116
+/* WARNING: Value (1 << 30) is temporarily reserved for use in kamailio
117 117
  * media proxy module (flag FL_USE_MEDIA_PROXY)! */
118 118
 
119
+/* WARNING: Value (1 << 31) is temporarily reserved for use in kamailio
120
+ * nat_traversal module (flag FL_DO_KEEPALIVE)! */
121
+
119 122
 #define FL_MTU_FB_MASK  (FL_MTU_TCP_FB|FL_MTU_TLS_FB|FL_MTU_SCTP_FB)
120 123
 
121 124