summaryrefslogtreecommitdiffhomepage
path: root/DESIGN
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-03 19:08:00 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-04-03 19:08:00 +0200
commit2b33b33188ed2d02d7236171edc031af9b76eafc (patch)
tree892648dba719bbf057b06264d7aaf19b9b5005ab /DESIGN
parent56b7cadaeb51a60afa5666e190906d332840d5a1 (diff)
document PROTO_FLAG_IMMEDIATE
Diffstat (limited to 'DESIGN')
-rw-r--r--DESIGN4
1 files changed, 4 insertions, 0 deletions
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