Thread (24 messages) flat view 24 messages, 5 authors, 2016-10-19
STALE3596d

[patch net-next RFC 3/6] ife: Introduce new metadata tlv types

From: Jiri Pirko <jiri@resnulli.us>
Date: 2016-10-12 12:41:26
Subsystem: ife protocol, the rest · Maintainers: Yotam Gigi, Jamal Hadi Salim, Linus Torvalds

From: Yotam Gigi <yotam.gi@gmail.com>

 - IFE_META_IFINDEX: Allow to pass ifindex value as part of the ife
   metadata
 - IFE_META_ORIG_SIZE: Allow to pass the original packet size as part of
   the ife metadata. Can be used in case that the packet is truncated
 - IFE_META_SIZE: Allow to pass the size of the encapsulated packet as
   part of the ife metadata

Signed-off-by: Yotam Gigi <redacted>
Signed-off-by: Jiri Pirko <redacted>
---
 include/uapi/linux/ife.h | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/include/uapi/linux/ife.h b/include/uapi/linux/ife.h
index abec4e0..990f29e 100644
--- a/include/uapi/linux/ife.h
+++ b/include/uapi/linux/ife.h
@@ -8,6 +8,9 @@
 #define IFE_META_PRIO 3
 #define IFE_META_QMAP 4
 #define IFE_META_TCINDEX 5
+#define IFE_META_IFINDEX 6
+#define IFE_META_ORIGSIZE 7
+#define IFE_META_SIZE 8
 
 /*Can be overridden at runtime by module option*/
 #define __IFE_META_MAX 6
-- 
2.5.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help