aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/rewrite.h
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2020-11-17 09:47:07 +0000
committerNeale Ranns <nranns@cisco.com>2020-12-08 16:38:19 +0000
commit5c544c8c3e084f7ccad041d168b6fff736b46cba (patch)
tree051585e200f2a2669535665aae8e53a2f37ad10e /src/vnet/adj/rewrite.h
parent59b792ffb1d77309b0ab17e441fd14237adb74db (diff)
fib: Adjacency flag for midchain to perfom flow hash (on inner packet)
Type: feature Signed-off-by: Neale Ranns <neale.ranns@cisco.com> Change-Id: I964afd9266645de5c87d49c58ce6b48c2c18f97f
Diffstat (limited to 'src/vnet/adj/rewrite.h')
-rw-r--r--src/vnet/adj/rewrite.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/adj/rewrite.h b/src/vnet/adj/rewrite.h
index c23edbe1f60..496bb149bc4 100644
--- a/src/vnet/adj/rewrite.h
+++ b/src/vnet/adj/rewrite.h
@@ -60,6 +60,11 @@ typedef enum vnet_rewrite_flags_t_
* this adj performs IP4 over IP4 fixup
*/
VNET_REWRITE_FIXUP_IP4_O_4 = (1 << 1),
+
+ /**
+ * this adj performs the flow hash fixup
+ */
+ VNET_REWRITE_FIXUP_FLOW_HASH = (1 << 2),
} __attribute__ ((packed)) vnet_rewrite_flags_t;
typedef struct vnet_rewrite_header_t_