about summary refs log tree commit diff
path: root/src/nm-compat-headers
diff options
context:
space:
mode:
authorJeremy Bicha <jeremy.bicha@canonical.com>2023-02-14 10:06:06 -0500
committerJeremy Bicha <jeremy.bicha@canonical.com>2023-02-14 10:06:06 -0500
commitb3c2e57e153446d32d16f2d99e6abbb50146dddb (patch)
treee71a5353ff26c7e33cbe6e482874bedc1c3cc1cd /src/nm-compat-headers
parent1d817ebf5302c204e3ce9d3512db13bf834fee33 (diff)
parented857ba34efc2ec899f2e3fbd8e35324561a55b2 (diff)
Merge tag 'debian/1.42.0-1' into ubuntu/master
network-manager Debian release 1.42.0-1
Diffstat (limited to 'src/nm-compat-headers')
-rw-r--r--src/nm-compat-headers/linux/if_addr.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nm-compat-headers/linux/if_addr.h b/src/nm-compat-headers/linux/if_addr.h
new file mode 100644
index 00000000..51cdf7ea
--- /dev/null
+++ b/src/nm-compat-headers/linux/if_addr.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
+#ifndef __NM_COMPAT_HEADER_LINUX_IF_ADDR_H__
+#define __NM_COMPAT_HEADER_LINUX_IF_ADDR_H__
+
+#include <linux/if_addr.h>
+
+#ifndef IFA_F_MANAGETEMPADDR
+#define IFA_F_MANAGETEMPADDR 0x100
+#endif
+
+#ifndef IFA_F_NOPREFIXROUTE
+#define IFA_F_NOPREFIXROUTE 0x200
+#endif
+
+#endif /* __NM_COMPAT_HEADER_LINUX_IF_ADDR_H__ */