summaryrefslogtreecommitdiff
path: root/nuttx/include/net
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-21 10:21:45 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-21 10:21:45 -0600
commit8388961f5ffae7cb5f2904b606d797d76c678257 (patch)
treeff83896512fd4ef3ede6247e139f79c3052e8b51 /nuttx/include/net
parent9fc3ffdbbe02c3f9bf128527aee96a52b5657fcb (diff)
downloadnuttx-8388961f5ffae7cb5f2904b606d797d76c678257.tar.gz
nuttx-8388961f5ffae7cb5f2904b606d797d76c678257.tar.bz2
nuttx-8388961f5ffae7cb5f2904b606d797d76c678257.zip
Networking: Improved status reporting and new carrier management interfaces. From Max Holtzberg
Diffstat (limited to 'nuttx/include/net')
-rw-r--r--nuttx/include/net/if.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/include/net/if.h b/nuttx/include/net/if.h
index 1ff8ebc38..9c1f2a551 100644
--- a/nuttx/include/net/if.h
+++ b/nuttx/include/net/if.h
@@ -52,9 +52,10 @@
#define IF_NAMESIZE 6 /* Newer naming standard */
#define IFHWADDRLEN 6
-#define IFF_RUNNING (1 << 0)
-#define IF_FLAG_IFUP (1 << 0)
-#define IF_FLAG_IFDOWN (2 << 0)
+#define IFF_DOWN (1 << 0)
+#define IFF_UP (1 << 1)
+#define IFF_RUNNING (1 << 2)
+
/*******************************************************************************************
* Public Type Definitions