Deleted Added
full compact
netstat.h (129906) netstat.h (142215)
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 129906 2004-05-31 21:46:06Z bmilekic $
34 * $FreeBSD: head/usr.bin/netstat/netstat.h 142215 2005-02-22 13:04:05Z glebius $
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 */

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

66
67void protopr(u_long, const char *, int);
68void tcp_stats(u_long, const char *, int);
69void udp_stats(u_long, const char *, int);
70void ip_stats(u_long, const char *, int);
71void icmp_stats(u_long, const char *, int);
72void igmp_stats(u_long, const char *, int);
73void pim_stats(u_long, const char *, int);
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 */

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

66
67void protopr(u_long, const char *, int);
68void tcp_stats(u_long, const char *, int);
69void udp_stats(u_long, const char *, int);
70void ip_stats(u_long, const char *, int);
71void icmp_stats(u_long, const char *, int);
72void igmp_stats(u_long, const char *, int);
73void pim_stats(u_long, const char *, int);
74void carp_stats (u_long, const char *, int);
74#ifdef IPSEC
75void ipsec_stats(u_long, const char *, int);
76#endif
77
78#ifdef INET6
79void ip6_stats(u_long, const char *, int);
80void ip6_ifstats(char *);
81void icmp6_stats(u_long, const char *, int);

--- 72 unchanged lines hidden ---
75#ifdef IPSEC
76void ipsec_stats(u_long, const char *, int);
77#endif
78
79#ifdef INET6
80void ip6_stats(u_long, const char *, int);
81void ip6_ifstats(char *);
82void icmp6_stats(u_long, const char *, int);

--- 72 unchanged lines hidden ---