/illumos-gate/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 | 350 #define GLD_TCI2VTAG(tci) \ argument 351 (((uint32_t)ETHERTYPE_VLAN << VLAN_TPID_SHIFT) | (tci))
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | trill.c | 96 boolean_t trill_hdr_ok, boolean_t multidest, uint16_t tci, in create_trill_header() argument 107 if (tci == tsock->ts_link->bl_pvid) in create_trill_header() 108 tci = TRILL_NO_TCI; in create_trill_header() 115 (tci != TRILL_NO_TCI ? sizeof (struct ether_vlan_extinfo) : 0); in create_trill_header() 117 tci != TRILL_NO_TCI ? ETHERTYPE_VLAN : etype, mp, extra_hdr_len); in create_trill_header() 123 if (tci != TRILL_NO_TCI) { in create_trill_header() 126 ethvlanhdr->ether_tci = htons(tci); in create_trill_header() 389 int tci; in trill_recv() local 457 tci = ntohs(((struct ether_vlan_header *)ethhdr)->ether_tci); in trill_recv() 458 inner_vlan = VLAN_ID(tci); in trill_recv() [all …]
|
H A D | bridge.c | 1698 reform_vlan_header(mblk_t *mp, uint16_t vlanid, uint16_t tci, uint16_t pvid) in reform_vlan_header() argument 1700 boolean_t source_has_tag = (tci != 0xFFFF); in reform_vlan_header() 1722 pri = VLAN_PRI(tci); in reform_vlan_header() 1726 if (pri != 0 && VLAN_ID(tci) == 0) /* 1b */ in reform_vlan_header() 1793 tci = VLAN_TCI(mp->b_band, ETHER_CFI, vlanid); in reform_vlan_header() 1794 evh->ether_tci = htons(tci); in reform_vlan_header() 1807 tci = VLAN_TCI(mp->b_band, ETHER_CFI, vlanid); in reform_vlan_header() 1810 evh->ether_tci = htons(tci); in reform_vlan_header() 1871 uint16_t vlanid, uint16_t tci, boolean_t from_trill, boolean_t is_xmit) in bridge_forward() argument 1922 mp = reform_vlan_header(mp, vlanid, tci, 0); in bridge_forward() [all …]
|
H A D | gldutil.c | 213 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/test/os-tests/tests/mac_test/ |
H A D | mac_test.c | 347 build_ether_payload(test_pkt_t *tp, uint8_t *dstaddr, uint32_t tci, in build_ether_payload() argument 357 fnvlist_add_uint32(payload, "tci", tci); in build_ether_payload() 539 uint32_t tci) in run_ether_variants() argument 548 payload = build_ether_payload(tp, dstaddr, tci, NULL, 0); in run_ether_variants() 554 payload = build_ether_payload(tp, dstaddr, tci, splits, tp->tp_sz); in run_ether_variants() 562 payload = build_ether_payload(tp, dstaddr, tci, intentional_splits, in run_ether_variants()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ether.c | 139 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 D | ef10_tx.c | 626 __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 D | efx_tx.c | 633 __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 D | efx.h | 2065 __in uint16_t tci,
|
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_defs.h | 159 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 D | dld_str.c | 1164 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/io/mac/ |
H A D | mac_provider.c | 1969 uint32_t tci = MEOI_VLAN_TCI_INVALID; in mac_mmc_parse_ether() local 1986 tci = (uint32_t)tci_val; in mac_mmc_parse_ether() 1990 *vlan_tcip = tci; in mac_mmc_parse_ether()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | northamerica | 3590 # http://magneticmediatv.com/2017/08/time-change-back-by-march-2018-for-tci/
|