From: Felix Fietkau Date: Sun, 3 Apr 2011 17:08:00 +0000 (+0200) Subject: document PROTO_FLAG_IMMEDIATE X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=2b33b33188ed2d02d7236171edc031af9b76eafc document PROTO_FLAG_IMMEDIATE --- diff --git a/DESIGN b/DESIGN index 02ffe5c..4d58bcf 100644 --- a/DESIGN +++ b/DESIGN @@ -132,5 +132,9 @@ set, the protocol handler needs to clean up immediately as good as possible, without waiting for its pending actions to complete. If it has spawned any child processes, it needs to kill them and clean up their mess. +Simple protocol handlers can set the PROTO_FLAG_IMMEDIATE flag if they +can perform all required actions immediately without waiting and thus +do not need to schedule IFPEV_UP and IFPEV_DOWN transitions. This will +cause those events to be generated by core code instead. ## TODO: Configuration management, ubus callbacks