diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-10-29 03:26:41 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-10-29 03:26:41 +0000 |
commit | ada8046059288501276f4440523f531e7de5f58a (patch) | |
tree | 5bd712889ff818a465619bb435a52ffe2bc43597 /usr.bin/netstat/main.c | |
parent | 7b584cbf8103cf78a8db3cbb08e378ff5a47a4b9 (diff) |
etherip statistics
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r-- | usr.bin/netstat/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 674855ba1ec..230290534c0 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.17 1999/03/01 01:28:13 d Exp $ */ +/* $OpenBSD: main.c,v 1.18 1999/10/29 03:26:40 angelos Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ char copyright[] = #if 0 static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94"; #else -static char *rcsid = "$OpenBSD: main.c,v 1.17 1999/03/01 01:28:13 d Exp $"; +static char *rcsid = "$OpenBSD: main.c,v 1.18 1999/10/29 03:26:40 angelos Exp $"; #endif #endif /* not lint */ @@ -151,6 +151,8 @@ struct nlist nl[] = { { "_ddpstat"}, #define N_DDPCB 40 { "_ddpcb"}, +#define N_ETHERIPSTAT 41 + { "_etheripstat"}, { ""}, }; @@ -178,6 +180,8 @@ struct protox { esp_stats, "esp" }, { -1, N_IP4STAT, 1, 0, ip4_stats, "ipencap" }, + { -1, N_ETHERIPSTAT, 1, 0, + etherip_stats,"etherip" }, { -1, -1, 0, 0, 0, 0 } }; |