summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/nat.h')
-rw-r--r--src/plugins/nat/nat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/nat/nat.h b/src/plugins/nat/nat.h
index bd00a5246dd..97bbec21360 100644
--- a/src/plugins/nat/nat.h
+++ b/src/plugins/nat/nat.h
@@ -203,6 +203,11 @@ typedef struct {
} snat_address_t;
typedef struct {
+ u32 fib_index;
+ u32 refcount;
+} nat_outside_fib_t;
+
+typedef struct {
u16 in_port;
snat_det_out_key_t out;
u8 state;
@@ -350,6 +355,9 @@ typedef struct snat_main_s {
u8 psid_length;
u16 psid;
+ /* vector of outside fibs */
+ nat_outside_fib_t * outside_fibs;
+
/* Vector of twice NAT addresses for extenal hosts */
snat_address_t * twice_nat_addresses;