Searched refs:hdrs_buf (Results 1 – 3 of 3) sorted by relevance
62 uint8_t hdrs_buf[sizeof(struct ether_vlan_header) + in BnxeRouteTxRing() local104 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()
265 uint8_t hdrs_buf[sizeof (struct ether_header) + 64 + sizeof (uint32_t)]; in hxge_fill_tx_hdr() local296 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 …]
465 uint8_t hdrs_buf[sizeof (struct ether_header) + in nxge_fill_tx_hdr() local501 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 …]