[Click] Cleanup notification

Beyers Cronje bcronje at gmail.com
Wed Feb 23 21:48:19 EST 2005


Hi,

Is there a cleanup stage an element can hook into just before standard 
cleanup, but while packet processing is still running ?

My intent is to let an element, ie a VRRP element send a 
shutdown/disconnet packet to its peers just before the router shuts 
down. My current attempt at using standard cleanup(CleanupStage) to do 
this fails, I presume once the router fires cleanup stage packet 
processing has already stopped?

Can this be done ? Or should I rely on keepalive packets with timeouts ?

Regards

Beyers


More information about the click mailing list