[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sample Netgraph code that unhooks and rehooks without losing connection
- To: Martha Pasikatan <magpasikat_(_at_)_yahoo_(_dot_)_com>
- Subject: Re: Sample Netgraph code that unhooks and rehooks without losing connection
- From: Alexander Motin <mav_(_at_)_freebsd_(_dot_)_org>
- Date: Mon, 02 Jul 2007 23:42:24 +0300
- Cc: freebsd-net_(_at_)_freebsd_(_dot_)_org
Martha Pasikatan wrote:
I would like to be able to unhook a pppoe node hooked to link0 and rehook it to a tee node. Can anyone give me a sample on how to do this?
That's impossible. As soon as pppoe node hook is disconnected all
related info will be destroyed and session will be terminated. You
should put there some other node like ng_tee to prevent session termination.
--
Alexander Motin
_______________________________________________
freebsd-net_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org