/titanic_44/usr/src/uts/common/io/dls/ |
H A D | dls_link.c | 340 mac_header_info_t mhi; in i_dls_link_rx() local 362 DLS_PREPARE_PKT(dlp->dl_mh, mp, &mhi, err); in i_dls_link_rx() 375 nextp = i_dls_link_subchain(dlp, mp, &mhi, &npacket); in i_dls_link_rx() 378 vid = VLAN_ID(mhi.mhi_tci); in i_dls_link_rx() 380 if (mhi.mhi_istagged) { in i_dls_link_rx() 386 if (i_dls_link_rx_func(dlp, mrh, &mhi, mp, in i_dls_link_rx() 400 if ((vid == VLAN_ID_NONE && !mhi.mhi_ispvid && in i_dls_link_rx() 401 VLAN_PRI(mhi.mhi_tci) == 0) || in i_dls_link_rx() 402 (mhi.mhi_bindsap == ETHERTYPE_VLAN && in i_dls_link_rx() 413 key = MAKE_KEY(mhi.mhi_bindsap); in i_dls_link_rx() [all …]
|
/titanic_44/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_wifi.c | 408 mac_header_info_t mhi; in mac_wifi_header_uncook() local 411 if (mac_wifi_header_info(mp, pdata, &mhi) != 0) { in mac_wifi_header_uncook() 425 IEEE80211_ADDR_COPY(&eh.ether_dhost, mhi.mhi_daddr); in mac_wifi_header_uncook() 426 IEEE80211_ADDR_COPY(&eh.ether_shost, mhi.mhi_saddr); in mac_wifi_header_uncook() 427 eh.ether_type = htons(mhi.mhi_origsap); in mac_wifi_header_uncook() 429 ASSERT(mhi.mhi_hdrsize >= sizeof (struct ether_header)); in mac_wifi_header_uncook() 430 mp->b_rptr += mhi.mhi_hdrsize - sizeof (struct ether_header); in mac_wifi_header_uncook()
|
/titanic_44/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 904 mac_header_info_t mhi; in str_mdata_raw_put() local 938 if (mac_vlan_header_info(dsp->ds_mh, mp, &mhi) != 0) in str_mdata_raw_put() 947 if (size > max_sdu + mhi.mhi_hdrsize) in str_mdata_raw_put() 957 vid = VLAN_ID(mhi.mhi_tci); in str_mdata_raw_put() 965 pri = VLAN_PRI(mhi.mhi_tci); in str_mdata_raw_put() 966 if (mhi.mhi_istagged && !mhi.mhi_ispvid && pri == 0 && in str_mdata_raw_put() 1452 mac_header_info_t mhi; in str_unitdata_ind() local 1460 if (mac_vlan_header_info(dsp->ds_mh, mp, &mhi) != 0) in str_unitdata_ind() 1484 bcopy(mhi.mhi_daddr, daddr, addr_length); in str_unitdata_ind() 1489 if (mhi.mhi_istagged && !strip_vlan) in str_unitdata_ind() [all …]
|
/titanic_44/usr/src/uts/common/io/mac/ |
H A D | mac_protect.c | 1660 mac_header_info_t mhi; in mac_protect_intercept_dynamic_one() local 1663 err = mac_vlan_header_info((mac_handle_t)mip, mp, &mhi); in mac_protect_intercept_dynamic_one() 1670 err = get_l3_info(mp, mhi.mhi_hdrsize, &start, &end, &nmp); in mac_protect_intercept_dynamic_one() 1677 switch (mhi.mhi_bindsap) { in mac_protect_intercept_dynamic_one() 2269 mac_header_info_t mhi; in mac_protect_check_one() local 2276 err = mac_vlan_header_info((mac_handle_t)mip, mp, &mhi); in mac_protect_check_one() 2286 if (mhi.mhi_saddr != NULL && in mac_protect_check_one() 2287 bcmp(mcip->mci_unicast->ma_addr, mhi.mhi_saddr, in mac_protect_check_one() 2296 uint32_t vid = VLAN_ID(mhi.mhi_tci); in mac_protect_check_one() 2297 uint32_t sap = mhi.mhi_bindsap; in mac_protect_check_one() [all …]
|
H A D | mac_sched.c | 1587 mac_header_info_t mhi; in mac_rx_srs_proto_fanout() local 1590 mp, &mhi) != 0) { in mac_rx_srs_proto_fanout() 1594 hdrsize = mhi.mhi_hdrsize; in mac_rx_srs_proto_fanout() 1595 sap = mhi.mhi_bindsap; in mac_rx_srs_proto_fanout() 1596 is_unicast = (mhi.mhi_dsttype == MAC_ADDRTYPE_UNICAST); in mac_rx_srs_proto_fanout() 1597 dstaddr = (uint8_t *)mhi.mhi_daddr; in mac_rx_srs_proto_fanout() 2006 mac_header_info_t mhi; in mac_rx_srs_fanout() local 2009 mp, &mhi) != 0) { in mac_rx_srs_fanout() 2013 hdrsize = mhi.mhi_hdrsize; in mac_rx_srs_fanout() 2014 sap = mhi.mhi_bindsap; in mac_rx_srs_fanout() [all …]
|
H A D | mac_flow.c | 1657 mac_header_info_t mhi; in flow_l2_accept() local 1662 s->fs_mp, &mhi)) != 0) { in flow_l2_accept() 1670 l2->l2_daddr = (uint8_t *)mhi.mhi_daddr; in flow_l2_accept() 1672 if (is_ether && mhi.mhi_bindsap == ETHERTYPE_VLAN && in flow_l2_accept() 1684 l2->l2_sap = mhi.mhi_bindsap; in flow_l2_accept() 1686 l2->l2_hdrsize = (uint32_t)mhi.mhi_hdrsize; in flow_l2_accept()
|
/titanic_44/usr/src/uts/common/vm/ |
H A D | vm_pagelist.c | 1148 int mhi = interleaved_mnodes ? max_mem_nodes : in page_ctrs_adjust() local 1155 for (m = mlo; m < mhi; m++) { in page_ctrs_adjust() 2498 int mhi = doall ? max_mem_nodes : (mnode + 1); in page_freelist_coalesce_all() local 2512 for (mnode = mlo; mnode < mhi; mnode++) { in page_freelist_coalesce_all() 2517 for (mnode = mlo; mnode < mhi; mnode++) { in page_freelist_coalesce_all() 2556 for (mnode = mlo; mnode < mhi; mnode++) { in page_freelist_coalesce_all()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip6.c | 3122 struct mac_header_info_s mhi; in ip_rput_v6() local 3124 ip_mdata_to_mhi(ill, mp, &mhi); in ip_rput_v6() 3125 ip_input_v6(ill, NULL, mp, &mhi); in ip_rput_v6()
|
H A D | ip.c | 7927 struct mac_header_info_s mhi; in ip_rput_notdata() local 7947 ip_dlur_to_mhi(ill, first_mp, &mhi); in ip_rput_notdata() 7949 ip_input_v6(ill, NULL, mp, &mhi); in ip_rput_notdata() 7951 ip_input(ill, NULL, mp, &mhi); in ip_rput_notdata() 8025 struct mac_header_info_s mhi; in ip_rput() local 8027 ip_mdata_to_mhi(ill, mp, &mhi); in ip_rput() 8028 ip_input(ill, NULL, mp, &mhi); in ip_rput()
|