summaryrefslogtreecommitdiffstats
path: root/include/linux/if.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/if.h')
-rw-r--r--include/linux/if.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/if.h b/include/linux/if.h
index 32f910f..238cf43 100644
--- a/include/linux/if.h
+++ b/include/linux/if.h
@@ -117,6 +117,12 @@ enum {
IF_LINK_MODE_DORMANT, /* limit upward transition to dormant */
};
+/* carrier state */
+enum {
+ IF_CARRIER_DOWN,
+ IF_CARRIER_UP
+};
+
/*
* Device mapping structure. I'd just gone off and designed a
* beautiful scheme using only loadable modules with arguments