Added support for displaying ports.
This commit is contained in:
@@ -16,6 +16,13 @@ typedef enum {
|
||||
OPTION_AGGREGATE_DEST
|
||||
} option_aggregate_t;
|
||||
|
||||
typedef enum {
|
||||
OPTION_PORTS_OFF,
|
||||
OPTION_PORTS_AGGSRC,
|
||||
OPTION_PORTS_AGGDEST,
|
||||
OPTION_PORTS_ON
|
||||
} option_port_t;
|
||||
|
||||
typedef struct {
|
||||
/* interface on which to listen */
|
||||
char *interface;
|
||||
@@ -30,6 +37,7 @@ typedef struct {
|
||||
int dnsresolution;
|
||||
int promiscuous;
|
||||
int showbars;
|
||||
option_port_t showports;
|
||||
option_aggregate_t aggregate;
|
||||
|
||||
} options_t;
|
||||
|
||||
Reference in New Issue
Block a user