/titanic_41/usr/src/uts/common/sys/ |
H A D | vlan.h | 65 #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 D | gld.h | 359 #define GLD_TCI2VTAG(tci) \ argument 360 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | (tci))
|
/titanic_41/usr/src/uts/common/io/rge/ |
H A D | rge_hw.h | 614 #define TCI_OS2CHIP(tci) (((tci & 0xff) << 8) | (tci >> 8)) argument 615 #define TCI_CHIP2OS(tci) (((tci & 0xff00) >> 8) | (tci << 8)) argument
|
H A D | rge_rxtx.c | 476 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()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | trill.c | 95 boolean_t trill_hdr_ok, boolean_t multidest, uint16_t tci, in create_trill_header() argument 106 if (tci == tsock->ts_link->bl_pvid) in create_trill_header() 107 tci = TRILL_NO_TCI; in create_trill_header() 114 (tci != TRILL_NO_TCI ? sizeof (struct ether_vlan_extinfo) : 0); in create_trill_header() 116 tci != TRILL_NO_TCI ? ETHERTYPE_VLAN : etype, mp, extra_hdr_len); 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 456 tci = ntohs(((struct ether_vlan_header *)ethhdr)->ether_tci); in trill_recv() 457 inner_vlan = VLAN_ID(tci); in trill_recv() [all …]
|
H A D | bridge.c | 1694 reform_vlan_header(mblk_t *mp, uint16_t vlanid, uint16_t tci, uint16_t pvid) in reform_vlan_header() argument 1696 boolean_t source_has_tag = (tci != 0xFFFF); in reform_vlan_header() 1713 pri = VLAN_PRI(tci); in reform_vlan_header() 1717 if (pri != 0 && VLAN_ID(tci) == 0) /* 1b */ in reform_vlan_header() 1784 tci = VLAN_TCI(mp->b_band, ETHER_CFI, vlanid); in reform_vlan_header() 1785 evh->ether_tci = htons(tci); in reform_vlan_header() 1798 tci = VLAN_TCI(mp->b_band, ETHER_CFI, vlanid); in reform_vlan_header() 1801 evh->ether_tci = htons(tci); in reform_vlan_header() 1862 uint16_t vlanid, uint16_t tci, boolean_t from_trill, boolean_t is_xmit) in bridge_forward() argument 1911 mp = reform_vlan_header(mp, vlanid, tci, 0); in bridge_forward() [all …]
|
H A D | gldutil.c | 214 uint16_t tci; in gld_interpret_ether() local 223 tci = REF_NET_USHORT(evhp->ether_tci); in gld_interpret_ether() 228 if ((GLD_VTAG_PRI((int32_t)tci) == 0 && in gld_interpret_ether() 229 GLD_VTAG_VID((int32_t)tci) == VLAN_VID_NONE) || in gld_interpret_ether() 230 (GLD_VTAG_CFI((uint32_t)tci)) != VLAN_CFI_ETHER) { in gld_interpret_ether() 242 GLD_SAVE_MBLK_VTAG(savemp, GLD_TCI2VTAG(tci)); in gld_interpret_ether()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ether.c | 137 uint16_t tci = 0; in interpret_ether() local 202 tci = ntohs(evx->ether_tci); in interpret_ether() 250 ieeestart[1], VLAN_ID(tci), origlen); in interpret_ether() 255 print_ethertype(ethertype), VLAN_ID(tci), in interpret_ether() 260 set_vlan_id(VLAN_ID(tci)); in interpret_ether() 287 "VLAN ID = %hu", VLAN_ID(tci)); in interpret_ether() 289 "VLAN Priority = %hu", VLAN_PRI(tci)); in interpret_ether()
|
/titanic_41/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 1147 uint16_t tci, new_tci; in i_dld_ether_header_strip_tag() local 1159 tci = ntohs(evhp->ether_tci); in i_dld_ether_header_strip_tag() 1160 if (VLAN_PRI(tci) == 0 || !keep_pri) { in i_dld_ether_header_strip_tag() 1170 new_tci = VLAN_TCI(VLAN_PRI(tci), VLAN_CFI(tci), VLAN_ID_NONE); in i_dld_ether_header_strip_tag()
|
/titanic_41/usr/src/uts/common/fs/sockfs/ |
H A D | sockstr.c | 1198 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()
|
/titanic_41/usr/src/data/zoneinfo/ |
H A D | northamerica | 3432 # http://magneticmediatv.com/2017/08/time-change-back-by-march-2018-for-tci/
|