netstat.h (56722) | netstat.h (62584) |
---|---|
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 56722 2000-01-28 05:10:56Z shin $ | 34 * $FreeBSD: head/usr.bin/netstat/netstat.h 62584 2000-07-04 16:26:46Z itojun $ |
35 */ 36 37#include <sys/cdefs.h> 38 39int Aflag; /* show addresses of protocol control block */ 40int aflag; /* show all sockets (including servers) */ 41int bflag; /* show i/f total bytes in/out */ 42int dflag; /* show i/f dropped packets */ --- 33 unchanged lines hidden (view full) --- 76#ifdef INET6 77void ip6_stats __P((u_long, char *)); 78void ip6_ifstats __P((char *)); 79void icmp6_stats __P((u_long, char *)); 80void icmp6_ifstats __P((char *)); 81void pim6_stats __P((u_long, char *)); 82void mroute6pr __P((u_long, u_long)); 83void mrt6_stats __P((u_long)); | 35 */ 36 37#include <sys/cdefs.h> 38 39int Aflag; /* show addresses of protocol control block */ 40int aflag; /* show all sockets (including servers) */ 41int bflag; /* show i/f total bytes in/out */ 42int dflag; /* show i/f dropped packets */ --- 33 unchanged lines hidden (view full) --- 76#ifdef INET6 77void ip6_stats __P((u_long, char *)); 78void ip6_ifstats __P((char *)); 79void icmp6_stats __P((u_long, char *)); 80void icmp6_ifstats __P((char *)); 81void pim6_stats __P((u_long, char *)); 82void mroute6pr __P((u_long, u_long)); 83void mrt6_stats __P((u_long)); |
84 85struct sockaddr_in6; 86struct in6_addr; 87char *routename6 __P((struct sockaddr_in6 *)); 88char *netname6 __P((struct sockaddr_in6 *, struct in6_addr *)); |
|
84#endif /*INET6*/ 85 86void bdg_stats __P((u_long, char *)); 87 88void mbpr __P((void)); 89 90void hostpr __P((u_long, u_long)); 91void impstats __P((u_long, u_long)); --- 48 unchanged lines hidden --- | 89#endif /*INET6*/ 90 91void bdg_stats __P((u_long, char *)); 92 93void mbpr __P((void)); 94 95void hostpr __P((u_long, u_long)); 96void impstats __P((u_long, u_long)); --- 48 unchanged lines hidden --- |