1/*
2 * Copyright 2022, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _OBSD_COMPAT_NET_IF_H_
6#define _OBSD_COMPAT_NET_IF_H_
7
8
9#include_next <net/if.h>
10
11
12#define LINK_STATE_IS_UP(_s)	\
13		((_s) >= LINK_STATE_UP || (_s) == LINK_STATE_UNKNOWN)
14
15#define IFF_RUNNING		IFF_DRV_RUNNING
16
17
18#endif	/* _OBSD_COMPAT_NET_IF_H_ */
19