Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_keyctx.c555 kctx->u.txhdr.ctxlen = t4_tls_key_info_size(tls) / 16; in t4_tls_key_ctx()
556 kctx->u.txhdr.dualck_to_txvalid = in t4_tls_key_ctx()
562 kctx->u.txhdr.dualck_to_txvalid |= in t4_tls_key_ctx()
564 kctx->u.txhdr.dualck_to_txvalid = in t4_tls_key_ctx()
565 htobe16(kctx->u.txhdr.dualck_to_txvalid); in t4_tls_key_ctx()
627 memcpy(kctx->u.txhdr.txsalt, tls->params.iv, in t4_tls_key_ctx()
H A Dt4_crypto.h224 } txhdr;
223 } txhdr; global() member
H A Dt7_kern_tls.c1767 keyctx->u.txhdr.ctxlen++; in ktls_write_tls_wr()
1768 keyctx->u.txhdr.dualck_to_txvalid &= ~htobe16( in ktls_write_tls_wr()
1770 keyctx->u.txhdr.dualck_to_txvalid |= htobe16( in ktls_write_tls_wr()
1888 memcpy(iv, tlsp->keyctx.u.txhdr.txsalt, SALT_SIZE); in ktls_write_tls_wr()
1892 value = be64dec(tlsp->keyctx.u.txhdr.txsalt + in ktls_write_tls_wr()
H A Dt6_kern_tls.c1788 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.c1085 struct bwn_txhdr txhdr; in bwn_pio_tx_start() local
1102 error = bwn_set_txhdr(mac, ni, m, &txhdr, BWN_PIO_COOKIE(tq, tp)); in bwn_pio_tx_start()
1133 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac)); in bwn_pio_tx_start()
1143 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac)); in bwn_pio_tx_start()
6386 struct mbuf *m, struct bwn_txhdr *txhdr, uint16_t cookie) in bwn_set_txhdr() argument
6405 memset(txhdr, 0, sizeof(*txhdr)); in bwn_set_txhdr()
6437 txhdr->phyrate = (BWN_ISOFDMRATE(rate)) ? bwn_plcp_getofdm(rate) : in bwn_set_txhdr()
6439 bcopy(wh->i_fc, txhdr->macfc, sizeof(txhdr->macfc)); in bwn_set_txhdr()
6440 bcopy(wh->i_addr1, txhdr->addr1, IEEE80211_ADDR_LEN); in bwn_set_txhdr()
6446 txhdr->dur_fb = *(u_int16_t *)wh->i_dur; in bwn_set_txhdr()
[all …]
/freebsd/sys/dev/virtio/network/
H A Dif_vtnet.c2331 struct vtnet_tx_header *txhdr; in vtnet_txq_free_mbufs() local
2343 while ((txhdr = virtqueue_drain(vq, &last)) != NULL) { in vtnet_txq_free_mbufs()
2345 m_freem(txhdr->vth_mbuf); in vtnet_txq_free_mbufs()
2346 uma_zfree(vtnet_tx_header_zone, txhdr); in vtnet_txq_free_mbufs()
2516 struct vtnet_tx_header *txhdr) in vtnet_txq_enqueue_buf() argument
2530 error = sglist_append(sg, &txhdr->vth_uhdr, sc->vtnet_hdr_size); in vtnet_txq_enqueue_buf()
2553 txhdr->vth_mbuf = m; in vtnet_txq_enqueue_buf()
2554 error = virtqueue_enqueue(vq, txhdr, sg, sg->sg_nseg, 0); in vtnet_txq_enqueue_buf()
2568 struct vtnet_tx_header *txhdr; in vtnet_txq_encap() local
2576 txhdr = uma_zalloc(vtnet_tx_header_zone, flags | M_ZERO); in vtnet_txq_encap()
[all …]
/freebsd/sys/contrib/openzfs/cmd/
H A Ddbufstat.in57 txhdr = ["pool", "objset", "dtype", "cached", "direct", "indirect",
629 hdr = txhdr if xflag else thdr
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dmsgbuf.c103 u8 txhdr[ETH_HLEN]; member
761 memcpy(tx_msghdr->txhdr, skb->data, ETH_HLEN); in brcmf_msgbuf_txflow()