From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 10 Nov 2008 15:58:05 +0530 From: "Srinivas M.A." In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [Bridge] Modifying All Packets passing through the bridge! List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fahim Akhter Cc: bridge@lists.linux-foundation.org On Mon, Nov 10, 2008 at 11:57 AM, Fahim Akhter wrote: > The Link > https://lists.linux-foundation.org/pipermail/bridge/2008-October/006074.html > , is about capturing packets and sending to user space. Speed is important > in my current scenario. Is there anyway I can do everything in kernel > specially by hacking or tweaking the already kernel space. Instead of socket > programming and capturing packets at ethernet? That message also talks about the case where userspace will not give you enough performance. The thing to do then would be to write a network driver which sits on top of a real network device and processes the packets before passing it on in either direction. Look for the vlan and bonding drivers for examples. Or maybe you could use the netfilter hooks in bridging, if your use of this encrypted link is restricted to being between bridges.