Lines Matching defs:tci
185 /* no need to put the VLAN tci in the packet headers */
225 u16 tci = 0;
243 if (vlan_get_tag(skb, &tci) < 0 && skb->len > VLAN_ETH_HLEN &&
244 __vlan_get_tag(skb, &tci) == 0) {
255 if (!tci)
258 if (tci == MBIM_IPS0_VID)
259 tci = 0;
270 switch (tci & 0x0f00) {
275 c[3] = tci;
282 c[3] = tci;
286 "unsupported tci=0x%04x\n", tci);
307 static void do_neigh_solicit(struct usbnet *dev, u8 *buf, u16 tci)
324 if (tci) {
326 tci);
365 static struct sk_buff *cdc_mbim_process_dgram(struct usbnet *dev, u8 *buf, size_t len, u16 tci)
370 if (tci < 256 || tci == MBIM_IPS0_VID) { /* IPS session? */
380 do_neigh_solicit(dev, buf, tci);
403 if (tci)
404 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tci);
424 u16 tci;
440 tci = c[3];
442 if (!tci && info->flags & FLAG_IPS0_VLAN)
443 tci = MBIM_IPS0_VID;
447 tci = c[3] + 256;
481 skb = cdc_mbim_process_dgram(dev, skb_in->data + offset, len, tci);