Home
last modified time | relevance | path

Searched refs:txhdr (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_keyctx.c538 kctx->u.txhdr.ctxlen = t4_tls_key_info_size(tls) / 16; in t4_tls_key_ctx()
539 kctx->u.txhdr.dualck_to_txvalid = in t4_tls_key_ctx()
545 kctx->u.txhdr.dualck_to_txvalid |= in t4_tls_key_ctx()
547 kctx->u.txhdr.dualck_to_txvalid = in t4_tls_key_ctx()
548 htobe16(kctx->u.txhdr.dualck_to_txvalid); in t4_tls_key_ctx()
610 memcpy(kctx->u.txhdr.txsalt, tls->params.iv, SALT_SIZE); in t4_tls_key_ctx()
H A Dt4_crypto.h223 } txhdr; member
H A Dt6_kern_tls.c1786 memcpy(iv, tlsp->keyctx.u.txhdr.txsalt, SALT_SIZE); in ktls_write_tls_wr()
/freebsd/sys/dev/usb/net/
H A Dif_smsc.c1124 uint32_t txhdr; in smsc_bulk_write_callback() local
1154 txhdr = SMSC_TX_CTRL_0_BUF_SIZE(m->m_pkthdr.len) | in smsc_bulk_write_callback()
1156 txhdr = htole32(txhdr); in smsc_bulk_write_callback()
1157 usbd_copy_in(pc, 0, &txhdr, sizeof(txhdr)); in smsc_bulk_write_callback()
1159 txhdr = SMSC_TX_CTRL_1_PKT_LENGTH(m->m_pkthdr.len); in smsc_bulk_write_callback()
1160 txhdr = htole32(txhdr); in smsc_bulk_write_callback()
1161 usbd_copy_in(pc, 4, &txhdr, sizeof(txhdr)); in smsc_bulk_write_callback()
H A Dif_axge.c680 struct axge_frame_txhdr txhdr; in axge_bulk_write_callback() local
709 txhdr.mss = 0; in axge_bulk_write_callback()
710 txhdr.len = htole32(AXGE_TXBYTES(m->m_pkthdr.len)); in axge_bulk_write_callback()
713 txhdr.len |= htole32(AXGE_CSUM_DISABLE); in axge_bulk_write_callback()
716 usbd_copy_in(pc, pos, &txhdr, sizeof(txhdr)); in axge_bulk_write_callback()
717 pos += sizeof(txhdr); in axge_bulk_write_callback()
/freebsd/sys/dev/bwn/
H A Dif_bwn.c1083 struct bwn_txhdr txhdr; in bwn_pio_tx_start() local
1100 error = bwn_set_txhdr(mac, ni, m, &txhdr, BWN_PIO_COOKIE(tq, tp)); in bwn_pio_tx_start()
1131 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac)); in bwn_pio_tx_start()
1141 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac)); in bwn_pio_tx_start()
6384 struct mbuf *m, struct bwn_txhdr *txhdr, uint16_t cookie) in bwn_set_txhdr() argument
6403 memset(txhdr, 0, sizeof(*txhdr)); in bwn_set_txhdr()
6435 txhdr->phyrate = (BWN_ISOFDMRATE(rate)) ? bwn_plcp_getofdm(rate) : in bwn_set_txhdr()
6437 bcopy(wh->i_fc, txhdr->macfc, sizeof(txhdr->macfc)); in bwn_set_txhdr()
6438 bcopy(wh->i_addr1, txhdr->addr1, IEEE80211_ADDR_LEN); in bwn_set_txhdr()
6444 txhdr->dur_fb = *(u_int16_t *)wh->i_dur; in bwn_set_txhdr()
[all …]
/freebsd/sys/dev/virtio/network/
H A Dif_vtnet.c2334 struct vtnet_tx_header *txhdr; in vtnet_txq_free_mbufs() local
2346 while ((txhdr = virtqueue_drain(vq, &last)) != NULL) { in vtnet_txq_free_mbufs()
2348 m_freem(txhdr->vth_mbuf); in vtnet_txq_free_mbufs()
2349 uma_zfree(vtnet_tx_header_zone, txhdr); in vtnet_txq_free_mbufs()
2519 struct vtnet_tx_header *txhdr) in vtnet_txq_enqueue_buf() argument
2533 error = sglist_append(sg, &txhdr->vth_uhdr, sc->vtnet_hdr_size); in vtnet_txq_enqueue_buf()
2554 txhdr->vth_mbuf = m; in vtnet_txq_enqueue_buf()
2555 error = virtqueue_enqueue(vq, txhdr, sg, sg->sg_nseg, 0); in vtnet_txq_enqueue_buf()
2570 struct vtnet_tx_header *txhdr; in vtnet_txq_encap() local
2578 txhdr = uma_zalloc(vtnet_tx_header_zone, flags | M_ZERO); in vtnet_txq_encap()
[all …]
/freebsd/sys/contrib/openzfs/cmd/
H A Ddbufstat.in56 txhdr = ["pool", "objset", "dtype", "cached", "direct", "indirect",
628 hdr = txhdr if xflag else thdr