aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-12-02 16:27:02 +0100
committerLennart Poettering <lennart@poettering.net>2018-12-03 10:31:05 +0100
commit9714c020fc4cda1823c2a77e3fd08aefa7d78b25 (patch)
treea5b89a959d01cbf859922ee45479b0af9977ae3b /src/basic/missing_vxcan.h
parentsd-boot: remove Stall() call (#11029) (diff)
downloadsystemd-9714c020fc4cda1823c2a77e3fd08aefa7d78b25.tar.gz
systemd-9714c020fc4cda1823c2a77e3fd08aefa7d78b25.tar.bz2
systemd-9714c020fc4cda1823c2a77e3fd08aefa7d78b25.zip
missing: split network related entries
Also adds comments which kernel version added the entries. Closes #10553.
Diffstat (limited to 'src/basic/missing_vxcan.h')
-rw-r--r--src/basic/missing_vxcan.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/basic/missing_vxcan.h b/src/basic/missing_vxcan.h
new file mode 100644
index 000000000..be430f708
--- /dev/null
+++ b/src/basic/missing_vxcan.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+#if !HAVE_LINUX_CAN_VXCAN_H /* linux@a8f820a380a2a06fc4fe1a54159067958f800929 (4.12) */
+enum {
+ VXCAN_INFO_UNSPEC,
+ VXCAN_INFO_PEER,
+
+ __VXCAN_INFO_MAX
+#define VXCAN_INFO_MAX (__VXCAN_INFO_MAX - 1)
+};
+#endif