From 8388961f5ffae7cb5f2904b606d797d76c678257 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 21 Jan 2014 10:21:45 -0600 Subject: Networking: Improved status reporting and new carrier management interfaces. From Max Holtzberg --- nuttx/include/net/if.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nuttx/include/net/if.h') 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 -- cgit v1.2.3