Annotation of embedaddon/trafshow/show_dump.h, revision 1.1.1.1
1.1 misho 1: /*
2: * Copyright (c) 2004 Rinet Corp., Novosibirsk, Russia
3: *
4: * Redistribution and use in source forms, with and without modification,
5: * are permitted provided that this entire comment appears intact.
6: *
7: * THIS SOURCE CODE IS PROVIDED ``AS IS'' WITHOUT ANY WARRANTIES OF ANY KIND.
8: */
9:
10: #ifndef _SHOW_DUMP_H_
11: #define _SHOW_DUMP_H_
12:
13: #define DUMP_SNAPLEN 1536
14:
15: struct pcap_handler;
16: struct netstat;
17:
18: int show_dump_open(const struct pcap_handler *ph, const struct netstat *ns);
19: void show_dump_print(struct pcap_handler *ph);
20: void show_dump_close(void);
21: void show_dump_input(int ch);
22:
23: extern const char *dump_file;
24: extern const char *cisco_netflow_dump;
25: extern struct netstat *dump_match;
26:
27: #endif /* !_SHOW_DUMP_H_ */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>