Lines Matching refs:vid
51 } else if ((v->vid - vtend->vid) == 1 && in __get_num_vlan_tunnel_infos()
56 if ((vtend->vid - vtbegin->vid) > 0) in __get_num_vlan_tunnel_infos()
67 if ((vtend->vid - vtbegin->vid) > 0) in __get_num_vlan_tunnel_infos()
90 static int br_fill_vlan_tinfo(struct sk_buff *skb, u16 vid, in br_fill_vlan_tinfo() argument
103 vid)) in br_fill_vlan_tinfo()
124 if (vtend && (vtend->vid - vtbegin->vid) > 0) { in br_fill_vlan_tinfo_range()
126 err = br_fill_vlan_tinfo(skb, vtbegin->vid, in br_fill_vlan_tinfo_range()
132 err = br_fill_vlan_tinfo(skb, vtend->vid, in br_fill_vlan_tinfo_range()
138 err = br_fill_vlan_tinfo(skb, vtbegin->vid, in br_fill_vlan_tinfo_range()
167 } else if ((v->vid - vtend->vid) == 1 && in br_fill_vlan_tunnel_info()
197 u16 vid, u32 tun_id, bool *changed) in br_vlan_tunnel_info() argument
206 err = nbp_vlan_tunnel_info_add(p, vid, tun_id); in br_vlan_tunnel_info()
211 if (!nbp_vlan_tunnel_info_delete(p, vid)) in br_vlan_tunnel_info()
224 u16 vid, flags = 0; in br_parse_vlan_tunnel_info() local
239 vid = nla_get_u16(tb[IFLA_BRIDGE_VLAN_TUNNEL_VID]); in br_parse_vlan_tunnel_info()
240 if (vid >= VLAN_VID_MASK) in br_parse_vlan_tunnel_info()
247 tinfo->vid = vid; in br_parse_vlan_tunnel_info()
270 if ((tinfo_curr->vid - tinfo_last->vid) != in br_process_vlan_tunnel_info()
274 for (v = tinfo_last->vid; v <= tinfo_curr->vid; v++) { in br_process_vlan_tunnel_info()
285 err = br_vlan_tunnel_info(p, cmd, tinfo_curr->vid, in br_process_vlan_tunnel_info()