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, 3 months ago) by misho
Branches: trafshow, MAIN
CVS tags: v5_2_3p0, v5_2_3, HEAD
trafshow

    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>