diff options
Diffstat (limited to 'usr.bin/netstat/netstat.h')
-rw-r--r-- | usr.bin/netstat/netstat.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/usr.bin/netstat/netstat.h b/usr.bin/netstat/netstat.h index a3d3f5c7351..7a1c370737c 100644 --- a/usr.bin/netstat/netstat.h +++ b/usr.bin/netstat/netstat.h @@ -1,4 +1,4 @@ -/* $OpenBSD: netstat.h,v 1.35 2005/06/15 10:53:23 markus Exp $ */ +/* $OpenBSD: netstat.h,v 1.36 2006/05/27 19:16:37 claudio Exp $ */ /* $NetBSD: netstat.h,v 1.6 1996/05/07 02:55:05 thorpej Exp $ */ /* @@ -96,10 +96,10 @@ void impstats(u_long, u_long); void intpr(int, u_long); -void pr_rthdr(int); +void rt_stats(int, u_long); +void pr_rthdr(int, int); void pr_encaphdr(void); void pr_family(int); -void rt_stats(u_long); char *ns_phost(struct sockaddr *); char *ipx_phost(struct sockaddr *); void upHex(char *); @@ -117,12 +117,18 @@ void rip6_stats(u_long, char *); void mroute6pr(u_long, u_long, u_long); void mrt6_stats(u_long, u_long); char *routename6(struct sockaddr_in6 *); -char *netname6(struct sockaddr_in6 *, struct in6_addr *); +char *netname6(struct sockaddr_in6 *, struct sockaddr_in6 *); #endif /*INET6*/ -char *routename(in_addr_t); -char *netname(in_addr_t, in_addr_t); -char *ns_print(struct sockaddr *); +void p_rttables(int); +void p_flags(int, char *); +void p_addr(struct sockaddr *, struct sockaddr *, int); +void p_gwaddr(struct sockaddr *, int); +void p_sockaddr(struct sockaddr *, struct sockaddr *, int, int); +char *routename(struct sockaddr *); +char *routename4(in_addr_t); +char *netname(struct sockaddr *, struct sockaddr *); +char *netname4(in_addr_t, in_addr_t); char *ipx_print(struct sockaddr *); void routepr(u_long); |