diff options
author | Matus Fabian <matfabia@cisco.com> | 2017-07-21 03:46:03 -0700 |
---|---|---|
committer | Matus Fabian <matfabia@cisco.com> | 2017-07-21 03:46:47 -0700 |
commit | 161c59c75c667ce7a3c1d6173723831dc30e994c (patch) | |
tree | 8e7ed4f26a2e9120fde75401f3d738b546a037fe /src/vnet/buffer.h | |
parent | faee17e8b866fe16ce706af31d1e9cbc6d06b961 (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/buffer.h')
-rw-r--r-- | src/vnet/buffer.h | 6 |
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; |