Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 11:48:44 +0300
From:      Andrew Riabtsev <resident@b-o.ru>
To:        Dinesh Nair <dinesh@alphaque.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket
Message-ID:  <1602380953.20040120114844@b-o.ru>
In-Reply-To: <20040120012819.I312-100000@prophet.alphaque.com>
References:  <20040120012819.I312-100000@prophet.alphaque.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Dinesh,

Monday, January 19, 2004, 8:29:23 PM, you wrote:


DN> On Mon, 19 Jan 2004, Andrew Riabtsev wrote:

>> DN> connecting the ng_iface hook inet to ng_ether's upper or lower doesnt make
>> DN> any sense because ng_ether itself does not do an encasulation of the IP
>> DN> packet into an ethernet frame. or am i wrong here, and just configuring it
>> DN> wrongly ?
>>
>> Connecting ng_iface:inet and ng_ether:upper/lower do nothing, well, it
>> do something but not what you are waiting for, i think.

DN> i know, hence was asking if there was something i could do, even if it
DN> meant writing an extension to ng_ether to create a new netgraph type.

You could try to write netgraph module that makes same thing with
packets and frame as functions ether_(input/output) in
net/if_ethersubr.c. Thats all that come in my mind.

-- 
 Andrew                            mailto:resident@b-o.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1602380953.20040120114844>