netstat.h (261601) | netstat.h (262763) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)netstat.h 8.2 (Berkeley) 1/4/94 | 1/*- 2 * Copyright (c) 1992, 1993 3 * Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)netstat.h 8.2 (Berkeley) 1/4/94 |
30 * $FreeBSD: head/usr.bin/netstat/netstat.h 261601 2014-02-07 15:18:23Z glebius $ | 30 * $FreeBSD: head/usr.bin/netstat/netstat.h 262763 2014-03-05 01:17:47Z glebius $ |
31 */ 32 33#include <sys/cdefs.h> 34 35extern int Aflag; /* show addresses of protocol control block */ 36extern int aflag; /* show all sockets (including servers) */ 37extern int bflag; /* show i/f total bytes in/out */ 38extern int dflag; /* show i/f dropped packets */ --- 16 unchanged lines hidden (view full) --- 55 56extern char *interface; /* desired i/f for stats, or NULL for all i/fs */ 57extern int unit; /* unit number for above */ 58 59extern int live; /* true if we are examining a live system */ 60 61struct nlist; 62int kread(u_long addr, void *buf, size_t size); | 31 */ 32 33#include <sys/cdefs.h> 34 35extern int Aflag; /* show addresses of protocol control block */ 36extern int aflag; /* show all sockets (including servers) */ 37extern int bflag; /* show i/f total bytes in/out */ 38extern int dflag; /* show i/f dropped packets */ --- 16 unchanged lines hidden (view full) --- 55 56extern char *interface; /* desired i/f for stats, or NULL for all i/fs */ 57extern int unit; /* unit number for above */ 58 59extern int live; /* true if we are examining a live system */ 60 61struct nlist; 62int kread(u_long addr, void *buf, size_t size); |
63uint64_t kread_counter(u_long addr); |
|
63int kread_counters(u_long addr, void *buf, size_t size); 64int kresolve_list(struct nlist *); 65const char *plural(uintmax_t); 66const char *plurales(uintmax_t); 67const char *pluralies(uintmax_t); 68 69struct sockaddr; 70struct socket; --- 102 unchanged lines hidden --- | 64int kread_counters(u_long addr, void *buf, size_t size); 65int kresolve_list(struct nlist *); 66const char *plural(uintmax_t); 67const char *plurales(uintmax_t); 68const char *pluralies(uintmax_t); 69 70struct sockaddr; 71struct socket; --- 102 unchanged lines hidden --- |