Home
last modified time | relevance | path

Searched refs:hdrs_size (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rr.c61 size_t hdrs_size; in BnxeRouteTxRing() local
102 hdrs_size = 0; in BnxeRouteTxRing()
104 while (pTmpMblk && (hdrs_size < sizeof(hdrs_buf))) in BnxeRouteTxRing()
108 if (mblkLen >= (sizeof(hdrs_buf) - hdrs_size)) in BnxeRouteTxRing()
110 mblkLen = (sizeof(hdrs_buf) - hdrs_size); in BnxeRouteTxRing()
113 bcopy(pTmpMblk->b_rptr, &hdrs_buf[hdrs_size], mblkLen); in BnxeRouteTxRing()
115 hdrs_size += mblkLen; in BnxeRouteTxRing()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_txdma.c259 size_t hdrs_size; in hxge_fill_tx_hdr() local
348 hdrs_size = 0; in hxge_fill_tx_hdr()
354 (sizeof (hdrs_buf) - hdrs_size)) in hxge_fill_tx_hdr()
356 hdrs_size; in hxge_fill_tx_hdr()
358 &hdrs_buf[hdrs_size], mblk_len); in hxge_fill_tx_hdr()
359 hdrs_size += mblk_len; in hxge_fill_tx_hdr()
382 hdrs_size = 0; in hxge_fill_tx_hdr()
384 while ((nmp) && (hdrs_size < sizeof (hdrs_buf))) { in hxge_fill_tx_hdr()
386 if (mblk_len >= (sizeof (hdrs_buf) - hdrs_size)) in hxge_fill_tx_hdr()
387 mblk_len = sizeof (hdrs_buf) - hdrs_size; in hxge_fill_tx_hdr()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c464 size_t hdrs_size; in nxge_fill_tx_hdr() local
567 hdrs_size = 0; in nxge_fill_tx_hdr()
569 while ((nmp) && (hdrs_size < in nxge_fill_tx_hdr()
576 hdrs_size; in nxge_fill_tx_hdr()
579 hdrs_size += mblk_len; in nxge_fill_tx_hdr()
605 hdrs_size = 0; in nxge_fill_tx_hdr()
607 while ((nmp) && (hdrs_size < in nxge_fill_tx_hdr()
611 (sizeof (hdrs_buf) - hdrs_size)) in nxge_fill_tx_hdr()
613 hdrs_size; in nxge_fill_tx_hdr()
615 &hdrs_buf[hdrs_size], mblk_len); in nxge_fill_tx_hdr()
[all …]
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun.c2076 iptun_build_icmperr(size_t hdrs_size, mblk_t *orig_pkt) in iptun_build_icmperr() argument
2080 if ((icmperr_mp = allocb(hdrs_size, BPRI_MED)) != NULL) { in iptun_build_icmperr()
2081 icmperr_mp->b_wptr += hdrs_size; in iptun_build_icmperr()
2096 size_t orig_pktsize, hdrs_size; in iptun_sendicmp_v4() local
2104 hdrs_size = sizeof (ipha_t) + sizeof (icmph_t); in iptun_sendicmp_v4()
2105 if ((icmperr_mp = iptun_build_icmperr(hdrs_size, mp)) == NULL) { in iptun_sendicmp_v4()
2122 new_ipha->ipha_length = htons(hdrs_size + orig_pktsize); in iptun_sendicmp_v4()
2153 size_t orig_pktsize, hdrs_size; in iptun_sendicmp_v6() local
2161 hdrs_size = sizeof (ip6_t) + sizeof (icmp6_t); in iptun_sendicmp_v6()
2162 if ((icmp6err_mp = iptun_build_icmperr(hdrs_size, mp)) == NULL) { in iptun_sendicmp_v6()