summaryrefslogtreecommitdiff
path: root/usr.bin/systat/systat.h
diff options
context:
space:
mode:
authorgiovanni <giovanni@cvs.openbsd.org>2010-07-22 12:33:30 +0000
committergiovanni <giovanni@cvs.openbsd.org>2010-07-22 12:33:30 +0000
commit38330b34c0075cb10bbf547792b6d64cd4c1f4b5 (patch)
treeb9556ce08ac8803c4a611e3366abb1d22f1b4a0a /usr.bin/systat/systat.h
parent0bcff2706bc6931365c94b616ccefb734b555dbc (diff)
Let systat -N states resolve network addresses
help and ok sthen@ lum@ ok canacar@
Diffstat (limited to 'usr.bin/systat/systat.h')
-rw-r--r--usr.bin/systat/systat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/systat/systat.h b/usr.bin/systat/systat.h
index 3dbbe040caa..191e38ec5e0 100644
--- a/usr.bin/systat/systat.h
+++ b/usr.bin/systat/systat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: systat.h,v 1.14 2009/08/13 23:45:35 deraadt Exp $ */
+/* $OpenBSD: systat.h,v 1.15 2010/07/22 12:33:29 giovanni Exp $ */
/* $NetBSD: systat.h,v 1.2 1995/01/20 08:52:14 jtc Exp $ */
/*-
@@ -35,6 +35,7 @@
#ifndef _SYSTAT_H_
#define _SYSTAT_H_
+#include <netinet/in.h>
#include <sys/cdefs.h>
#include <fcntl.h>
#include <kvm.h>
@@ -90,6 +91,9 @@ int initnfs(void);
void error(const char *fmt, ...);
void nlisterr(struct nlist []);
+const char *inetname(struct in_addr);
+const char *inet6name(struct in6_addr *);
+
#endif
struct ifcount {