]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
network: Adds veth vlan_id, vlan_id_set and vlan_tagged_ids
authorThomas Parrott <thomas.parrott@canonical.com>
Wed, 3 Jun 2020 10:08:19 +0000 (11:08 +0100)
committerThomas Parrott <thomas.parrott@canonical.com>
Mon, 8 Jun 2020 12:27:07 +0000 (13:27 +0100)
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
src/lxc/network.h

index 696380c9009a018cc23db2a2dc2d36ffa09c79f8..cd4fde323e0aa90d435666b11d5f341a41d96bf0 100644 (file)
@@ -79,6 +79,9 @@ struct ifla_veth {
        struct lxc_list ipv4_routes;
        struct lxc_list ipv6_routes;
        int mode; /* bridge, router */
+       short vlan_id;
+       bool vlan_id_set;
+       struct lxc_list vlan_tagged_ids;
 };
 
 struct ifla_vlan {