File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / trafshow / show_dump.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 16:55:18 2012 UTC (12 years, 2 months ago) by misho
Branches: trafshow, MAIN
CVS tags: v5_2_3p0, v5_2_3, HEAD
trafshow

/*
 *	Copyright (c) 2004 Rinet Corp., Novosibirsk, Russia
 *
 * Redistribution and use in source forms, with and without modification,
 * are permitted provided that this entire comment appears intact.
 *
 * THIS SOURCE CODE IS PROVIDED ``AS IS'' WITHOUT ANY WARRANTIES OF ANY KIND.
 */

#ifndef	_SHOW_DUMP_H_
#define	_SHOW_DUMP_H_

#define	DUMP_SNAPLEN	1536

struct pcap_handler;
struct netstat;

int show_dump_open(const struct pcap_handler *ph, const struct netstat *ns);
void show_dump_print(struct pcap_handler *ph);
void show_dump_close(void);
void show_dump_input(int ch);

extern const char *dump_file;
extern const char *cisco_netflow_dump;
extern struct netstat *dump_match;

#endif	/* !_SHOW_DUMP_H_ */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>