Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jul 2007 23:42:24 +0300
From:      Alexander Motin <mav@freebsd.org>
To:        Martha Pasikatan <magpasikat@yahoo.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Sample Netgraph code that unhooks and rehooks without losing connection
Message-ID:  <46896330.7070000@freebsd.org>
In-Reply-To: <1183389786.00767485.1183376402@10.7.7.3>
References:  <1183389786.00767485.1183376402@10.7.7.3>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46896330.7070000>