aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core/msgbuf.h
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2023-01-16 12:00:38 +0100
committerMauro Sardara <msardara@cisco.com>2023-01-16 11:41:13 +0000
commit4d2e8310cbeacf1c20ec0adb3dc6cf06abcdcbb8 (patch)
tree91bbfdc3e0d437fb0afd44f3b5a0906f4475c521 /hicn-light/src/hicn/core/msgbuf.h
parent51237d4a2d525607b227681f69aff60ad7d26545 (diff)
feat: forward local interest if PIT entry exists in case of local remote strategy
Ref: HICN-823 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I9e4b5da6ae1011e29e128d7811e29b3020a4a3cc (cherry picked from commit f3a58a1ea5f4b99b5e788aec1a5afdcb19c42074)
Diffstat (limited to 'hicn-light/src/hicn/core/msgbuf.h')
-rw-r--r--hicn-light/src/hicn/core/msgbuf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/core/msgbuf.h b/hicn-light/src/hicn/core/msgbuf.h
index ee9337225..ef2b38c51 100644
--- a/hicn-light/src/hicn/core/msgbuf.h
+++ b/hicn-light/src/hicn/core/msgbuf.h
@@ -37,7 +37,10 @@ typedef struct {
unsigned connection_id; // ingress
Ticks recv_ts; // timestamp
unsigned refs; // refcount
- unsigned path_label; // XXX what is this ?
+ unsigned path_label; // original path label of the received message. used
+ // as a base for the path label computation when the
+ // same data packet needs to be forwarded on multiple
+ // face.
// XXX Cache storage
union {