Lines Matching refs:vi_egress_qos
52 struct vlan_map * vi_egress_qos; member
148 vi->vi_egress_qos = calloc(vi->vi_egress_size, sizeof(*vi->vi_egress_qos)); in vlan_parse()
149 if (vi->vi_egress_qos == NULL) in vlan_parse()
156 vi->vi_egress_qos[i].vm_from = map->from; in vlan_parse()
157 vi->vi_egress_qos[i++].vm_to = map->to; in vlan_parse()
174 free(vi->vi_egress_qos); in vlan_free()
175 vi->vi_egress_qos = NULL; in vlan_free()
231 vi->vi_egress_qos[i].vm_from, in vlan_dump_details()
232 vi->vi_egress_qos[i].vm_to); in vlan_dump_details()
254 vdst->vi_egress_qos = calloc(vsrc->vi_egress_size, in vlan_clone()
256 if (!vdst->vi_egress_qos) in vlan_clone()
259 memcpy(vdst->vi_egress_qos, vsrc->vi_egress_qos, in vlan_clone()
314 map.from = vi->vi_egress_qos[i].vm_from; in vlan_put_attrs()
315 map.to = vi->vi_egress_qos[i].vm_to; in vlan_put_attrs()
567 ptr = realloc(vi->vi_egress_qos, new_size); in rtnl_link_vlan_set_egress_map()
571 vi->vi_egress_qos = ptr; in rtnl_link_vlan_set_egress_map()
575 vi->vi_egress_qos[vi->vi_negress].vm_from = from; in rtnl_link_vlan_set_egress_map()
576 vi->vi_egress_qos[vi->vi_negress].vm_to = to; in rtnl_link_vlan_set_egress_map()
596 return vi->vi_egress_qos; in rtnl_link_vlan_get_egress_map()