From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [Bridge] Bridge and PACKET-socket References: <200401060013.38748.bdschuym@pandora.be> From: Luke Gorrie In-Reply-To: <200401060013.38748.bdschuym@pandora.be> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Luke Gorrie List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Mon, 05 Jan 2004 23:50:40 -0000 To: Bart De Schuymer Cc: bridge@osdl.org Bart De Schuymer writes: > Well, if you're sending all IP packets to userspace I doubt that's faster than > an ebtables kernel module... Right, I forgot to mention that in this case it's only 802.3 frames that I'm interested in. I expect to get very few packets, and don't want to impact the performance of the other IP-based traffic. Also, I've already implemented the protocol in userspace and don't wanna move it into the kernel ;-) > I don't know the details, but can't you hook some kernel function onto > ETH_P_ALL that only sends IP packets to userspace? This still sounds like packet-socket territory to me. Wouldn't it be better to clarify/extend the packet-socket interface to cover bridged ports? -Luke