netgraph questions on ng_tee, ng_iface, ng_socket

Dinesh Nair dinesh at alphaque.com
Wed Jan 21 12:06:23 PST 2004


On Wed, 21 Jan 2004, Andrew Riabtsev wrote:

> And now befor send out packet throw one of "many" hook just overwrite
> ip-src address with address given in
> node->private->enabledLinks[hook->private->numb] or whatever it is
> called in ng_one2many.c

you'd also need to overwrite the destination ethernet address with the
ethernet address of the next hop router for that interface.

Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



More information about the freebsd-net mailing list