summaryrefslogtreecommitdiffstats
path: root/src/plugins/snat/snat.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-01-11 13:01:14 -0500
committerDave Barach <dave@barachs.net>2017-01-11 13:01:44 -0500
commitcab65ec86b6c04d7a4674312989b5be0c0e394a4 (patch)
tree2ca01a090eba296d8dbb48ee067cda7565b83e0a /src/plugins/snat/snat.h
parentea4fa7526f51f78fa8ec712c002ba55983187ad3 (diff)
Acquire SNAT pool addresses from specific interfaces
Pick up addresses added by DHCP client, or by static configuration Needs to have binary API support added Change-Id: I962ef89e6e5f36cdc5457b92e165c498b08b25a9 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/snat/snat.h')
-rw-r--r--src/plugins/snat/snat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/snat/snat.h b/src/plugins/snat/snat.h
index cb31dc51423..71f254feede 100644
--- a/src/plugins/snat/snat.h
+++ b/src/plugins/snat/snat.h
@@ -179,6 +179,9 @@ typedef struct {
/* Vector of outside addresses */
snat_address_t * addresses;
+ /* sw_if_indices whose intfc addresses should be auto-added */
+ u32 * auto_add_sw_if_indices;
+
/* Randomize port allocation order */
u32 random_seed;