diff --git a/include/net/if.h b/include/net/if.h index 9944f9eb892..1d143f52087 100644 --- a/include/net/if.h +++ b/include/net/if.h @@ -126,6 +126,19 @@ # define IFF_IS_IPv4(f) (1) #endif +/* RFC 2863 operational status */ + +enum +{ + IF_OPER_UNKNOWN, + IF_OPER_NOTPRESENT, + IF_OPER_DOWN, + IF_OPER_LOWERLAYERDOWN, + IF_OPER_TESTING, + IF_OPER_DORMANT, + IF_OPER_UP, +}; + /**************************************************************************** * Public Type Definitions ****************************************************************************/