Date: Fri, 25 Aug 2006 17:02:49 -0700 From: Julian Elischer <julian@elischer.org> To: Rajkumar S <rajkumars@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Netgraph plumbing question Message-ID: <44EF8FA9.3090508@elischer.org> In-Reply-To: <64de5c8b0608250849p2912457cs84c227cc914d1f10@mail.gmail.com> References: <64de5c8b0608250849p2912457cs84c227cc914d1f10@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Rajkumar S wrote: > Hi, > > In the ng_split node is it possible to merge 2 incoming streams into > mixed, while all packets received at mixed goes via out? If merge node > does not support that, is there any other way to get the same result? this is used to separate the streams going in different directions. for example: (fixed fomt needed) _____________ <-----A-------[ ng_split ]<-----A------ ------B------>[ ] ~~~~~~~~~~~~~ | B | v you can also use ng_tee for this sort of thing. e.g. _____________ <-----A&C-----[ ng_tee ]<-----A------ ------B------>[ ]------B------> ~~~~~~~~~~~~~ |^ |^ v| B| ## |C v| in addition arbtrarily complicated switching can be done with the ng_bpf node though it takes more to set it up. there may be other nods that can do what you want too.. check out all the nodes give by: man -k ng_ or it is easy to write your own, starting with /usr/src/sys/netgraph/ng_sample.c > > regards, > > raj > _______________________________________________ > 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44EF8FA9.3090508>