Lines Matching defs:tci
1691 * The passed-in tci is the "impossible" value 0xFFFF when no tag is present.
1694 reform_vlan_header(mblk_t *mp, uint16_t vlanid, uint16_t tci, uint16_t pvid)
1696 boolean_t source_has_tag = (tci != 0xFFFF);
1713 pri = VLAN_PRI(tci);
1717 if (pri != 0 && VLAN_ID(tci) == 0) /* 1b */
1784 tci = VLAN_TCI(mp->b_band, ETHER_CFI, vlanid);
1785 evh->ether_tci = htons(tci);
1798 tci = VLAN_TCI(mp->b_band, ETHER_CFI, vlanid);
1801 evh->ether_tci = htons(tci);
1862 uint16_t vlanid, uint16_t tci, boolean_t from_trill, boolean_t is_xmit)
1911 mp = reform_vlan_header(mp, vlanid, tci, 0);
1963 mpsend = reform_vlan_header(mpsend, vlanid, tci,
2020 vlanid, tci, 0);
2074 mpsend = reform_vlan_header(mpsend, vlanid, tci,
2112 uint16_t tci, vlanid;
2134 tci = mp->b_rptr[tpos] << 8;
2143 tci |= mp->b_rptr[tpos];
2145 vlanid = VLAN_ID(tci);
2146 if (VLAN_CFI(tci) != ETHER_CFI || vlanid > VLAN_ID_MAX)
2153 tci = 0xFFFF;
2163 *tcip = tci;
2220 uint16_t vlanid, tci;
2392 if (!bridge_get_vlan(blp, &hdr_info, mp, &vlanid, &tci) ||
2432 mp = bridge_forward(blp, &hdr_info, mp, vlanid, tci,
2449 uint16_t vlanid, tci;
2492 if (!bridge_get_vlan(blp, &hdr_info, mp, &vlanid, &tci) ||
2520 mp = bridge_forward(blp, &hdr_info, mp, vlanid, tci,
2555 uint16_t vlanid, tci;
2570 tci = ntohs(evhp->ether_tci);
2571 vlanid = VLAN_ID(tci);
2584 mp = bridge_forward(blp, &hdr_info, mp, vlanid, tci, B_TRUE, B_TRUE);