Home
last modified time | relevance | path

Searched refs:tci (Results 1 – 15 of 15) 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) argument
66 #define VLAN_CFI(tci) (((tci) >> VLAN_CFI_SHIFT) & VLAN_CFI_MASK) argument
67 #define VLAN_ID(tci) (((tci) >> VLAN_ID_SHIFT) & VLAN_ID_MASK) argument
H A Dgld.h350 #define GLD_TCI2VTAG(tci) \ argument
351 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | (tci))
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_hw.h614 #define TCI_OS2CHIP(tci) (((tci & 0xff) << 8) | (tci >> 8)) argument
615 #define TCI_CHIP2OS(tci) (((tci & 0xff00) >> 8) | (tci << 8)) argument
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) in rge_send_copy() argument
520 if (tci != 0) { in rge_send_copy()
566 if (tci != 0) { in rge_send_copy()
567 tci = TCI_OS2CHIP(tci); in rge_send_copy()
568 hw_sbd_p->vlan_tag = RGE_BSWAP_32(tci); in rge_send_copy()
614 uint16_t tci; in rge_send() local
632 tci = 0; in rge_send()
635 tci = ntohs(ehp->ether_tci); in rge_send()
644 rge_send_copy(rgep, mp, tci); in rge_send()
/illumos-gate/usr/src/uts/common/io/
H A Dtrill.c106 if (tci == tsock->ts_link->bl_pvid) in create_trill_header()
107 tci = TRILL_NO_TCI; in create_trill_header()
122 if (tci != TRILL_NO_TCI) { in create_trill_header()
125 ethvlanhdr->ether_tci = htons(tci); in create_trill_header()
388 int tci; in trill_recv() local
457 inner_vlan = VLAN_ID(tci); in trill_recv()
1411 uint16_t tci) in trill_ctrl_input() argument
1465 *(uint16_t *)lladdr = tci; in trill_ctrl_input()
1549 uint16_t tci; in trill_send() local
1580 tci = TRILL_NO_TCI; in trill_send()
[all …]
H A Dbridge.c1722 pri = VLAN_PRI(tci); in reform_vlan_header()
2034 vlanid, tci, 0); in bridge_forward()
2127 uint16_t tci, vlanid; in bridge_get_vlan() local
2158 tci |= mp->b_rptr[tpos]; in bridge_get_vlan()
2160 vlanid = VLAN_ID(tci); in bridge_get_vlan()
2168 tci = 0xFFFF; in bridge_get_vlan()
2178 *tcip = tci; in bridge_get_vlan()
2235 uint16_t vlanid, tci; in bridge_recv_cb() local
2464 uint16_t vlanid, tci; in bridge_xmit_cb() local
2570 uint16_t vlanid, tci; in bridge_trill_decaps() local
[all …]
H A Dgldutil.c213 uint16_t tci; in gld_interpret_ether() local
222 tci = REF_NET_USHORT(evhp->ether_tci); in gld_interpret_ether()
227 if ((GLD_VTAG_PRI((int32_t)tci) == 0 && in gld_interpret_ether()
228 GLD_VTAG_VID((int32_t)tci) == VLAN_VID_NONE) || in gld_interpret_ether()
229 (GLD_VTAG_CFI((uint32_t)tci)) != VLAN_CFI_ETHER) { in gld_interpret_ether()
241 GLD_SAVE_MBLK_VTAG(savemp, GLD_TCI2VTAG(tci)); in gld_interpret_ether()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c139 uint16_t tci = 0; in interpret_ether() local
204 tci = ntohs(evx->ether_tci); in interpret_ether()
252 ieeestart[1], VLAN_ID(tci), origlen); in interpret_ether()
257 print_ethertype(ethertype), VLAN_ID(tci), in interpret_ether()
262 set_vlan_id(VLAN_ID(tci)); in interpret_ether()
289 "VLAN ID = %hu", VLAN_ID(tci)); in interpret_ether()
291 "VLAN Priority = %hu", VLAN_PRI(tci)); in interpret_ether()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_tx.c626 __in uint16_t tci, in ef10_tx_qdesc_vlantci_create() argument
630 uint16_t, tci); in ef10_tx_qdesc_vlantci_create()
636 ESF_DZ_TX_VLAN_OP, tci ? 1 : 0, in ef10_tx_qdesc_vlantci_create()
637 ESF_DZ_TX_VLAN_TAG1, tci); in ef10_tx_qdesc_vlantci_create()
H A Defx_tx.c633 __in uint16_t tci, in efx_tx_qdesc_vlantci_create() argument
642 etxop->etxo_qdesc_vlantci_create(etp, tci, edp); in efx_tx_qdesc_vlantci_create()
H A Defx.h2065 __in uint16_t tci,
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_defs.h159 uint32_t tci:16; /* Tag to Insert */ member
244 uint32_t tci:16; /* Tag stripped */ member
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c1164 uint16_t tci, new_tci; in i_dld_ether_header_strip_tag() local
1176 tci = ntohs(evhp->ether_tci); in i_dld_ether_header_strip_tag()
1177 if (VLAN_PRI(tci) == 0 || !keep_pri) { in i_dld_ether_header_strip_tag()
1187 new_tci = VLAN_TCI(VLAN_PRI(tci), VLAN_CFI(tci), VLAN_ID_NONE); in i_dld_ether_header_strip_tag()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c1198 struct T_conn_ind *tci; in soflushconnind() local
1204 tci = (struct T_conn_ind *)mp->b_rptr; in soflushconnind()
1205 if (tci->SEQ_number == seqno) { in soflushconnind()
/illumos-gate/usr/src/data/zoneinfo/
H A Dnorthamerica3590 # http://magneticmediatv.com/2017/08/time-change-back-by-march-2018-for-tci/