| /onnv-gate/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 …]
|
| /onnv-gate/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()
|
| /onnv-gate/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 …]
|
| /onnv-gate/usr/src/uts/common/io/mac/ |
| H A D | mac_protect.c | 1445 mac_header_info_t mhi; in mac_protect_intercept_dhcp_one() local 1448 err = mac_vlan_header_info((mac_handle_t)mip, mp, &mhi); in mac_protect_intercept_dhcp_one() 1455 err = get_l3_info(mp, mhi.mhi_hdrsize, &start, &end, &nmp); in mac_protect_intercept_dhcp_one() 1462 switch (mhi.mhi_bindsap) { in mac_protect_intercept_dhcp_one() 1975 mac_header_info_t mhi; in mac_protect_check_one() local 1982 err = mac_vlan_header_info((mac_handle_t)mip, mp, &mhi); in mac_protect_check_one() 1992 if (mhi.mhi_saddr != NULL && in mac_protect_check_one() 1993 bcmp(mcip->mci_unicast->ma_addr, mhi.mhi_saddr, in mac_protect_check_one() 2002 uint32_t vid = VLAN_ID(mhi.mhi_tci); in mac_protect_check_one() 2003 uint32_t sap = mhi.mhi_bindsap; in mac_protect_check_one() [all …]
|
| H A D | mac_sched.c | 628 mac_header_info_t mhi; in mac_rx_srs_proto_fanout() local 631 mp, &mhi) != 0) { in mac_rx_srs_proto_fanout() 635 hdrsize = mhi.mhi_hdrsize; in mac_rx_srs_proto_fanout() 636 sap = mhi.mhi_bindsap; in mac_rx_srs_proto_fanout() 637 is_unicast = (mhi.mhi_dsttype == MAC_ADDRTYPE_UNICAST); in mac_rx_srs_proto_fanout() 638 dstaddr = (uint8_t *)mhi.mhi_daddr; in mac_rx_srs_proto_fanout() 1023 mac_header_info_t mhi; in mac_rx_srs_fanout() local 1026 mp, &mhi) != 0) { in mac_rx_srs_fanout() 1030 hdrsize = mhi.mhi_hdrsize; in mac_rx_srs_fanout() 1031 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()
|
| /onnv-gate/usr/src/uts/common/vm/ |
| H A D | vm_pagelist.c | 1144 int mhi = interleaved_mnodes ? max_mem_nodes : in page_ctrs_adjust() local 1151 for (m = mlo; m < mhi; m++) { in page_ctrs_adjust() 2494 int mhi = doall ? max_mem_nodes : (mnode + 1); in page_freelist_coalesce_all() local 2508 for (mnode = mlo; mnode < mhi; mnode++) { in page_freelist_coalesce_all() 2513 for (mnode = mlo; mnode < mhi; mnode++) { in page_freelist_coalesce_all() 2552 for (mnode = mlo; mnode < mhi; mnode++) { in page_freelist_coalesce_all()
|
| /onnv-gate/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 | 7892 struct mac_header_info_s mhi; in ip_rput_notdata() local 7912 ip_dlur_to_mhi(ill, first_mp, &mhi); in ip_rput_notdata() 7914 ip_input_v6(ill, NULL, mp, &mhi); in ip_rput_notdata() 7916 ip_input(ill, NULL, mp, &mhi); in ip_rput_notdata() 7990 struct mac_header_info_s mhi; in ip_rput() local 7992 ip_mdata_to_mhi(ill, mp, &mhi); in ip_rput() 7993 ip_input(ill, NULL, mp, &mhi); in ip_rput()
|