Lines Matching defs:tci
187 /* no need to put the VLAN tci in the packet headers */
227 u16 tci = 0;
245 if (vlan_get_tag(skb, &tci) < 0 && skb->len > VLAN_ETH_HLEN &&
246 __vlan_get_tag(skb, &tci) == 0) {
257 if (!tci)
260 if (tci == MBIM_IPS0_VID)
261 tci = 0;
272 switch (tci & 0x0f00) {
277 c[3] = tci;
284 c[3] = tci;
288 "unsupported tci=0x%04x\n", tci);
309 static void do_neigh_solicit(struct usbnet *dev, u8 *buf, u16 tci)
326 if (tci) {
328 tci);
367 static struct sk_buff *cdc_mbim_process_dgram(struct usbnet *dev, u8 *buf, size_t len, u16 tci)
372 if (tci < 256 || tci == MBIM_IPS0_VID) { /* IPS session? */
382 do_neigh_solicit(dev, buf, tci);
405 if (tci)
406 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tci);
426 u16 tci;
442 tci = c[3];
444 if (!tci && info->flags & FLAG_IPS0_VLAN)
445 tci = MBIM_IPS0_VID;
449 tci = c[3] + 256;
483 skb = cdc_mbim_process_dgram(dev, skb_in->data + offset, len, tci);