aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/priv_netlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'hostapd/priv_netlink.h')
-rw-r--r--hostapd/priv_netlink.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/priv_netlink.h b/hostapd/priv_netlink.h
index c9810b4..d1f6f66 100644
--- a/hostapd/priv_netlink.h
+++ b/hostapd/priv_netlink.h
@@ -7,6 +7,9 @@
* library, etc..
*/
+#ifndef IFLA_IFNAME
+#define IFLA_IFNAME 3
+#endif
#ifndef IFLA_WIRELESS
#define IFLA_WIRELESS 11
#endif
@@ -15,6 +18,7 @@
#define RTMGRP_LINK 1
#define RTM_BASE 0x10
#define RTM_NEWLINK (RTM_BASE + 0)
+#define RTM_DELLINK (RTM_BASE + 1)
#define NLMSG_ALIGNTO 4
#define NLMSG_ALIGN(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1))