From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHvSf-0002h3-O2 for qemu-devel@nongnu.org; Wed, 22 Jul 2015 10:57:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHvSc-0004Sf-DH for qemu-devel@nongnu.org; Wed, 22 Jul 2015 10:57:33 -0400 Received: from [59.151.112.132] (port=50696 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHvSc-0004RL-1I for qemu-devel@nongnu.org; Wed, 22 Jul 2015 10:57:30 -0400 Message-ID: <55AFAF4C.4060704@cn.fujitsu.com> Date: Wed, 22 Jul 2015 22:57:16 +0800 From: Yang Hongyang MIME-Version: 1.0 References: <55AF75E6.6070909@cn.fujitsu.com> <1437562536-20414-1-git-send-email-yanghy@cn.fujitsu.com> In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] RFC/net: Add a net filter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Thomas Huth , Jason Wang , qemu-devel , Stefan Hajnoczi Hi Stefan, On 07/22/2015 09:26 PM, Stefan Hajnoczi wrote: > On Wed, Jul 22, 2015 at 11:55 AM, Yang Hongyang wrote: >> This patch add a net filter between network backend and NIC devices. >> All packets will pass by this filter. >> TODO: >> multiqueue support. >> plugin support. > > What do you mean by plugin? > A filter without plugin supplied will do nothing except pass by all packets, a plugin like dump for example, will dump all packets into a file. Or other plugins like a netbuffer plugin, will simply buffer the packets, release the packets when needed. However, these are my thoughts about the usecase, there might be more usecase about this. -- Thanks, Yang.