Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket
From: Andrew Riabtsev (resident_at_b-o.ru)
Date: 01/20/04
- Previous message: Bruce Evans: "Re: timersub/timeradd/timercmp"
- In reply to: Gleb Smirnoff: "Re: netgraph questions on ng_tee, ng_iface, ng_socket"
- Next in thread: Dinesh Nair: "Re: netgraph questions on ng_tee, ng_iface, ng_socket"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 20 Jan 2004 14:45:34 +0300 To: Gleb Smirnoff <glebius@cell.sick.ru>
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 _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Bruce Evans: "Re: timersub/timeradd/timercmp"
- In reply to: Gleb Smirnoff: "Re: netgraph questions on ng_tee, ng_iface, ng_socket"
- Next in thread: Dinesh Nair: "Re: netgraph questions on ng_tee, ng_iface, ng_socket"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|