added files
[bcm963xx.git] / userapps / opensource / net-snmp / apps / snmpnetstat / netstat.h
1 extern int      aflag, nflag;
2 extern int      print_errors;
3 extern char    *intrface;
4 extern netsnmp_session *Session;
5
6 char           *routename(struct in_addr);
7 char           *netname(struct in_addr, u_long);
8 const char     *plural(int);
9 netsnmp_variable_list *getvarbyname(netsnmp_session *, oid *, size_t);
10
11 void            intpr(int);
12 void            intpro(int);
13 void            protopr(const char *);
14 void            routepr(void);
15 void            ip_stats(void);
16 void            icmp_stats(void);
17 void            tcp_stats(void);
18 void            udp_stats(void);
19 #ifdef INET6
20 void            protopr6(const char *);
21 #endif
22
23 void            inetprint(struct in_addr *, u_short, const char *);
24 #ifdef INET6
25 void            inet6print(struct in6_addr *, u_short, const char *);
26 #endif
27
28 void            rt_stats(void);
29
30 struct protox  *name2protox(const char *);
31 struct protox  *knownname(const char *);
32
33 void            get_ifname(char *, int);