Home
last modified time | relevance | path

Searched refs:mhi_hdrsize (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_wifi.c320 mhp->mhi_hdrsize = (uintptr_t)llcp + sizeof (*llc) - in mac_wifi_header_info()
332 mhp->mhi_hdrsize -= sizeof (*llc); in mac_wifi_header_info()
333 mhp->mhi_pktsize = mhp->mhi_hdrsize + mhp->mhi_origsap; in mac_wifi_header_info()
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()
H A Dmac_ether.c472 hdr_info->mhi_hdrsize = sizeof (struct ether_header); in mac_ether_header_info()
479 hdr_info->mhi_hdrsize + ether_type : 0; in mac_ether_header_info()
H A Dmac_ipv4.c196 hdr_info->mhi_hdrsize = iphp->ip_hl * sizeof (uint32_t); in mac_ipv4_header_info()
H A Dmac_ipv6.c211 hdr_info->mhi_hdrsize = whereptr - mp->b_rptr; in mac_ipv6_header_info()
H A Dmac_ib.c206 hdr_info->mhi_hdrsize = sizeof (ib_header_info_t); in mac_ib_header_info()
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_link.c117 if (MBLKL((mp)) < (mhip)->mhi_hdrsize) { \
128 (mp)->b_rptr += (mhip)->mhi_hdrsize; \
131 (mp)->b_rptr += (mhip)->mhi_hdrsize; \
182 mp->b_rptr -= cmhi.mhi_hdrsize; in i_dls_link_subchain()
205 mp->b_rptr -= cmhi.mhi_hdrsize; in i_dls_link_subchain()
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_str.c964 if (size > max_sdu + mhi.mhi_hdrsize) in str_mdata_raw_put()
1217 ASSERT(mp->b_rptr >= DB_BASE(mp) + mhip->mhi_hdrsize); in dld_str_rx_raw()
1218 mp->b_rptr -= mhip->mhi_hdrsize; in dld_str_rx_raw()
1374 ASSERT(mp->b_rptr >= DB_BASE(mp) + mhip->mhi_hdrsize); in dld_str_rx_unitdata()
1375 mp->b_rptr -= mhip->mhi_hdrsize; in dld_str_rx_unitdata()
1388 mp->b_rptr += (mhip->mhi_hdrsize - offset); in dld_str_rx_unitdata()
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c392 hdr.mhi_hdrsize = sizeof (struct ether_vlan_header); in pfp_packet()
467 mp->b_rptr += hdr.mhi_hdrsize; in pfp_packet()
468 hdr.mhi_pktsize -= hdr.mhi_hdrsize; in pfp_packet()
/illumos-gate/usr/src/uts/common/sys/
H A Dmac.h474 size_t mhi_hdrsize; member
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c1670 err = get_l3_info(mp, mhi.mhi_hdrsize, &start, &end, &nmp); in mac_protect_intercept_dynamic_one()
1933 size_t hdrsize = mhip->mhi_hdrsize; in ipnospoof_check()
2120 size_t hdrsize = mhip->mhi_hdrsize; in dhcpnospoof_check()
H A Dmac_sched.c1593 hdrsize = mhi.mhi_hdrsize; in mac_rx_srs_proto_fanout()
2020 hdrsize = mhi.mhi_hdrsize; in mac_rx_srs_fanout()
H A Dmac_flow.c1687 l2->l2_hdrsize = (uint32_t)mhi.mhi_hdrsize; in flow_l2_accept()
H A Dmac_client.c4463 mhip->mhi_hdrsize = sizeof (struct ether_vlan_header); in mac_vlan_header_info()
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_gld.c535 inline_hdrlen = rem = mhi.mhi_hdrsize; in mlxcx_mac_ring_tx()
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay_target.c638 otl->otl_hdrsize = mhi.mhi_hdrsize; in overlay_target_lookup_request()