--- upstream/dynamips-0.2.6-RC1/net_io_filter.h 2007/10/06 16:03:58 2 +++ upstream/dynamips-0.2.7/net_io_filter.h 2007/10/06 16:29:14 10 @@ -1,5 +1,5 @@ /* - * Cisco 7200 (Predator) simulation platform. + * Cisco router simulation platform. * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr) * * NetIO Packet Filters. @@ -18,6 +18,14 @@ /* Directions for filters */ #define NETIO_FILTER_DIR_RX 0 #define NETIO_FILTER_DIR_TX 1 +#define NETIO_FILTER_DIR_BOTH 2 + +#ifdef GEN_ETH +struct netio_filter_capture { + pcap_t *desc; + pcap_dumper_t *dumper; +}; +#endif /* Find a filter */ netio_pktfilter_t *netio_filter_find(char *name);