Home
last modified time | relevance | path

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

/titanic_41/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.c447 hdr_info->mhi_hdrsize = sizeof (struct ether_header); in mac_ether_header_info()
454 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.c208 hdr_info->mhi_hdrsize = sizeof (ib_header_info_t); in mac_ib_header_info()
/titanic_41/usr/src/uts/common/io/dls/
H A Ddls_link.c113 if (MBLKL((mp)) < (mhip)->mhi_hdrsize) { \
124 (mp)->b_rptr += (mhip)->mhi_hdrsize; \
127 (mp)->b_rptr += (mhip)->mhi_hdrsize; \
178 mp->b_rptr -= cmhi.mhi_hdrsize; in i_dls_link_subchain()
201 mp->b_rptr -= cmhi.mhi_hdrsize; in i_dls_link_subchain()
/titanic_41/usr/src/uts/common/io/dld/
H A Ddld_str.c947 if (size > max_sdu + mhi.mhi_hdrsize) in str_mdata_raw_put()
1200 ASSERT(mp->b_rptr >= DB_BASE(mp) + mhip->mhi_hdrsize); in dld_str_rx_raw()
1201 mp->b_rptr -= mhip->mhi_hdrsize; in dld_str_rx_raw()
1357 ASSERT(mp->b_rptr >= DB_BASE(mp) + mhip->mhi_hdrsize); in dld_str_rx_unitdata()
1358 mp->b_rptr -= mhip->mhi_hdrsize; in dld_str_rx_unitdata()
1371 mp->b_rptr += (mhip->mhi_hdrsize - offset); in dld_str_rx_unitdata()
/titanic_41/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()
/titanic_41/usr/src/uts/common/sys/
H A Dmac.h439 size_t mhi_hdrsize; member
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_protect.c1457 err = get_l3_info(mp, mhi.mhi_hdrsize, &start, &end, &nmp); in mac_protect_intercept_dhcp_one()
1704 size_t hdrsize = mhip->mhi_hdrsize; in ipnospoof_check()
1891 size_t hdrsize = mhip->mhi_hdrsize; in dhcpnospoof_check()
H A Dmac_sched.c1594 hdrsize = mhi.mhi_hdrsize; in mac_rx_srs_proto_fanout()
2013 hdrsize = mhi.mhi_hdrsize; in mac_rx_srs_fanout()
4400 hdrsize = mhi.mhi_hdrsize; in mac_tx_send()
H A Dmac_flow.c1686 l2->l2_hdrsize = (uint32_t)mhi.mhi_hdrsize; in flow_l2_accept()
H A Dmac_client.c4262 mhip->mhi_hdrsize = sizeof (struct ether_vlan_header); in mac_vlan_header_info()