diff options
author | Klement Sekera <ksekera@cisco.com> | 2020-04-28 09:22:29 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-04-28 21:06:32 +0000 |
commit | ca6307ccb97c4476bcc174484d80ada0a9c9bc0c (patch) | |
tree | d0afa7bd680c41bf11c647aa5e5e49be8f1fcf33 | |
parent | 37b445468e45b537621269fc1e375f26ca2100ee (diff) |
nat: remove unused code
Type: refactor
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I0f82d937b4829e5a7f074d4d566fa49319a11716
-rw-r--r-- | src/plugins/nat/nat.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/nat/nat.h b/src/plugins/nat/nat.h index c4f1be23b56..59a12437f77 100644 --- a/src/plugins/nat/nat.h +++ b/src/plugins/nat/nat.h @@ -64,15 +64,6 @@ typedef struct u32 next_index; } nat_pre_trace_t; -/* -STATIC_ASSERT (sizeof (nat_buffer_opaque_t) <= - STRUCT_SIZE_OF (vnet_buffer_opaque_t, unused), - "Custom meta-data too large for vnet_buffer_opaque_t"); - -#define nat_buffer_opaque(b) \ - ((nat_buffer_opaque_t *)((u8 *)((b)->opaque) + \ - STRUCT_OFFSET_OF (vnet_buffer_opaque_t, unused)))*/ - /* session key (4-tuple) */ typedef struct { |