+ int hash_max;
+};
+
+enum macvlan_opt {
+ MACVLAN_OPT_MACADDR = (1 << 0),
+};
+
+struct macvlan_config {
+ const char *mode;
+
+ enum macvlan_opt flags;
+ unsigned char macaddr[6];
+};
+
+enum vlan_proto {
+ VLAN_PROTO_8021Q = 0x8100,
+ VLAN_PROTO_8021AD = 0x88A8
+};
+
+struct vlandev_config {
+ enum vlan_proto proto;
+ uint16_t vid;