Searched refs:vid_info (Results 1 – 1 of 1) sorted by relevance
182 struct vlan_vid_info *vid_info; in vlan_vid_info_get() local184 list_for_each_entry(vid_info, &vlan_info->vid_list, list) { in vlan_vid_info_get()185 if (vid_info->proto == proto && vid_info->vid == vid) in vlan_vid_info_get()186 return vid_info; in vlan_vid_info_get()193 struct vlan_vid_info *vid_info; in vlan_vid_info_alloc() local195 vid_info = kzalloc(sizeof(struct vlan_vid_info), GFP_KERNEL); in vlan_vid_info_alloc()196 if (!vid_info) in vlan_vid_info_alloc()198 vid_info->proto = proto; in vlan_vid_info_alloc()199 vid_info->vid = vid; in vlan_vid_info_alloc()201 return vid_info; in vlan_vid_info_alloc()[all …]