--- upstream/dynamips-0.2.6-RC4/net_io.h 2007/10/06 16:08:03 5 +++ trunk/net_io.h 2007/10/06 16:45:40 12 @@ -1,8 +1,8 @@ /* - * Cisco 7200 (Predator) simulation platform. + * Cisco router simulation platform. * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr) * - * Network interaction. + * Network I/O Layer. */ #ifndef __NET_IO_H__ @@ -22,7 +22,7 @@ #endif /* Maximum packet size */ -#define NETIO_MAX_PKT_SIZE 8192 +#define NETIO_MAX_PKT_SIZE 32768 /* Maximum device length */ #define NETIO_DEV_MAXLEN 64 @@ -182,11 +182,14 @@ void (*save_cfg)(netio_desc_t *nio,FILE *fd); /* Packet filters */ - netio_pktfilter_t *rx_filter,*tx_filter; - void *rx_filter_data,*tx_filter_data; + netio_pktfilter_t *rx_filter,*tx_filter,*both_filter; + void *rx_filter_data,*tx_filter_data,*both_filter_data; /* Next pointer (for RX listener) */ netio_desc_t *rxl_next; + + /* Packet data */ + u_char rx_pkt[NETIO_MAX_PKT_SIZE]; }; /* RX listener */