On Fri, Jul 15, 2005 at 04:16:17PM -0700, Max Krasnyansky ([EMAIL PROTECTED]) 
wrote:
> Evgeniy,
> 
> > The latest version is available at 
> > http://tservice.net.ru/~s0mbre/archive/af_tlb
> > 
> > It has several enhancements, fixed some stuff, 
> > many cleanups. Fixed/upgraded skb freeing mechanism.
> Thanks. I'll take a look at it.
> 
> > I think this zero-copy mechanism
> > can be used in tun/tap devices too , 
> > although main idea was to implement 
> > sniffer module to grab whole traffic as fast
> > as possible - current code requeues skb from 
> > prot_hook.func() into per-socket queue, 
> > so it could be used for tun/tap device queue too.
> TUN/TAP has to do pretty much the same thing on RX. ie deliver skbs that
> show up on tunX interface to the user-space as fast as we can.

Sure.
I think, if remapping idea is worth to be implemented, it could be some
common code to be used in TUN/TAP device to receive only specified
packets,  or packet socket (yet another :) ) to receive all traffic.


> Max
> 
> 
> 
> 
>       

-- 
        Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to