search for: br_dev_do_ioctl

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

2007 Apr 18
0
[Bridge] [PATCH] (4/11) bridge - ioctl cleanup and consolidation
...where they can be static. diff -Nru a/net/bridge/br_device.c b/net/bridge/br_device.c --- a/net/bridge/br_device.c 2004-05-20 10:51:05 -07:00 +++ b/net/bridge/br_device.c 2004-05-20 10:51:05 -07:00 @@ -19,21 +19,6 @@ #include <asm/uaccess.h> #include "br_private.h" -static int br_dev_do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) -{ - unsigned long args[4]; - unsigned long *data; - - if (cmd != SIOCDEVPRIVATE) - return -EOPNOTSUPP; - - data = (unsigned long *)rq->ifr_data; - if (copy_from_user(args, data, 4*sizeof(unsigned long))) - return -EFAULT; - - return br_ioctl_...
2007 Apr 18
0
[Bluez-devel] Re: [Bridge] bridging bluetooth bnep deviceswith kernel 2.6.6-*
The ifreq structure to br_dev_do_ioctl() gives you the interface index (rq->ifr_ifindex) which is currently not being used. May be it can help.. -Kishore >>> David Woodhouse <dwmw2@infradead.org> 05/19/04 10:30PM >>> On Tue, 2004-05-18 at 15:36 -0700, Stephen Hemminger wrote: > Hmm, since all the blue t...