Lines Matching refs:ihdr
855 struct rds_header *ihdr, *hdr;
873 ihdr = ic->i_recv_hdrs[recv - ic->i_recvs];
876 sizeof(*ihdr), DMA_FROM_DEVICE);
878 if (!rds_message_verify_checksum(ihdr)) {
888 state->ack_recv = be64_to_cpu(ihdr->h_ack);
892 if (ihdr->h_credit)
893 rds_ib_send_add_credits(conn, ihdr->h_credit);
895 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) {
930 memcpy(hdr, ihdr, sizeof(*hdr));
941 if (hdr->h_sequence != ihdr->h_sequence ||
942 hdr->h_len != ihdr->h_len ||
943 hdr->h_sport != ihdr->h_sport ||
944 hdr->h_dport != ihdr->h_dport) {
981 sizeof(*ihdr), DMA_FROM_DEVICE);