Hi,
I hope I am on the write place, second try...
I have written a module that loads fake wifi devices (wtap?) and
distributes packets between them. For now I use route command to route
packets between them from upper layers (TCP,...).
I want to take it to next step and create jails with VNET. I
On 2/1/11 8:40 AM, Monthadar Al Jaberi wrote:
Hi,
I hope I am on the write place, second try...
I have written a module that loads fake wifi devices (wtap?) and
distributes packets between them. For now I use route command to route
packets between them from upper layers (TCP,...).
I want to tak
On Tue, Feb 1, 2011 at 6:25 PM, Julian Elischer wrote:
> On 2/1/11 8:40 AM, Monthadar Al Jaberi wrote:
>>
>> Hi,
>>
>> I hope I am on the write place, second try...
>>
>> I have written a module that loads fake wifi devices (wtap?) and
>> distributes packets between them. For now I use route comma
On 2/1/11 11:04 AM, Monthadar Al Jaberi wrote:
On Tue, Feb 1, 2011 at 6:25 PM, Julian Elischer wrote:
On 2/1/11 8:40 AM, Monthadar Al Jaberi wrote:
Hi,
I hope I am on the write place, second try...
I have written a module that loads fake wifi devices (wtap?) and
distributes packets between t
ok here's how it works..
any place you access a V_xxx variable you need to have the current
vnet set.
so somewhere in your code path to get to that point you have to have done
CURVNET_SET() and after you have finised on the way out you should do
CURVNET_RESTORE().
you can get the vnet from sev