Searched refs:mblk_len (Results 1 – 2 of 2) sorted by relevance
462 size_t mblk_len; in nxge_fill_tx_hdr() local505 mblk_len = MBLKL(nmp); in nxge_fill_tx_hdr()506 buflen = min((size_t)tmp, mblk_len); in nxge_fill_tx_hdr()514 mblk_len = MBLKL(nmp); in nxge_fill_tx_hdr()554 if (mblk_len > eth_hdr_size + sizeof (uint8_t)) { in nxge_fill_tx_hdr()556 mblk_len -= eth_hdr_size; in nxge_fill_tx_hdr()558 if (mblk_len > (iph_len + sizeof (uint32_t))) { in nxge_fill_tx_hdr()571 mblk_len = (size_t)nmp->b_wptr - in nxge_fill_tx_hdr()573 if (mblk_len >= in nxge_fill_tx_hdr()575 mblk_len = sizeof (hdrs_buf) - in nxge_fill_tx_hdr()[all …]
257 size_t mblk_len; in hxge_fill_tx_hdr() local291 mblk_len = (size_t)nmp->b_wptr - (size_t)nmp->b_rptr; in hxge_fill_tx_hdr()294 mp, nmp->b_rptr, mblk_len)); in hxge_fill_tx_hdr()336 if (mblk_len > eth_hdr_size + sizeof (uint8_t)) { in hxge_fill_tx_hdr()338 mblk_len -= eth_hdr_size; in hxge_fill_tx_hdr()340 if (mblk_len > (iph_len + sizeof (uint32_t))) { in hxge_fill_tx_hdr()351 mblk_len = (size_t)nmp->b_wptr - in hxge_fill_tx_hdr()353 if (mblk_len >= in hxge_fill_tx_hdr()355 mblk_len = sizeof (hdrs_buf) - in hxge_fill_tx_hdr()358 &hdrs_buf[hdrs_size], mblk_len); in hxge_fill_tx_hdr()[all …]