Lines Matching refs:head
1518 * an RX response" list, grab the head entry and check
1738 struct ar_rx_head *head;
1744 while (len >= sizeof (*head)) {
1745 head = (struct ar_rx_head *)buf;
1746 if (__predict_false(head->tag != htole16(AR_RX_HEAD_TAG))) {
1748 "tag not valid 0x%x\n", le16toh(head->tag));
1751 hlen = le16toh(head->len);
1752 if (__predict_false(sizeof (*head) + hlen > len)) {
1758 otus_sub_rxeof(sc, (uint8_t *)&head[1], hlen, rxq);
1761 hlen = (sizeof (*head) + hlen + 3) & ~3;
2180 struct ar_tx_head *head;
2200 xferlen = sizeof (*head) + m->m_pkthdr.len;
2278 head = (struct ar_tx_head *)data->buf;
2279 head->len = htole16(m->m_pkthdr.len + IEEE80211_CRC_LEN);
2280 head->macctl = htole16(macctl);
2281 head->phyctl = htole32(phyctl);
2283 m_copydata(m, 0, m->m_pkthdr.len, (caddr_t)&head[1]);
2291 __func__, m, data, le16toh(head->len), macctl, phyctl,