-/* $OpenBSD: if.c,v 1.25 2019/07/04 01:39:44 dlg Exp $ */
+/* $OpenBSD: if.c,v 1.26 2021/01/18 00:49:09 mortimer Exp $ */
/*
* Copyright (c) 2004 Markus Friedl <markus@openbsd.org>
*
char ifs_flag;
} *ifstats;
+struct ifcount sum;
+
static int nifs = 0;
static int num_ifs = 0;
static int show_bits = 0;
-/* $OpenBSD: systat.h,v 1.23 2019/03/04 21:27:35 dlg Exp $ */
+/* $OpenBSD: systat.h,v 1.24 2021/01/18 00:49:09 mortimer Exp $ */
/* $NetBSD: systat.h,v 1.2 1995/01/20 08:52:14 jtc Exp $ */
/*-
u_int64_t ifc_co; /* collisions */
int ifc_flags; /* up / down */
int ifc_state; /* link state */
-} sum;
+};
+extern struct ifcount sum;