summaryrefslogtreecommitdiffstats
path: root/src/vnet/bier/bier_hdr_inlines.h
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-09-24 23:38:37 -0700
committerDamjan Marion <dmarion@me.com>2018-09-25 11:59:37 +0000
commitfe4e48f617f3e0f62880adebdcfb5989aa4e6db7 (patch)
treeb5d0778bc798a9119760992f878ff2e3666ea1ee /src/vnet/bier/bier_hdr_inlines.h
parent608f95cddc4e1e78b4d3ac3b2c3f1ae86f1fa632 (diff)
BIER; bi-dir to/from underlay
set and check a special RX interface value as the packet enters and exits a BIER domain Change-Id: I5ff2f0e2d1b3ce0f3598b935f518fc11eb0896ee Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet/bier/bier_hdr_inlines.h')
-rw-r--r--src/vnet/bier/bier_hdr_inlines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/bier/bier_hdr_inlines.h b/src/vnet/bier/bier_hdr_inlines.h
index 4437dc82e24..d58926e97ef 100644
--- a/src/vnet/bier/bier_hdr_inlines.h
+++ b/src/vnet/bier/bier_hdr_inlines.h
@@ -27,6 +27,11 @@
#include <vnet/ip/ip6_packet.h>
/**
+ * Special Value of the BIER RX interface
+ */
+#define BIER_RX_ITF (~0 - 1)
+
+/**
* Mask and shift values for the fields incorporated
* into the header's first word
*/