Home
last modified time | relevance | path

Searched refs:vlan_info (Results 1 – 3 of 3) sorted by relevance

/third_party/libnl/lib/route/link/
Dvlan.c43 struct vlan_info struct
69 struct vlan_info *vi; in vlan_alloc() argument
89 struct vlan_info *vi; in vlan_parse()
190 struct vlan_info *vi = link->l_info; in vlan_free()
203 struct vlan_info *vi = link->l_info; in vlan_dump_line()
210 struct vlan_info *vi = link->l_info; in vlan_dump_details()
265 struct vlan_info *vdst, *vsrc = src->l_info; in vlan_clone()
295 struct vlan_info *vi = link->l_info; in vlan_put_attrs()
428 struct vlan_info *vi = link->l_info; in rtnl_link_vlan_set_id()
446 struct vlan_info *vi = link->l_info; in rtnl_link_vlan_get_id()
[all …]
Dbridge.c52 struct rtnl_link_bridge_vlan vlan_info; member
227 bd->vlan_info.pvid = vinfo->vid; in bridge_parse_af_full()
230 set_bit(vid_range_start, bd->vlan_info.untagged_bitmap); in bridge_parse_af_full()
232 set_bit(vid_range_start, bd->vlan_info.vlan_bitmap); in bridge_parse_af_full()
386 nl_dump(p, "pvid %u", bd->vlan_info.pvid); in rtnl_link_bridge_dump_vlans()
389 dump_bitmap(p, bd->vlan_info.vlan_bitmap); in rtnl_link_bridge_dump_vlans()
392 dump_bitmap(p, bd->vlan_info.untagged_bitmap); in rtnl_link_bridge_dump_vlans()
443 diff |= BRIDGE_DIFF(PORT_VLAN, memcmp(&a->vlan_info, &b->vlan_info, in bridge_compare()
925 return (int) bd->vlan_info.pvid; in rtnl_link_bridge_pvid()
939 if (bd->vlan_info.pvid) in rtnl_link_bridge_has_vlan()
[all …]
Dsriov.c343 nl_vf_vlan_info_t *vlan_info = vlans->vlans; in sriov_fill_vf_vlan_list() local
352 vlan.vlan = vlan_info[cur].vf_vlan; in sriov_fill_vf_vlan_list()
353 vlan.qos = vlan_info[cur].vf_vlan_qos; in sriov_fill_vf_vlan_list()
354 vlan.vlan_proto = vlan_info[cur].vf_vlan_proto; in sriov_fill_vf_vlan_list()
372 nl_vf_vlan_info_t *vlan_info; in sriov_fill_vfinfo() local
403 vlan_info = vlan_list->vlans; in sriov_fill_vfinfo()
404 proto = vlan_info[0].vf_vlan_proto; in sriov_fill_vfinfo()
409 sriov_fill_vf_vlan(msg, vlan_info, vf_data->vf_index); in sriov_fill_vfinfo()
1324 nl_vf_vlan_info_t *vlan_info; in rtnl_link_vf_vlan_alloc() local
1333 vlan_info = calloc(vlan_count+1, sizeof(*vlan_info)); in rtnl_link_vf_vlan_alloc()
[all …]