summaryrefslogtreecommitdiffstats
path: root/src/basic/missing_network.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-01-21 16:41:49 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-01-21 17:33:53 +0100
commit25ec18c4d8f71cb3977a5766d1aa247d03197e26 (patch)
tree389b9955463378e67c332003e7cdcc8b323a3719 /src/basic/missing_network.h
parentudev,networkd: use the interface name as fallback basis for MAC and IPv4LL seed (diff)
downloadsystemd-25ec18c4d8f71cb3977a5766d1aa247d03197e26.tar.xz
systemd-25ec18c4d8f71cb3977a5766d1aa247d03197e26.zip
basic/missing: add more addr_assign_type values
Diffstat (limited to 'src/basic/missing_network.h')
-rw-r--r--src/basic/missing_network.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/basic/missing_network.h b/src/basic/missing_network.h
index 59a8cd2c60..80ef13fd3e 100644
--- a/src/basic/missing_network.h
+++ b/src/basic/missing_network.h
@@ -98,10 +98,22 @@
#endif
/* netdevice.h */
+#ifndef NET_ADDR_PERM
+#define NET_ADDR_PERM 0
+#endif
+
#ifndef NET_ADDR_RANDOM
#define NET_ADDR_RANDOM 1
#endif
+#ifndef NET_ADDR_STOLEN
+#define NET_ADDR_STOLEN 2
+#endif
+
+#ifndef NET_ADDR_SET
+#define NET_ADDR_SET 3
+#endif
+
#ifndef NET_NAME_UNKNOWN
#define NET_NAME_UNKNOWN 0
#endif