Module: kamailio
Branch: master
Commit: 7a6813bc623f008e15f0e1df25c029a76f31fcd3
URL: 
https://github.com/kamailio/kamailio/commit/7a6813bc623f008e15f0e1df25c029a76f31fcd3

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-01-16T10:24:02+01:00

core: data lump - flag for record-route lumps

---

Modified: src/core/lump_struct.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/7a6813bc623f008e15f0e1df25c029a76f31fcd3.diff
Patch: 
https://github.com/kamailio/kamailio/commit/7a6813bc623f008e15f0e1df25c029a76f31fcd3.patch

---

diff --git a/src/core/lump_struct.h b/src/core/lump_struct.h
index 4c47e1436fc..5c7ef23b168 100644
--- a/src/core/lump_struct.h
+++ b/src/core/lump_struct.h
@@ -93,12 +93,18 @@ enum lump_flag
        LUMPFLAG_SHMEM = 2,             /* lump stored in shared memory (e.g., 
tm) */
        LUMPFLAG_BRANCH = 4,    /* not in use ?!? */
        LUMPFLAG_COND_TRUE = 8, /* conditional lump processing */
-       LUMPFLAG_APPLIED = 16   /* lump already applied */
+       LUMPFLAG_APPLIED = 16,  /* lump already applied */
+       LUMPFLAG_RR = 32                /* lump related to record-route */
 };
 
 #define LUMP_SET_COND_TRUE(_lump) (_lump)->flags |= LUMPFLAG_COND_TRUE
 #define LUMP_IS_COND_TRUE(_lump) ((_lump)->flags & LUMPFLAG_COND_TRUE)
 
+#define LUMP_SET_FLAG(_lump, _flag) \
+       do {                            \
+               (_lump)->flags |= _flag;    \
+       } while(0)
+
 typedef struct lump
 {
        enum _hdr_types_t type; /* HDR_VIA_T, HDR_OTHER_T (0), ... */

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to