Searched defs:vlan_tci (Results 1 - 4 of 4) sorted by relevance

/net/8021q/
H A Dvlan.h114 u16 vlan_tci)
118 return vip->ingress_priority_map[(vlan_tci >> VLAN_PRIO_SHIFT) & 0x7];
113 vlan_get_ingress_priority(struct net_device *dev, u16 vlan_tci) argument
H A Dvlan_dev.c88 u16 vlan_tci = 0; local
94 vlan_tci = vlan->vlan_id;
95 vlan_tci |= vlan_dev_get_egress_qos_mask(dev, skb->priority);
96 vhdr->h_vlan_TCI = htons(vlan_tci);
150 u16 vlan_tci; local
151 vlan_tci = vlan->vlan_id;
152 vlan_tci |= vlan_dev_get_egress_qos_mask(dev, skb->priority);
153 skb = __vlan_hwaccel_put_tag(skb, vlan->vlan_proto, vlan_tci);
/net/core/
H A Dpktgen.c2753 __be16 *vlan_tci = NULL; /* Encapsulates priority and VLAN ID */ local
2797 vlan_tci = (__be16 *)skb_put(skb, sizeof(__be16));
2798 *vlan_tci = build_tci(pkt_dev->vlan_id,
2882 __be16 *vlan_tci = NULL; /* Encapsulates priority and VLAN ID */ local
2924 vlan_tci = (__be16 *)skb_put(skb, sizeof(__be16));
2925 *vlan_tci = build_tci(pkt_dev->vlan_id,
H A Dskbuff.c720 CHECK_SKB_FIELD(vlan_tci);
4096 u16 vlan_tci; local
4099 /* vlan_tci is already set-up so leave this for another time */
4111 vlan_tci = ntohs(vhdr->h_vlan_TCI);
4112 __vlan_hwaccel_put_tag(skb, skb->protocol, vlan_tci);

Completed in 58 milliseconds