/[dynamips]/trunk/net_io_filter.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/net_io_filter.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

upstream/dynamips-0.2.6-RC5/net_io_filter.h revision 6 by dpavlin, Sat Oct 6 16:09:07 2007 UTC upstream/dynamips-0.2.7-RC1/net_io_filter.h revision 7 by dpavlin, Sat Oct 6 16:23:47 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   * Cisco 7200 (Predator) simulation platform.   * Cisco router simulation platform.
3   * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr)   * Copyright (c) 2005,2006 Christophe Fillot (cf@utc.fr)
4   *   *
5   * NetIO Packet Filters.   * NetIO Packet Filters.
# Line 18  Line 18 
18  /* Directions for filters */  /* Directions for filters */
19  #define NETIO_FILTER_DIR_RX  0  #define NETIO_FILTER_DIR_RX  0
20  #define NETIO_FILTER_DIR_TX  1  #define NETIO_FILTER_DIR_TX  1
21    #define NETIO_FILTER_DIR_BOTH 2
22    
23    struct netio_filter_capture {
24       pcap_t *desc;
25       pcap_dumper_t *dumper;
26    };
27    
28  /* Find a filter */  /* Find a filter */
29  netio_pktfilter_t *netio_filter_find(char *name);  netio_pktfilter_t *netio_filter_find(char *name);

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26