Home
last modified time | relevance | path

Searched refs:hdrs_buf (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rr.c62 uint8_t hdrs_buf[sizeof(struct ether_vlan_header) + in BnxeRouteTxRing() local
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()
119 pHdr = hdrs_buf; in BnxeRouteTxRing()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_txdma.c265 uint8_t hdrs_buf[sizeof (struct ether_header) + 64 + sizeof (uint32_t)]; in hxge_fill_tx_hdr() local
296 bcopy(nmp->b_rptr, &hdrs_buf[0], sizeof (struct ether_vlan_header)); in hxge_fill_tx_hdr()
297 eth_type = ntohs(((p_ether_header_t)hdrs_buf)->ether_type); in hxge_fill_tx_hdr()
307 if (*(hdrs_buf + sizeof (struct ether_header)) == in hxge_fill_tx_hdr()
309 eth_type = ntohs(*((uint16_t *)(hdrs_buf + in hxge_fill_tx_hdr()
322 hdrs_buf)->ether_type); in hxge_fill_tx_hdr()
349 ((p_ether_header_t)hdrs_buf)->ether_type = 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()
355 mblk_len = sizeof (hdrs_buf) - in hxge_fill_tx_hdr()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c465 uint8_t hdrs_buf[sizeof (struct ether_header) + in nxge_fill_tx_hdr() local
501 cursor = &hdrs_buf[0]; in nxge_fill_tx_hdr()
516 eth_type = ntohs(((p_ether_header_t)hdrs_buf)->ether_type); in nxge_fill_tx_hdr()
525 if (*(hdrs_buf + sizeof (struct ether_header)) in nxge_fill_tx_hdr()
527 eth_type = ntohs(*((uint16_t *)(hdrs_buf + in nxge_fill_tx_hdr()
540 hdrs_buf)->ether_type); in nxge_fill_tx_hdr()
568 ((p_ether_header_t)hdrs_buf)->ether_type = 0; in nxge_fill_tx_hdr()
570 sizeof (hdrs_buf))) { in nxge_fill_tx_hdr()
574 (sizeof (hdrs_buf) - hdrs_size)) in nxge_fill_tx_hdr()
575 mblk_len = sizeof (hdrs_buf) - in nxge_fill_tx_hdr()
[all …]