#include "device.h"
#include "interface-ip.h"
#include "iprule.h"
+#include "utils.h"
enum tunnel_param {
TUNNEL_ATTR_TYPE,
VLAN_PROTO_8021AD = 0x88A8
};
+struct vlan_qos_mapping {
+ struct vlist_simple_node node; /* entry in vlandev_config->{e,in}gress_qos_mapping_list */
+ uint32_t from;
+ uint32_t to;
+};
+
struct vlandev_config {
enum vlan_proto proto;
uint16_t vid;
+ struct vlist_simple_tree ingress_qos_mapping_list; /* list of struct vlan_qos_mapping */
+ struct vlist_simple_tree egress_qos_mapping_list; /* list of struct vlan_qos_mapping */
};
static inline int system_get_addr_family(unsigned int flags)