--- zzzz-none-000/linux-2.4.17/include/linux/if_bridge.h 2001-11-22 19:47:12.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/include/linux/if_bridge.h 2004-11-24 13:21:43.000000000 +0000 @@ -4,7 +4,7 @@ * Authors: * Lennert Buytenhek * - * $Id: if_bridge.h,v 1.1 2000/02/18 16:47:01 davem Exp $ + * $Id: if_bridge.h,v 1.1.1.1.2.2 2003/07/03 18:11:01 qle Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -38,6 +38,15 @@ #define BRCTL_SET_PORT_PRIORITY 16 #define BRCTL_SET_PATH_COST 17 #define BRCTL_GET_FDB_ENTRIES 18 +#define BRCTL_SET_FILTER_ENTRY 19 +#define BRCTL_FLUSH_FILTER_ENTERIES 20 +#define BRCTL_SHOW_FILTER_ENTERIES 21 +#define BRCTL_SET_FILTER_STATE 22 +#define BRCTL_DELETE_FILTER_ENTRY 23 + +#define BRCTL_SET_LIMIT 30 /* AVM */ +#define BRCTL_GET_LIMIT_INFO 31 /* AVM */ + #define BR_STATE_DISABLED 0 #define BR_STATE_LISTENING 1 @@ -66,6 +75,7 @@ __u32 tcn_timer_value; __u32 topology_change_timer_value; __u32 gc_timer_value; + __u8 br_filter_active; }; struct __port_info @@ -94,6 +104,17 @@ __u32 unused; }; +struct __br_filter_entry +{ + char sport[10]; + char dport[10]; + __u8 src_mac_addr[6]; + __u8 dst_mac_addr[6]; + __u16 proto; + __u8 access_type; + __u32 frames_matched; +}; + #ifdef __KERNEL__ #include