Re: Netgraph plumbing question
- From: Julian Elischer <julian@xxxxxxxxxxxx>
- Date: Fri, 25 Aug 2006 17:02:49 -0700
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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Netgraph plumbing question
- From: Rajkumar S
- Re: Netgraph plumbing question
- References:
- Netgraph plumbing question
- From: Rajkumar S
- Netgraph plumbing question
- Prev by Date: possible patch for implementing split DNS
- Next by Date: Re: Zeroconfig and Multicast DNS
- Previous by thread: Netgraph plumbing question
- Next by thread: Re: Netgraph plumbing question
- Index(es):