about summary refs log tree commit diff
path: root/src/nm-compat-headers
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2023-03-09 20:01:53 +0100
committerMichael Biebl <biebl@debian.org>2023-03-09 20:01:53 +0100
commitcffb548b401e2cd3fad166aa92e0f634bbb1d4d6 (patch)
tree6d803d8f7d0d92a1c5e5705974fff8975472af95 /src/nm-compat-headers
parent647d6b95d5475e0a1bf3d6f299d1cb8c9041a7a4 (diff)
parent12e1ee797bbf0b10d1fd5afd4b947484769f2b9f (diff)
Merge tag 'debian/1.42.4-1' into debian/bullseye-backports
network-manager Debian release 1.42.4-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__ */