Fix failure when in static only route table mode
[ric-plt/lib/rmr.git] / src / rmr / common / include / rmr.h
index 3fc7677..478e08e 100644 (file)
@@ -39,7 +39,10 @@ extern "C" {
 #define RMR_MAX_MEID           32              // spece in header reserved for managed element id
 #define RMR_MAX_SRC                    64              // max length of hostname (which could be IPv6 addr with [...]:port so more than the 39 bytes of a plain addr
 #define RMR_MAX_SID                    32              // misc sender info/data (reserved)
-#define RMR_MAX_RCV_BYTES      (1024 * 64)             // max bytes we support in a receive message
+
+
+#define RMR_MAX_RCV_BYTES      1024 * 2        // DEPRECATED CONSTANT NAME as underlying transport no longer have a max receive size
+#define RMR_DEF_MSG_SIZE       1024    // default message size that applications might want to use
 
                                                                        // various flags for function calls
 #define RMRFL_NONE                     0x00    // no flags