Searched refs:mhi (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_link.c340 mac_header_info_t mhi; local
362 DLS_PREPARE_PKT(dlp->dl_mh, mp, &mhi, err);
375 nextp = i_dls_link_subchain(dlp, mp, &mhi, &npacket);
378 vid = VLAN_ID(mhi.mhi_tci);
380 if (mhi.mhi_istagged) {
386 if (i_dls_link_rx_func(dlp, mrh, &mhi, mp,
400 if ((vid == VLAN_ID_NONE && !mhi.mhi_ispvid &&
401 VLAN_PRI(mhi.mhi_tci) == 0) ||
402 (mhi.mhi_bindsap == ETHERTYPE_VLAN &&
413 key = MAKE_KEY(mhi
506 mac_header_info_t mhi; local
549 mac_header_info_t mhi; local
[all...]
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_wifi.c408 mac_header_info_t mhi; local
411 if (mac_wifi_header_info(mp, pdata, &mhi) != 0) {
425 IEEE80211_ADDR_COPY(&eh.ether_dhost, mhi.mhi_daddr);
426 IEEE80211_ADDR_COPY(&eh.ether_shost, mhi.mhi_saddr);
427 eh.ether_type = htons(mhi.mhi_origsap);
429 ASSERT(mhi.mhi_hdrsize >= sizeof (struct ether_header));
430 mp->b_rptr += mhi.mhi_hdrsize - sizeof (struct ether_header);
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c904 mac_header_info_t mhi; local
938 if (mac_vlan_header_info(dsp->ds_mh, mp, &mhi) != 0)
947 if (size > max_sdu + mhi.mhi_hdrsize)
957 vid = VLAN_ID(mhi.mhi_tci);
965 pri = VLAN_PRI(mhi.mhi_tci);
966 if (mhi.mhi_istagged && !mhi.mhi_ispvid && pri == 0 &&
1452 mac_header_info_t mhi; local
1460 if (mac_vlan_header_info(dsp->ds_mh, mp, &mhi) != 0)
1484 bcopy(mhi
[all...]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c1660 mac_header_info_t mhi; local
1663 err = mac_vlan_header_info((mac_handle_t)mip, mp, &mhi);
1670 err = get_l3_info(mp, mhi.mhi_hdrsize, &start, &end, &nmp);
1677 switch (mhi.mhi_bindsap) {
2269 mac_header_info_t mhi; local
2276 err = mac_vlan_header_info((mac_handle_t)mip, mp, &mhi);
2286 if (mhi.mhi_saddr != NULL &&
2287 bcmp(mcip->mci_unicast->ma_addr, mhi.mhi_saddr,
2296 uint32_t vid = VLAN_ID(mhi.mhi_tci);
2297 uint32_t sap = mhi
[all...]
H A Dmac_sched.c1587 mac_header_info_t mhi; local
1590 mp, &mhi) != 0) {
1594 hdrsize = mhi.mhi_hdrsize;
1595 sap = mhi.mhi_bindsap;
1596 is_unicast = (mhi.mhi_dsttype == MAC_ADDRTYPE_UNICAST);
1597 dstaddr = (uint8_t *)mhi.mhi_daddr;
2006 mac_header_info_t mhi; local
2009 mp, &mhi) != 0) {
2013 hdrsize = mhi.mhi_hdrsize;
2014 sap = mhi
4395 mac_header_info_t mhi; local
[all...]
H A Dmac_flow.c1657 mac_header_info_t mhi; local
1662 s->fs_mp, &mhi)) != 0) {
1670 l2->l2_daddr = (uint8_t *)mhi.mhi_daddr;
1672 if (is_ether && mhi.mhi_bindsap == ETHERTYPE_VLAN &&
1684 l2->l2_sap = mhi.mhi_bindsap;
1686 l2->l2_hdrsize = (uint32_t)mhi.mhi_hdrsize;
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pagelist.c1148 int mhi = interleaved_mnodes ? max_mem_nodes : local
1155 for (m = mlo; m < mhi; m++) {
2498 int mhi = doall ? max_mem_nodes : (mnode + 1); local
2512 for (mnode = mlo; mnode < mhi; mnode++) {
2517 for (mnode = mlo; mnode < mhi; mnode++) {
2556 for (mnode = mlo; mnode < mhi; mnode++) {
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6.c3122 struct mac_header_info_s mhi; local
3124 ip_mdata_to_mhi(ill, mp, &mhi);
3125 ip_input_v6(ill, NULL, mp, &mhi);
H A Dip.c7779 * The address fields in the mhi structure points into the message,
7837 * The address fields in the mhi structure points into the message,
7927 struct mac_header_info_s mhi; local
7947 ip_dlur_to_mhi(ill, first_mp, &mhi);
7949 ip_input_v6(ill, NULL, mp, &mhi);
7951 ip_input(ill, NULL, mp, &mhi);
8025 struct mac_header_info_s mhi; local
8027 ip_mdata_to_mhi(ill, mp, &mhi);
8028 ip_input(ill, NULL, mp, &mhi);

Completed in 110 milliseconds