Sry, The problem is that I receive the packet from this NIC and send this
packet via the same NIC? Does netmap can help me?
Regards,
Niu Zhixiong
---
kaia...@gmail.com
On Thu, Jul 10, 2014 at 1:47 AM, Sami Halabi wrote:
> use netgraph.
> In theory it should work.. in practice It w
use netgraph.
In theory it should work.. in practice It worked for me once, but couldn't
repeat the success.
See ng_patch. Here is the code i tried:
kldload ng_patch
kldload ng_ipfw
/usr/sbin/ngctl -f- << SEQ
mkpeer ipfw: patch 300 in
name ipfw:300 src_dst_chg
On 7/9/14, 1:01 PM, Niu Zhixiong wrote:
Hi, all
I have only one NIC. I want to capture packets from one certain ip address
and change the both src and dst addresses and forward to other destination
via the same NIC. It is possible? Is there any library to help me do this?
there is no library, bu
On Wed, Jul 09, 2014 at 04:36:53PM +0200, Hans Petter Selasky wrote:
> On 07/08/14 21:17, Navdeep Parhar wrote:
...
> >
> >I think we need to design this to be as generic as possible. I have
> >quite a bit of code that does this stuff but I haven't pushed it
> >upstream or even offered it for revi
On 07/08/14 21:17, Navdeep Parhar wrote:
On 07/08/14 10:46, Hans Petter Selasky wrote:
Hi,
I'm working on a new feature which will allow TCP connections to be
timing controlled by the ethernet hardware driver, actually the mlxen
driver. The main missing piece in the kernel is to allow the mbuf'