summaryrefslogtreecommitdiffstats
path: root/src/tuple_gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tuple_gen.h')
-rwxr-xr-xsrc/tuple_gen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tuple_gen.h b/src/tuple_gen.h
index 2491f489..8525a8e3 100755
--- a/src/tuple_gen.h
+++ b/src/tuple_gen.h
@@ -852,6 +852,9 @@ struct CTupleGenPoolYaml {
uint32_t get_ip_start() {
return m_ip_start;
}
+ uint32_t get_ip_end() {
+ return m_ip_end;
+ }
bool is_valid(uint32_t num_threads,bool is_plugins);
void Dump(FILE *fd);
};
@@ -888,6 +891,9 @@ public:
exit(-1);
return 0;
}
+
+ bool find_port(uint32_t ip_start, uint32_t ip_end, uint8_t &port);
+ void dump(FILE *fd);
};