Minor tweaks. Started doing aggregate bandwidth mode.

This commit is contained in:
pdw
2002-04-03 16:35:29 +00:00
parent fc9f31b8ad
commit c70fecc6c0
4 changed files with 13 additions and 1 deletions

View File

@@ -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;