Deleted Added
full compact
netstat.h (302408) netstat.h (311670)
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: stable/11/usr.bin/netstat/netstat.h 296882 2016-03-15 00:19:30Z glebius $
30 * $FreeBSD: stable/11/usr.bin/netstat/netstat.h 311670 2017-01-08 07:25:22Z delphij $
31 */
32
33#include <sys/cdefs.h>
34
35#define satosin(sa) ((struct sockaddr_in *)(sa))
36#define satosin6(sa) ((struct sockaddr_in6 *)(sa))
37#define sin6tosa(sin6) ((struct sockaddr *)(sin6))
38

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

95void pfsync_stats(u_long, const char *, int, int);
96#ifdef IPSEC
97void ipsec_stats(u_long, const char *, int, int);
98void esp_stats(u_long, const char *, int, int);
99void ah_stats(u_long, const char *, int, int);
100void ipcomp_stats(u_long, const char *, int, int);
101#endif
102
31 */
32
33#include <sys/cdefs.h>
34
35#define satosin(sa) ((struct sockaddr_in *)(sa))
36#define satosin6(sa) ((struct sockaddr_in6 *)(sa))
37#define sin6tosa(sin6) ((struct sockaddr *)(sin6))
38

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

95void pfsync_stats(u_long, const char *, int, int);
96#ifdef IPSEC
97void ipsec_stats(u_long, const char *, int, int);
98void esp_stats(u_long, const char *, int, int);
99void ah_stats(u_long, const char *, int, int);
100void ipcomp_stats(u_long, const char *, int, int);
101#endif
102
103#ifdef INET
104struct in_addr;
105
106char *inetname(struct in_addr *);
107#endif
108
103#ifdef INET6
109#ifdef INET6
110struct in6_addr;
111
112char *inet6name(struct in6_addr *);
104void ip6_stats(u_long, const char *, int, int);
105void ip6_ifstats(char *);
106void icmp6_stats(u_long, const char *, int, int);
107void icmp6_ifstats(char *);
108void pim6_stats(u_long, const char *, int, int);
109void rip6_stats(u_long, const char *, int, int);
110void mroute6pr(void);
111void mrt6_stats(void);

--- 37 unchanged lines hidden ---
113void ip6_stats(u_long, const char *, int, int);
114void ip6_ifstats(char *);
115void icmp6_stats(u_long, const char *, int, int);
116void icmp6_ifstats(char *);
117void pim6_stats(u_long, const char *, int, int);
118void rip6_stats(u_long, const char *, int, int);
119void mroute6pr(void);
120void mrt6_stats(void);

--- 37 unchanged lines hidden ---