netstat.h (5e0517186d418529323a5eb007287145e4fd3b50) | netstat.h (f964d60dd3287932055bfdaadf3cba4a7ff2d648) |
---|---|
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 --- 50 unchanged lines hidden (view full) --- 59 60extern int af; /* address family */ 61 62int kread (u_long addr, char *buf, int size); 63char *plural (int); 64char *plurales (int); 65 66void protopr (u_long, char *, int); | 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 --- 50 unchanged lines hidden (view full) --- 59 60extern int af; /* address family */ 61 62int kread (u_long addr, char *buf, int size); 63char *plural (int); 64char *plurales (int); 65 66void protopr (u_long, char *, int); |
67void tcp_stats (u_long, char *); 68void udp_stats (u_long, char *); 69void ip_stats (u_long, char *); 70void icmp_stats (u_long, char *); 71void igmp_stats (u_long, char *); | 67void tcp_stats (u_long, char *, int); 68void udp_stats (u_long, char *, int); 69void ip_stats (u_long, char *, int); 70void icmp_stats (u_long, char *, int); 71void igmp_stats (u_long, char *, int); |
72#ifdef IPSEC | 72#ifdef IPSEC |
73void ipsec_stats (u_long, char *); | 73void ipsec_stats (u_long, char *, int); |
74#endif 75 76#ifdef INET6 | 74#endif 75 76#ifdef INET6 |
77void ip6_stats (u_long, char *); | 77void ip6_stats (u_long, char *, int); |
78void ip6_ifstats (char *); | 78void ip6_ifstats (char *); |
79void icmp6_stats (u_long, char *); | 79void icmp6_stats (u_long, char *, int); |
80void icmp6_ifstats (char *); | 80void icmp6_ifstats (char *); |
81void pim6_stats (u_long, char *); 82void rip6_stats (u_long, char *); | 81void pim6_stats (u_long, char *, int); 82void rip6_stats (u_long, char *, int); |
83void mroute6pr (u_long, u_long); 84void mrt6_stats (u_long); 85 86struct sockaddr_in6; 87struct in6_addr; 88char *routename6 (struct sockaddr_in6 *); 89char *netname6 (struct sockaddr_in6 *, struct in6_addr *); 90#endif /*INET6*/ 91 92#ifdef IPSEC | 83void mroute6pr (u_long, u_long); 84void mrt6_stats (u_long); 85 86struct sockaddr_in6; 87struct in6_addr; 88char *routename6 (struct sockaddr_in6 *); 89char *netname6 (struct sockaddr_in6 *, struct in6_addr *); 90#endif /*INET6*/ 91 92#ifdef IPSEC |
93void pfkey_stats (u_long, char *); | 93void pfkey_stats (u_long, char *, int); |
94#endif 95 | 94#endif 95 |
96void bdg_stats (u_long, char *); | 96void bdg_stats (u_long, char *, int); |
97 98void mbpr (u_long, u_long, u_long, u_long); 99 100void hostpr (u_long, u_long); 101void impstats (u_long, u_long); 102 103void intpr (int, u_long, void (*)(char *)); 104 --- 8 unchanged lines hidden (view full) --- 113char *routename (u_long); 114char *netname (u_long, u_long); 115char *atalk_print (struct sockaddr *, int); 116char *atalk_print2 (struct sockaddr *, struct sockaddr *, int); 117char *ipx_print (struct sockaddr *); 118char *ns_print (struct sockaddr *); 119void routepr (u_long); 120 | 97 98void mbpr (u_long, u_long, u_long, u_long); 99 100void hostpr (u_long, u_long); 101void impstats (u_long, u_long); 102 103void intpr (int, u_long, void (*)(char *)); 104 --- 8 unchanged lines hidden (view full) --- 113char *routename (u_long); 114char *netname (u_long, u_long); 115char *atalk_print (struct sockaddr *, int); 116char *atalk_print2 (struct sockaddr *, struct sockaddr *, int); 117char *ipx_print (struct sockaddr *); 118char *ns_print (struct sockaddr *); 119void routepr (u_long); 120 |
121void ipxprotopr (u_long, char *); 122void spx_stats (u_long, char *); 123void ipx_stats (u_long, char *); 124void ipxerr_stats (u_long, char *); | 121void ipxprotopr (u_long, char *, int); 122void spx_stats (u_long, char *, int); 123void ipx_stats (u_long, char *, int); 124void ipxerr_stats (u_long, char *, int); |
125 | 125 |
126void nsprotopr (u_long, char *); 127void spp_stats (u_long, char *); 128void idp_stats (u_long, char *); 129void nserr_stats (u_long, char *); | 126void nsprotopr (u_long, char *, int); 127void spp_stats (u_long, char *, int); 128void idp_stats (u_long, char *, int); 129void nserr_stats (u_long, char *, int); |
130 | 130 |
131void atalkprotopr (u_long, char *); 132void ddp_stats (u_long, char *); | 131void atalkprotopr (u_long, char *, int); 132void ddp_stats (u_long, char *, int); |
133 | 133 |
134void netgraphprotopr (u_long, char *); | 134void netgraphprotopr (u_long, char *, int); |
135 136void unixpr (void); 137 | 135 136void unixpr (void); 137 |
138void esis_stats (u_long, char *); 139void clnp_stats (u_long, char *); 140void cltp_stats (u_long, char *); 141void iso_protopr (u_long, char *); | 138void esis_stats (u_long, char *, int); 139void clnp_stats (u_long, char *, int); 140void cltp_stats (u_long, char *, int); 141void iso_protopr (u_long, char *, int); |
142void iso_protopr1 (u_long, int); | 142void iso_protopr1 (u_long, int); |
143void tp_protopr (u_long, char *); | 143void tp_protopr (u_long, char *, int); |
144void tp_inproto (u_long); 145void tp_stats (caddr_t, caddr_t); 146 147void mroutepr (u_long, u_long); 148void mrt_stats (u_long); 149 | 144void tp_inproto (u_long); 145void tp_stats (caddr_t, caddr_t); 146 147void mroutepr (u_long, u_long); 148void mrt_stats (u_long); 149 |