-EXTERN int Aflag; /* show addresses of protocol control block */
-EXTERN int aflag; /* show all sockets (including servers) */
-EXTERN int bflag; /* show i/f total bytes in/out */
-EXTERN int dflag; /* show i/f dropped packets */
-EXTERN int gflag; /* show group (multicast) routing or stats */
-EXTERN int iflag; /* show static interfaces */
-EXTERN int mflag; /* show memory stats */
-EXTERN int nflag; /* show addresses numerically */
-EXTERN int pflag; /* show given protocol */
-EXTERN int rflag; /* show routing tables (or routing stats) */
-EXTERN int sflag; /* show protocol statistics */
-EXTERN int tflag; /* show i/f watchdog timers */
-
-EXTERN int interval; /* repeat interval for i/f stats */
-
-EXTERN char *interface; /* desired i/f for stats, or NULL for all i/fs */
-EXTERN int unit; /* unit number for above */
-
-EXTERN int af; /* address family */
-
-int kread __P((u_long addr, char *buf, int size));
-char *plural __P((int));
-char *plurales __P((int));
-void trimdomain __P((char *));
-
-void protopr __P((u_long, char *));
-void tcp_stats __P((u_long, char *));
-void udp_stats __P((u_long, char *));
-void ip_stats __P((u_long, char *));
-void icmp_stats __P((u_long, char *));
-void igmp_stats __P((u_long, char *));
-void protopr __P((u_long, char *));
-
-void mbpr __P((u_long));
-
-void hostpr __P((u_long, u_long));
-void impstats __P((u_long, u_long));
-
-void intpr __P((int, u_long));
-
-void pr_rthdr __P(());
-void pr_family __P((int));
-void rt_stats __P((u_long));
-char *ipx_pnet __P((struct sockaddr *));
-char *ipx_phost __P((struct sockaddr *));
-char *ns_phost __P((struct sockaddr *));
-void upHex __P((char *));
-
-char *routename __P((u_long));
-char *netname __P((u_long, u_long));
-char *atalk_print __P((struct sockaddr *, int));
-char *atalk_print2 __P((struct sockaddr *, struct sockaddr *, int));
-char *ipx_print __P((struct sockaddr *));
-char *ns_print __P((struct sockaddr *));
-void routepr __P((u_long));
-
-void ipxprotopr __P((u_long, char *));
-void spx_stats __P((u_long, char *));
-void ipx_stats __P((u_long, char *));
-void ipxerr_stats __P((u_long, char *));
-
-void nsprotopr __P((u_long, char *));
-void spp_stats __P((u_long, char *));
-void idp_stats __P((u_long, char *));
-void nserr_stats __P((u_long, char *));
-
-void atalkprotopr __P((u_long, char *));
-void ddp_stats __P((u_long, char *));
-
-void intpr __P((int, u_long));
-
-void unixpr __P((void));
-
-void esis_stats __P((u_long, char *));
-void clnp_stats __P((u_long, char *));
-void cltp_stats __P((u_long, char *));
-void iso_protopr __P((u_long, char *));
-void iso_protopr1 __P((u_long, int));
-void tp_protopr __P((u_long, char *));
-void tp_inproto __P((u_long));
-void tp_stats __P((caddr_t, caddr_t));
-
-void mroutepr __P((u_long, u_long));
-void mrt_stats __P((u_long));