and added files
[bcm963xx.git] / userapps / opensource / net-snmp / apps / snmpnetstat / netstat.h
diff --git a/userapps/opensource/net-snmp/apps/snmpnetstat/netstat.h b/userapps/opensource/net-snmp/apps/snmpnetstat/netstat.h
new file mode 100644 (file)
index 0000000..f9e03da
--- /dev/null
@@ -0,0 +1,33 @@
+extern int      aflag, nflag;
+extern int      print_errors;
+extern char    *intrface;
+extern netsnmp_session *Session;
+
+char           *routename(struct in_addr);
+char           *netname(struct in_addr, u_long);
+const char     *plural(int);
+netsnmp_variable_list *getvarbyname(netsnmp_session *, oid *, size_t);
+
+void            intpr(int);
+void            intpro(int);
+void            protopr(const char *);
+void            routepr(void);
+void            ip_stats(void);
+void            icmp_stats(void);
+void            tcp_stats(void);
+void            udp_stats(void);
+#ifdef INET6
+void            protopr6(const char *);
+#endif
+
+void            inetprint(struct in_addr *, u_short, const char *);
+#ifdef INET6
+void            inet6print(struct in6_addr *, u_short, const char *);
+#endif
+
+void            rt_stats(void);
+
+struct protox  *name2protox(const char *);
+struct protox  *knownname(const char *);
+
+void            get_ifname(char *, int);