search for: brioctl_set

Displaying 2 results from an estimated 2 matches for "brioctl_set".

2007 Apr 18
0
[Bridge] [PATCH] (9/11) bridge -- new ioctl interface for 32/64 compatiablity
...ble, and fall back to the old interface. diff -Nru a/include/linux/if_bridge.h b/include/linux/if_bridge.h --- a/include/linux/if_bridge.h 2004-05-20 14:46:10 -07:00 +++ b/include/linux/if_bridge.h 2004-05-20 14:46:10 -07:00 @@ -104,7 +104,7 @@ #include <linux/netdevice.h> -extern void brioctl_set(int (*ioctl_hook)(unsigned long)); +extern void brioctl_set(int (*ioctl_hook)(unsigned int, unsigned long)); extern int (*br_handle_frame_hook)(struct sk_buff *skb); extern int (*br_should_route_hook)(struct sk_buff **pskb); diff -Nru a/include/linux/sockios.h b/include/linux/sockios.h --- a/in...
2007 Apr 18
3
[Bridge] [2.6 patch] fix bridge <-> ATM compile error
...05.000000000 +0100 @@ -22,7 +22,7 @@ #include "br_private.h" -#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE) +#if defined(CONFIG_ATM_LANE) || (defined(CONFIG_ATM_LANE_MODULE) && defined(MODULE)) #include "../atm/lec.h" #endif @@ -39,7 +39,7 @@ brioctl_set(br_ioctl_deviceless_stub); br_handle_frame_hook = br_handle_frame; -#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE) +#if defined(CONFIG_ATM_LANE) || (defined(CONFIG_ATM_LANE_MODULE) && defined(MODULE)) br_fdb_get_hook = br_fdb_get; br_fdb_put_hook = br_fdb_put; #end...