[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b9800b70705252328x6318c85es922e81662ce41762@mail.gmail.com>
Date: Sat, 26 May 2007 03:28:27 -0300
From: "Martín Ferrari" <martin.ferrari@...il.com>
To: "Ben Greear" <greearb@...delatech.com>
Cc: netdev@...r.kernel.org
Subject: Re: IFF_PROMISC again
Hi Ben,
On 5/22/07, Ben Greear <greearb@...delatech.com> wrote:
> > PACKET_(ADD|REMOVE)_MEMBERSHIP, I need to query the real device state.
> I have the same problem. I think you can tell by looking at bit 0x100
> in /sys/class/net/[ethX]/flags
>
> Not exactly fun to use, but it seems to work.
Wow, I searched for this a lot! It could be all I need, although it
doesn't seem very robust to look at the bitmap driectly, is it?
Maybe it would be cleaner to add an "promiscuity" file to that structure?
--
Martín Ferrari
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists