Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/dev/usb/net/
HDif_axge.c637 uint32_t txhdr; in axge_bulk_write_callback() local
667 txhdr = htole32(m->m_pkthdr.len); in axge_bulk_write_callback()
668 usbd_copy_in(pc, 0, &txhdr, sizeof(txhdr)); in axge_bulk_write_callback()
669 txhdr = 0; in axge_bulk_write_callback()
670 txhdr = htole32(txhdr); in axge_bulk_write_callback()
671 usbd_copy_in(pc, 4, &txhdr, sizeof(txhdr)); in axge_bulk_write_callback()
676 txhdr |= 0x80008000; in axge_bulk_write_callback()
HDif_smsc.c1144 uint32_t txhdr; in smsc_bulk_write_callback() local
1174 txhdr = SMSC_TX_CTRL_0_BUF_SIZE(m->m_pkthdr.len) | in smsc_bulk_write_callback()
1176 txhdr = htole32(txhdr); in smsc_bulk_write_callback()
1177 usbd_copy_in(pc, 0, &txhdr, sizeof(txhdr)); in smsc_bulk_write_callback()
1179 txhdr = SMSC_TX_CTRL_1_PKT_LENGTH(m->m_pkthdr.len); in smsc_bulk_write_callback()
1180 txhdr = htole32(txhdr); in smsc_bulk_write_callback()
1181 usbd_copy_in(pc, 4, &txhdr, sizeof(txhdr)); in smsc_bulk_write_callback()
/freebsd-11-stable/sys/dev/bwn/
HDif_bwn.c955 struct bwn_txhdr txhdr; in bwn_pio_tx_start() local
972 error = bwn_set_txhdr(mac, ni, m, &txhdr, BWN_PIO_COOKIE(tq, tp)); in bwn_pio_tx_start()
1003 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac)); in bwn_pio_tx_start()
1013 (const uint8_t *)&txhdr, BWN_HDRSIZE(mac)); in bwn_pio_tx_start()
6185 struct mbuf *m, struct bwn_txhdr *txhdr, uint16_t cookie) in bwn_set_txhdr() argument
6205 memset(txhdr, 0, sizeof(*txhdr)); in bwn_set_txhdr()
6242 txhdr->phyrate = (BWN_ISOFDMRATE(rate)) ? bwn_plcp_getofdm(rate) : in bwn_set_txhdr()
6244 bcopy(wh->i_fc, txhdr->macfc, sizeof(txhdr->macfc)); in bwn_set_txhdr()
6245 bcopy(wh->i_addr1, txhdr->addr1, IEEE80211_ADDR_LEN); in bwn_set_txhdr()
6251 txhdr->dur_fb = *(u_int16_t *)wh->i_dur; in bwn_set_txhdr()
[all …]
/freebsd-11-stable/sys/dev/virtio/network/
HDif_vtnet.c1970 struct vtnet_tx_header *txhdr; in vtnet_txq_free_mbufs() local
1982 while ((txhdr = virtqueue_drain(vq, &last)) != NULL) { in vtnet_txq_free_mbufs()
1984 m_freem(txhdr->vth_mbuf); in vtnet_txq_free_mbufs()
1985 uma_zfree(vtnet_tx_header_zone, txhdr); in vtnet_txq_free_mbufs()
2143 struct vtnet_tx_header *txhdr) in vtnet_txq_enqueue_buf() argument
2157 error = sglist_append(sg, &txhdr->vth_uhdr, sc->vtnet_hdr_size); in vtnet_txq_enqueue_buf()
2175 txhdr->vth_mbuf = m; in vtnet_txq_enqueue_buf()
2176 error = virtqueue_enqueue(vq, txhdr, sg, sg->sg_nseg, 0); in vtnet_txq_enqueue_buf()
2191 struct vtnet_tx_header *txhdr; in vtnet_txq_encap() local
2199 txhdr = uma_zalloc(vtnet_tx_header_zone, M_NOWAIT | M_ZERO); in vtnet_txq_encap()
[all …]
/freebsd-11-stable/sys/dev/netmap/
HDif_vtnet_netmap.h69 struct vtnet_tx_header *txhdr = cookie; in vtnet_free_used() local
70 m = txhdr->vth_mbuf; in vtnet_free_used()
72 uma_zfree(vtnet_tx_header_zone, txhdr); in vtnet_free_used()
/freebsd-11-stable/sys/dev/cxgbe/tom/
HDt4_tls.c426 kwr->u.txhdr.ctxlen = in prepare_txkey_wr()
428 kwr->u.txhdr.dualck_to_txvalid = in prepare_txkey_wr()
437 memcpy(kwr->u.txhdr.txsalt, kctx->tx.salt, SALT_SIZE); in prepare_txkey_wr()
438 kwr->u.txhdr.dualck_to_txvalid &= in prepare_txkey_wr()
441 kwr->u.txhdr.dualck_to_txvalid = htons(kwr->u.txhdr.dualck_to_txvalid); in prepare_txkey_wr()
HDt4_tls.h309 } txhdr; member