--- embedaddon/iftop/options.h 2012/02/21 16:57:34 1.1.1.1 +++ embedaddon/iftop/options.h 2016/10/18 14:04:50 1.1.1.2 @@ -56,6 +56,9 @@ typedef struct { int aggregate_dest; int paused; int showhelp; + int timed_output; + int no_curses; + int num_lines; int bandwidth_in_bytes; option_sort_t sort; @@ -78,6 +81,13 @@ typedef struct { struct in_addr netfilternet; struct in_addr netfiltermask; + int netfilter6; + struct in6_addr netfilter6net; + struct in6_addr netfilter6mask; + + /* Account for link-local traffic. */ + int link_local; + char *config_file; int config_file_specified; @@ -86,5 +96,7 @@ typedef struct { void options_set_defaults(); void options_read(int argc, char **argv); +void options_read_args(int argc, char **argv); +void options_make(); #endif /* __OPTIONS_H_ */