Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/hxge/
H A Dhxge_txdma.c258 size_t iph_len; in hxge_fill_tx_hdr() local
339 iph_len = ((*ip_buf) & 0x0f); in hxge_fill_tx_hdr()
340 if (mblk_len > (iph_len + sizeof (uint32_t))) { in hxge_fill_tx_hdr()
364 iph_len = ((*ip_buf) & 0x0f); in hxge_fill_tx_hdr()
368 tmp = (uint64_t)iph_len; in hxge_fill_tx_hdr()
375 "tmp 0x%x", iph_len, hdrp->bits.l3start, eth_hdr_size, in hxge_fill_tx_hdr()
406 iph_len, hdrp->bits.l3start, eth_hdr_size, ipproto)); in hxge_fill_tx_hdr()
/titanic_44/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c463 size_t iph_len; in nxge_fill_tx_hdr() local
557 iph_len = ((*ip_buf) & 0x0f); in nxge_fill_tx_hdr()
558 if (mblk_len > (iph_len + sizeof (uint32_t))) { in nxge_fill_tx_hdr()
584 iph_len = ((*ip_buf) & 0x0f); in nxge_fill_tx_hdr()
589 tmp = (uint64_t)iph_len; in nxge_fill_tx_hdr()
597 iph_len, hdrp->bits.hdw.l3start, eth_hdr_size, in nxge_fill_tx_hdr()
633 iph_len, hdrp->bits.hdw.l3start, eth_hdr_size, in nxge_fill_tx_hdr()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip.c5118 int shift, plen, iph_len; in zero_spi_check() local
5128 iph_len = ira->ira_ip_hdr_length; in zero_spi_check()
5131 if (plen - iph_len - sizeof (udpha_t) < sizeof (uint32_t)) { in zero_spi_check()
5145 if (MBLKL(mp) < iph_len + sizeof (udpha_t) + sizeof (*spi)) { in zero_spi_check()
5156 spi = (uint32_t *)(mp->b_rptr + iph_len + sizeof (udpha_t)); in zero_spi_check()
5174 udpha = (udpha_t *)(orptr + iph_len); in zero_spi_check()
5177 udpha->uha_length = htons(plen - shift - iph_len); in zero_spi_check()
5178 iph_len += sizeof (udpha_t); /* For the call to ovbcopy(). */ in zero_spi_check()
5184 ovbcopy(orptr, orptr + shift, iph_len); in zero_spi_check()
/titanic_44/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c6573 int iph_len, tcph_len; in ibd_setup_lso() local
6601 iph_len = IPH_HDR_LENGTH((ipha_t *)ip_start); in ibd_setup_lso()
6603 tcp_start = ip_start + iph_len; in ibd_setup_lso()
6610 lso->lso_hdr_sz = IPOIB_HDRSIZE + iph_len + tcph_len; in ibd_setup_lso()