* [Bridge] new ioctl
@ 2005-07-11 7:51 munro
2005-07-11 17:20 ` Stephen Hemminger
0 siblings, 1 reply; 3+ messages in thread
From: munro @ 2005-07-11 7:51 UTC (permalink / raw)
To: bridge
Hi, all,
I am a newbie. i wish to add another ioctl into brctl for doing some
manipulations. How do i do so??
Please advise on the steps.
Regards,
Munro
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [Bridge] new ioctl
@ 2005-07-11 12:49 Steve Lazaridis
0 siblings, 0 replies; 3+ messages in thread
From: Steve Lazaridis @ 2005-07-11 12:49 UTC (permalink / raw)
To: munro, bridge
Take a look at net/bridge/br.c and net/bridge/br_ioctl.c
Steve
-----Original Message-----
From: bridge-bounces@lists.osdl.org on behalf of munro
Sent: Mon 7/11/2005 3:51 AM
To: bridge@lists.osdl.org
Cc:
Subject: [Bridge] new ioctl
Hi, all,
I am a newbie. i wish to add another ioctl into brctl for doing some
manipulations. How do i do so??
Please advise on the steps.
Regards,
Munro
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bridge] new ioctl
2005-07-11 7:51 [Bridge] new ioctl munro
@ 2005-07-11 17:20 ` Stephen Hemminger
0 siblings, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2005-07-11 17:20 UTC (permalink / raw)
To: munro; +Cc: bridge
On Mon, 11 Jul 2005 15:51:38 +0800
munro <munro.biswal@smartbridges.com> wrote:
> Hi, all,
>
> I am a newbie. i wish to add another ioctl into brctl for doing some
> manipulations. How do i do so??
>
> Please advise on the steps.
>
I moved away from using ioctl's for doing bridge stuff and used
sysfs instead for the newer API's in 2.6. The problem was that
it is impossible to to use device private ioctl's in a mixed
32bit/64bit environment. If you look at the ioctl translation
code in kernel/compat.c you will see how the bridge specific
ioctl's are translated. But the SIOCDEVPRIVATE one's couldn't
easily be fixed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-11 17:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-11 7:51 [Bridge] new ioctl munro
2005-07-11 17:20 ` Stephen Hemminger
-- strict thread matches above, loose matches on Subject: below --
2005-07-11 12:49 Steve Lazaridis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.