Minor tweaks. Started doing aggregate bandwidth mode.
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
enum {
|
||||
OPTION_AGGREGATE_OFF,
|
||||
OPTION_AGGREGATE_SOURCE,
|
||||
OPTION_AGGREGATE_DEST
|
||||
} option_aggregate_t;
|
||||
|
||||
typedef struct {
|
||||
/* interface to listen on */
|
||||
char *interface;
|
||||
@@ -24,6 +30,7 @@ typedef struct {
|
||||
int dnsresolution;
|
||||
int promiscuous;
|
||||
int showbars;
|
||||
option_aggregate_t aggregate;
|
||||
|
||||
} options_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user