Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 14:45:34 +0300
From:      Andrew Riabtsev <resident@b-o.ru>
To:        Gleb Smirnoff <glebius@cell.sick.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket
Message-ID:  <4312991350.20040120144534@b-o.ru>
In-Reply-To: <20040120091732.GB10731@cell.sick.ru>
References:  <20040120012819.I312-100000@prophet.alphaque.com> <1602380953.20040120114844@b-o.ru> <20040120091732.GB10731@cell.sick.ru>

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

GS> On Tue, Jan 20, 2004 at 11:48:44AM +0300, Andrew Riabtsev wrote:
A>> >> Connecting ng_iface:inet and ng_ether:upper/lower do nothing, well, it
A>> >> do something but not what you are waiting for, i think.
A>> 
A>> DN> i know, hence was asking if there was something i could do, even if it
A>> DN> meant writing an extension to ng_ether to create a new netgraph type.
A>> 
A>> You could try to write netgraph module that makes same thing with
A>> packets and frame as functions ether_(input/output) in
A>> net/if_ethersubr.c. Thats all that come in my mind.

GS> Isn't ng_etf(4) the one you need?


As i undestand this module just filters packets, using values in
ethernet header, but Dinesh need something that add ethernet header to ip
packet in one direction and stript ip-packet from ethernet frame in
other direction.

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



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