Deleted Added
full compact
netstat.h (204499) netstat.h (215434)
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

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)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

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)netstat.h 8.2 (Berkeley) 1/4/94
34 * $FreeBSD: head/usr.bin/netstat/netstat.h 204499 2010-03-01 00:46:45Z rwatson $
34 * $FreeBSD: head/usr.bin/netstat/netstat.h 215434 2010-11-17 18:55:12Z gnn $
35 */
36
37#include <sys/cdefs.h>
38
39extern int Aflag; /* show addresses of protocol control block */
40extern int aflag; /* show all sockets (including servers) */
41extern int bflag; /* show i/f total bytes in/out */
42extern int dflag; /* show i/f dropped packets */
43extern int gflag; /* show group (multicast) routing or stats */
44extern int hflag; /* show counters in human readable format */
45extern int iflag; /* show interfaces */
46extern int Lflag; /* show size of listen queues */
47extern int mflag; /* show memory stats */
48extern int noutputs; /* how much outputs before we exit */
49extern int numeric_addr; /* show addresses numerically */
50extern int numeric_port; /* show ports numerically */
51extern int rflag; /* show routing tables (or routing stats) */
52extern int sflag; /* show protocol statistics */
35 */
36
37#include <sys/cdefs.h>
38
39extern int Aflag; /* show addresses of protocol control block */
40extern int aflag; /* show all sockets (including servers) */
41extern int bflag; /* show i/f total bytes in/out */
42extern int dflag; /* show i/f dropped packets */
43extern int gflag; /* show group (multicast) routing or stats */
44extern int hflag; /* show counters in human readable format */
45extern int iflag; /* show interfaces */
46extern int Lflag; /* show size of listen queues */
47extern int mflag; /* show memory stats */
48extern int noutputs; /* how much outputs before we exit */
49extern int numeric_addr; /* show addresses numerically */
50extern int numeric_port; /* show ports numerically */
51extern int rflag; /* show routing tables (or routing stats) */
52extern int sflag; /* show protocol statistics */
53extern int Tflag; /* show TCP control block info */
53extern int Wflag; /* wide display */
54extern int xflag; /* extended display, includes all socket buffer info */
55extern int zflag; /* zero stats */
56
57extern int interval; /* repeat interval for i/f stats */
58
59extern char *interface; /* desired i/f for stats, or NULL for all i/fs */
60extern int unit; /* unit number for above */

--- 111 unchanged lines hidden ---
54extern int Wflag; /* wide display */
55extern int xflag; /* extended display, includes all socket buffer info */
56extern int zflag; /* zero stats */
57
58extern int interval; /* repeat interval for i/f stats */
59
60extern char *interface; /* desired i/f for stats, or NULL for all i/fs */
61extern int unit; /* unit number for above */

--- 111 unchanged lines hidden ---