Searched refs:tci (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dvlan.h65 #define VLAN_PRI(tci) (((tci) >> VLAN_PRI_SHIFT) & VLAN_PRI_MASK)
66 #define VLAN_CFI(tci) (((tci) >> VLAN_CFI_SHIFT) & VLAN_CFI_MASK)
67 #define VLAN_ID(tci) (((tci) >> VLAN_ID_SHIFT) & VLAN_ID_MASK)
H A Dgld.h359 #define GLD_TCI2VTAG(tci) \
360 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | (tci))
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_rxtx.c476 static void rge_send_copy(rge_t *rgep, mblk_t *mp, uint16_t tci);
480 rge_send_copy(rge_t *rgep, mblk_t *mp, uint16_t tci) argument
520 if (tci != 0) {
566 if (tci != 0) {
567 tci = TCI_OS2CHIP(tci);
568 hw_sbd_p->vlan_tag = RGE_BSWAP_32(tci);
614 uint16_t tci; local
632 tci = 0;
635 tci
[all...]
H A Drge_hw.h614 #define TCI_OS2CHIP(tci) (((tci & 0xff) << 8) | (tci >> 8))
615 #define TCI_CHIP2OS(tci) (((tci & 0xff00) >> 8) | (tci << 8))
/illumos-gate/usr/src/uts/common/io/
H A Dtrill.c95 boolean_t trill_hdr_ok, boolean_t multidest, uint16_t tci,
106 if (tci == tsock->ts_link->bl_pvid)
107 tci = TRILL_NO_TCI;
114 (tci != TRILL_NO_TCI ? sizeof (struct ether_vlan_extinfo) : 0);
116 tci != TRILL_NO_TCI ? ETHERTYPE_VLAN : etype, mp, extra_hdr_len);
122 if (tci != TRILL_NO_TCI) {
125 ethvlanhdr->ether_tci = htons(tci);
388 int tci; local
456 tci = ntohs(((struct ether_vlan_header *)ethhdr)->ether_tci);
457 inner_vlan = VLAN_ID(tci);
94 create_trill_header(trill_sock_t *tsock, mblk_t *mp, const uint8_t *daddr, boolean_t trill_hdr_ok, boolean_t multidest, uint16_t tci, size_t msglen) argument
1410 trill_ctrl_input(trill_sock_t *tsock, mblk_t *mp, const uint8_t *saddr, uint16_t tci) argument
1549 uint16_t tci; local
[all...]
H A Dbridge.c1691 * 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) argument
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_
1861 bridge_forward(bridge_link_t *blp, mac_header_info_t *hdr_info, mblk_t *mp, uint16_t vlanid, uint16_t tci, boolean_t from_trill, boolean_t is_xmit) argument
2112 uint16_t tci, vlanid; local
2220 uint16_t vlanid, tci; local
2449 uint16_t vlanid, tci; local
2555 uint16_t vlanid, tci; local
[all...]
H A Dgldutil.c214 uint16_t tci; local
223 tci = REF_NET_USHORT(evhp->ether_tci);
228 if ((GLD_VTAG_PRI((int32_t)tci) == 0 &&
229 GLD_VTAG_VID((int32_t)tci) == VLAN_VID_NONE) ||
230 (GLD_VTAG_CFI((uint32_t)tci)) != VLAN_CFI_ETHER) {
242 GLD_SAVE_MBLK_VTAG(savemp, GLD_TCI2VTAG(tci));
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_tx.c626 __in uint16_t tci,
630 uint16_t, tci);
636 ESF_DZ_TX_VLAN_OP, tci ? 1 : 0,
637 ESF_DZ_TX_VLAN_TAG1, tci);
624 ef10_tx_qdesc_vlantci_create( __in efx_txq_t *etp, __in uint16_t tci, __out efx_desc_t *edp) argument
H A Defx_tx.c633 __in uint16_t tci,
642 etxop->etxo_qdesc_vlantci_create(etp, tci, edp);
631 efx_tx_qdesc_vlantci_create( __in efx_txq_t *etp, __in uint16_t tci, __out efx_desc_t *edp) argument
H A Defx.h2065 __in uint16_t tci,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c137 uint16_t tci = 0; local
202 tci = ntohs(evx->ether_tci);
250 ieeestart[1], VLAN_ID(tci), origlen);
255 print_ethertype(ethertype), VLAN_ID(tci),
260 set_vlan_id(VLAN_ID(tci));
287 "VLAN ID = %hu", VLAN_ID(tci));
289 "VLAN Priority = %hu", VLAN_PRI(tci));
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_defs.h159 uint32_t tci:16; /* Tag to Insert */ member in struct:Vmxnet3_TxDesc
244 uint32_t tci:16; /* Tag stripped */ member in struct:Vmxnet3_RxCompDesc
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c1147 uint16_t tci, new_tci; local
1159 tci = ntohs(evhp->ether_tci);
1160 if (VLAN_PRI(tci) == 0 || !keep_pri) {
1170 new_tci = VLAN_TCI(VLAN_PRI(tci), VLAN_CFI(tci), VLAN_ID_NONE);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c1198 struct T_conn_ind *tci; local
1204 tci = (struct T_conn_ind *)mp->b_rptr;
1205 if (tci->SEQ_number == seqno) {

Completed in 113 milliseconds