Searched refs:ext_hdr (Results 1 – 3 of 3) sorted by relevance
239 struct rdsv3_ext_header_version ext_hdr; in rdsv3_message_add_version_extension() local241 ext_hdr.h_version = htonl(version); in rdsv3_message_add_version_extension()243 &ext_hdr, sizeof (ext_hdr))); in rdsv3_message_add_version_extension()250 struct rdsv3_ext_header_version ext_hdr; in rdsv3_message_get_version_extension() local251 unsigned int pos = 0, len = sizeof (ext_hdr); in rdsv3_message_get_version_extension()258 if (rdsv3_message_next_extension(hdr, &pos, &ext_hdr, &len) != in rdsv3_message_get_version_extension()261 *version = ntohl(ext_hdr.h_version); in rdsv3_message_get_version_extension()269 struct rdsv3_ext_header_rdma_dest ext_hdr; in rdsv3_message_add_rdma_dest_extension() local271 ext_hdr.h_rdma_rkey = htonl(r_key); in rdsv3_message_add_rdma_dest_extension()272 ext_hdr.h_rdma_offset = htonl(offset); in rdsv3_message_add_rdma_dest_extension()[all …]
670 struct rdsv3_ext_header_rdma ext_hdr; in rdsv3_ib_xmit() local672 ext_hdr.h_rdma_rkey = htonl(rm->m_rdma_op->r_key); in rdsv3_ib_xmit()674 RDSV3_EXTHDR_RDMA, &ext_hdr, in rdsv3_ib_xmit()675 sizeof (ext_hdr)); in rdsv3_ib_xmit()
159 bb_header_ext_t *ext_hdr; in add_einfo() local173 ext_hdr = (bb_header_ext_t *)extra; in add_einfo()174 dest = (unsigned char *)extra + sizeof (*ext_hdr); in add_einfo()185 ext_hdr->size = P2ROUNDUP(used_space, 8); in add_einfo()186 ext_hdr->checksum = compute_checksum((char *)dest, ext_hdr->size); in add_einfo()