summaryrefslogtreecommitdiffhomepage
path: root/DESIGN
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-29 01:18:26 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-03-29 01:18:26 +0200
commitb6341342b67a7ccb89e909caf7e134a86ce6b701 (patch)
treee2d828c541252dcfa341061b740ef914f7a7c2fe /DESIGN
parentd5202486636818e3ff48ede9d3e06c886c659c0a (diff)
document changes to the interface state type
Diffstat (limited to 'DESIGN')
-rw-r--r--DESIGN13
1 files changed, 10 insertions, 3 deletions
diff --git a/DESIGN b/DESIGN
index 5fb11ea..56ea474 100644
--- a/DESIGN
+++ b/DESIGN
@@ -83,14 +83,21 @@ An interface always has the following state information:
active:
The interface can be brought up (its main device is available)
-up:
- The interface has been brought up.
-
autostart:
If the interface switches from inactive to active, netifd will attempt
to bring it up immediately. Manually setting an interface to up (regardless
of whether that was successful or not) will set this flag.
+state:
+ IFS_SETUP:
+ The interface is currently being configured by the protocol handler
+ IFS_UP:
+ The interface is fully configured
+ IFS_TEARDOWN:
+ The interface is being deconfigured
+ IFS_DOWN:
+ The interface is down
+
An interface references only one protocol handler state, modular protocol
handlers such as PPP are expected to be written in a way that allows them
to be set up as slave to another protocol handler if necessary (useful for