aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2017-07-21 03:46:03 -0700
committerMatus Fabian <matfabia@cisco.com>2017-07-21 03:46:47 -0700
commit161c59c75c667ce7a3c1d6173723831dc30e994c (patch)
tree8e7ed4f26a2e9120fde75401f3d738b546a037fe /src/vnet
parentfaee17e8b866fe16ce706af31d1e9cbc6d06b961 (diff)
SNAT: in2out translation as an output feature hairpinning (VPP-913)
Change-Id: I3790739683c6090ffb2aefb4758bd4275856c09a Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/buffer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h
index 56cb07ae81e..7dfc6b99baf 100644
--- a/src/vnet/buffer.h
+++ b/src/vnet/buffer.h
@@ -284,6 +284,12 @@ typedef struct
u8 flags;
} tcp;
+ /* SNAT */
+ struct
+ {
+ u32 flags;
+ } snat;
+
u32 unused[6];
};
} vnet_buffer_opaque_t;