Deleted Added
full compact
netstat.h (202060) netstat.h (204202)
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 202060 2010-01-11 03:00:17Z delphij $
34 * $FreeBSD: head/usr.bin/netstat/netstat.h 204202 2010-02-22 15:57:36Z rwatson $
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 */

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

62extern int af; /* address family */
63extern int live; /* true if we are examining a live system */
64
65int kread(u_long addr, void *buf, size_t size);
66const char *plural(uintmax_t);
67const char *plurales(uintmax_t);
68const char *pluralies(uintmax_t);
69
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 */

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

62extern int af; /* address family */
63extern int live; /* true if we are examining a live system */
64
65int kread(u_long addr, void *buf, size_t size);
66const char *plural(uintmax_t);
67const char *plurales(uintmax_t);
68const char *pluralies(uintmax_t);
69
70struct sockaddr;
71struct socket;
72struct xsocket;
70int sotoxsocket(struct socket *, struct xsocket *);
71void protopr(u_long, const char *, int, int);
72void tcp_stats(u_long, const char *, int, int);
73void udp_stats(u_long, const char *, int, int);
74#ifdef SCTP
75void sctp_protopr(u_long, const char *, int, int);
76void sctp_stats(u_long, const char *, int, int);
77#endif

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

107#endif /*INET6*/
108
109#ifdef IPSEC
110void pfkey_stats(u_long, const char *, int, int);
111#endif
112
113void mbpr(void *, u_long);
114
73int sotoxsocket(struct socket *, struct xsocket *);
74void protopr(u_long, const char *, int, int);
75void tcp_stats(u_long, const char *, int, int);
76void udp_stats(u_long, const char *, int, int);
77#ifdef SCTP
78void sctp_protopr(u_long, const char *, int, int);
79void sctp_stats(u_long, const char *, int, int);
80#endif

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

110#endif /*INET6*/
111
112#ifdef IPSEC
113void pfkey_stats(u_long, const char *, int, int);
114#endif
115
116void mbpr(void *, u_long);
117
118void netisr_stats(void);
119
115void hostpr(u_long, u_long);
116void impstats(u_long, u_long);
117
118void intpr(int, u_long, void (*)(char *));
119
120void pr_rthdr(int);
121void pr_family(int);
122void rt_stats(u_long, u_long);

--- 44 unchanged lines hidden ---
120void hostpr(u_long, u_long);
121void impstats(u_long, u_long);
122
123void intpr(int, u_long, void (*)(char *));
124
125void pr_rthdr(int);
126void pr_family(int);
127void rt_stats(u_long, u_long);

--- 44 unchanged lines hidden ---