diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-21 10:21:45 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-21 10:21:45 -0600 |
commit | 8388961f5ffae7cb5f2904b606d797d76c678257 (patch) | |
tree | ff83896512fd4ef3ede6247e139f79c3052e8b51 /nuttx/include/net/if.h | |
parent | 9fc3ffdbbe02c3f9bf128527aee96a52b5657fcb (diff) | |
download | px4-nuttx-8388961f5ffae7cb5f2904b606d797d76c678257.tar.gz px4-nuttx-8388961f5ffae7cb5f2904b606d797d76c678257.tar.bz2 px4-nuttx-8388961f5ffae7cb5f2904b606d797d76c678257.zip |
Networking: Improved status reporting and new carrier management interfaces. From Max Holtzberg
Diffstat (limited to 'nuttx/include/net/if.h')
-rw-r--r-- | nuttx/include/net/if.h | 7 |
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 |