summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/vlan.h
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2021-01-12 14:30:56 +0100
committerSusant Sahani <ssahani@vmware.com>2021-01-12 14:30:56 +0100
commit0d9b8913e256cbcf1b9f2015bed52db5256900f1 (patch)
tree0796b885c3f576eef7c49f0d58c447d9d036aa48 /src/network/netdev/vlan.h
parentsd-netlink: Add VLan QOS map properties (diff)
downloadsystemd-0d9b8913e256cbcf1b9f2015bed52db5256900f1.tar.xz
systemd-0d9b8913e256cbcf1b9f2015bed52db5256900f1.zip
network: Allow to configure VLan egress qos maps
Diffstat (limited to 'src/network/netdev/vlan.h')
-rw-r--r--src/network/netdev/vlan.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/netdev/vlan.h b/src/network/netdev/vlan.h
index fbaad5a538..376024d4fd 100644
--- a/src/network/netdev/vlan.h
+++ b/src/network/netdev/vlan.h
@@ -4,6 +4,7 @@
typedef struct VLan VLan;
#include "netdev.h"
+#include "set.h"
struct VLan {
NetDev meta;
@@ -15,7 +16,11 @@ struct VLan {
int mvrp;
int loose_binding;
int reorder_hdr;
+
+ Set *egress_qos_maps;
};
DEFINE_NETDEV_CAST(VLAN, VLan);
extern const NetDevVTable vlan_vtable;
+
+CONFIG_PARSER_PROTOTYPE(config_parse_vlan_qos_maps);