summaryrefslogtreecommitdiff
path: root/src/basic/missing.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-10 13:04:44 +0200
committerGitHub <noreply@github.com>2016-06-10 13:04:44 +0200
commit1edce01965b4da12dbf4363e77b62471ac664fa1 (patch)
tree1b29b266256021a846cae7ffb2b6f05253f1ea93 /src/basic/missing.h
parentfec2b09791d851ac8c29d8f1e26d76717b59f33b (diff)
parent13b498f967c5117a88d72304bed1f8c0b9c1bb87 (diff)
Merge pull request #3428 from toanju/networkd/brvlan
networkd: add support to configure VLAN on bridge ports
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r--src/basic/missing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 51dafcaca9..8b977871e9 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -759,6 +759,14 @@ struct btrfs_ioctl_quota_ctl_args {
#define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1)
#endif
+#ifndef BRIDGE_VLAN_INFO_RANGE_BEGIN
+#define BRIDGE_VLAN_INFO_RANGE_BEGIN (1<<3) /* VLAN is start of vlan range */
+#endif
+
+#ifndef BRIDGE_VLAN_INFO_RANGE_END
+#define BRIDGE_VLAN_INFO_RANGE_END (1<<4) /* VLAN is end of vlan range */
+#endif
+
#if !HAVE_DECL_IFLA_BR_VLAN_DEFAULT_PVID
#define IFLA_BR_UNSPEC 0
#define IFLA_BR_FORWARD_DELAY 1