Added support for displaying ports.

This commit is contained in:
pdw
2002-10-10 08:59:14 +00:00
parent fb66807ab8
commit 803ee46de2
8 changed files with 155 additions and 47 deletions

View File

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