From 7b5dfc58ad9d917cf2b81caecadffa94de932a4d Mon Sep 17 00:00:00 2001 From: itojun Date: Wed, 5 Jan 2000 11:59:12 +0000 Subject: support IPv6. commands under "netstat" are IPv6 ready. IPv6 is supported by filters (":ignore ssh") as well. TODO: do something about line truncation? TODO: inet6.icmp6? ":help" will not fit into single line... --- usr.bin/systat/extern.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'usr.bin/systat/extern.h') diff --git a/usr.bin/systat/extern.h b/usr.bin/systat/extern.h index e699499f73b..2325dd0e71d 100644 --- a/usr.bin/systat/extern.h +++ b/usr.bin/systat/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.18 1999/12/25 01:49:25 jwise Exp $ */ +/* $NetBSD: extern.h,v 1.19 2000/01/05 11:59:12 itojun Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -61,9 +61,16 @@ extern int protos; extern int verbose; struct inpcb; +#ifdef INET6 +struct in6pcb; +#endif int checkhost __P((struct inpcb *)); int checkport __P((struct inpcb *)); +#ifdef INET6 +int checkhost6 __P((struct in6pcb *)); +int checkport6 __P((struct in6pcb *)); +#endif void closebufcache __P((WINDOW *)); void closeicmp __P ((WINDOW *)); void closeiostat __P((WINDOW *)); -- cgit