[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120103.214824.1395410287552500660.davem@davemloft.net>
Date: Tue, 03 Jan 2012 21:48:24 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: lizhenhua.dev@...il.com
Cc: greearb@...delatech.com, mirqus@...il.com, netdev@...r.kernel.org
Subject: Re: A pure virtual nic
From: "Li, Zhen-Hua" <lizhenhua.dev@...il.com>
Date: Wed, 4 Jan 2012 10:07:08 +0800
> When a program sends out a packet, at start_xmit function. it will
> unpack it and packet again with HTTP proxy headers, then give it to
> the actual physical ethernet adapter.
> When it receives a packet, unpack it and remove the http proxy
> headers, and then put it back to the queue in kernel.
A netfilter module is a much more appropriate way to implement this.
You can even implement this kind of packet mangling in userspace using
nfqueue.
--
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