From ada8046059288501276f4440523f531e7de5f58a Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Fri, 29 Oct 1999 03:26:41 +0000 Subject: etherip statistics --- usr.bin/netstat/main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.bin/netstat/main.c') 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 } }; -- cgit v1.2.3