aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat.h
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2017-09-26 01:23:01 -0700
committerMatus Fabian <matfabia@cisco.com>2017-09-26 01:29:05 -0700
commit7865b5c8a4f11731d8c6d4627e505afe990989b4 (patch)
treec03b34d36ab0545ef84ebd9d21f692b06a90b0b0 /src/plugins/nat/nat.h
parent51d2651e4aceff4016228c669480437eac84f221 (diff)
NAT: remove worker_by_in lookup hash table (VPP-992)
Change-Id: I3873d3e411bf93cac82e73a0b8e3b22563aaf217 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat.h')
-rw-r--r--src/plugins/nat/nat.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/plugins/nat/nat.h b/src/plugins/nat/nat.h
index d34ff07b7fe..e467fde75f3 100644
--- a/src/plugins/nat/nat.h
+++ b/src/plugins/nat/nat.h
@@ -95,19 +95,6 @@ typedef struct {
};
} snat_user_key_t;
-typedef struct {
- union
- {
- struct
- {
- ip4_address_t addr;
- u16 port;
- u16 fib_index;
- };
- u64 as_u64;
- };
-} snat_worker_key_t;
-
#define foreach_snat_protocol \
_(UDP, 0, udp, "udp") \
@@ -283,9 +270,6 @@ typedef struct snat_main_s {
clib_bihash_16_8_t out2in_ed;
clib_bihash_16_8_t in2out_ed;
- /* Non-translated packets worker lookup => src address + VRF */
- clib_bihash_8_8_t worker_by_in;
-
snat_icmp_match_function_t * icmp_match_in2out_cb;
snat_icmp_match_function_t * icmp_match_out2in_cb;