Searched refs:hdrs_size (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_rr.c | 61 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()
|
/titanic_44/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.c | 259 size_t hdrs_size; in hxge_fill_tx_hdr() local 348 hdrs_size = 0; in hxge_fill_tx_hdr() 350 while ((nmp) && (hdrs_size < sizeof (hdrs_buf))) { 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() [all …]
|
/titanic_44/usr/src/uts/common/io/nxge/ |
H A D | nxge_txdma.c | 464 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() 574 (sizeof (hdrs_buf) - hdrs_size)) in nxge_fill_tx_hdr() 576 hdrs_size; in nxge_fill_tx_hdr() 578 &hdrs_buf[hdrs_size], mblk_len); 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() [all …]
|
/titanic_44/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 2074 iptun_build_icmperr(size_t hdrs_size, mblk_t *orig_pkt) in iptun_build_icmperr() argument 2078 if ((icmperr_mp = allocb(hdrs_size, BPRI_MED)) != NULL) { in iptun_build_icmperr() 2079 icmperr_mp->b_wptr += hdrs_size; in iptun_build_icmperr() 2094 size_t orig_pktsize, hdrs_size; in iptun_sendicmp_v4() local 2102 hdrs_size = sizeof (ipha_t) + sizeof (icmph_t); in iptun_sendicmp_v4() 2103 if ((icmperr_mp = iptun_build_icmperr(hdrs_size, mp)) == NULL) { in iptun_sendicmp_v4() 2120 new_ipha->ipha_length = htons(hdrs_size + orig_pktsize); in iptun_sendicmp_v4() 2151 size_t orig_pktsize, hdrs_size; in iptun_sendicmp_v6() local 2159 hdrs_size = sizeof (ip6_t) + sizeof (icmp6_t); in iptun_sendicmp_v6() 2160 if ((icmp6err_mp = iptun_build_icmperr(hdrs_size, mp)) == NULL) { in iptun_sendicmp_v6()
|