aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rtnetlink.h
diff options
context:
space:
mode:
authorStefan Rompf <stefan@loplof.de>2006-03-20 20:09:11 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-20 20:09:11 -0500
commitb00055aacdb172c05067612278ba27265fcd05ce (patch)
tree4dbbee11b02d54cc0978113dfb07c53fdce17aa8 /include/linux/rtnetlink.h
parente843b9e1bec4a953d848a319da6a18ca5c667f55 (diff)
[NET] core: add RFC2863 operstate
this patch adds a dormant flag to network devices, RFC2863 operstate derived from these flags and possibility for userspace interaction. It allows drivers to signal that a device is unusable for user traffic without disabling queueing (and therefore the possibility for protocol establishment traffic to flow) and a userspace supplicant (WPA, 802.1X) to mark a device unusable without changes to the driver. It is the result of our long discussion. However I must admit that it represents what Jamal and I agreed on with compromises towards Krzysztof, but Thomas and Krzysztof still disagree with some parts. Anyway I think it should be applied. Signed-off-by: Stefan Rompf <stefan@loplof.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r--include/linux/rtnetlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index d50482ba27fe..edccefb45188 100644
--- a/include/linux/rtnetlink.h
+++ b/include/linux/rtnetlink.h
@@ -733,6 +733,8 @@ enum
733#define IFLA_MAP IFLA_MAP 733#define IFLA_MAP IFLA_MAP
734 IFLA_WEIGHT, 734 IFLA_WEIGHT,
735#define IFLA_WEIGHT IFLA_WEIGHT 735#define IFLA_WEIGHT IFLA_WEIGHT
736 IFLA_OPERSTATE,
737 IFLA_LINKMODE,
736 __IFLA_MAX 738 __IFLA_MAX
737}; 739};
738 740