Lines Matching refs:ihdr
854 struct rds_header *ihdr, *hdr; in rds_ib_process_recv() local
872 ihdr = ic->i_recv_hdrs[recv - ic->i_recvs]; in rds_ib_process_recv()
875 sizeof(*ihdr), DMA_FROM_DEVICE); in rds_ib_process_recv()
877 if (!rds_message_verify_checksum(ihdr)) { in rds_ib_process_recv()
887 state->ack_recv = be64_to_cpu(ihdr->h_ack); in rds_ib_process_recv()
891 if (ihdr->h_credit) in rds_ib_process_recv()
892 rds_ib_send_add_credits(conn, ihdr->h_credit); in rds_ib_process_recv()
894 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) { in rds_ib_process_recv()
929 memcpy(hdr, ihdr, sizeof(*hdr)); in rds_ib_process_recv()
940 if (hdr->h_sequence != ihdr->h_sequence || in rds_ib_process_recv()
941 hdr->h_len != ihdr->h_len || in rds_ib_process_recv()
942 hdr->h_sport != ihdr->h_sport || in rds_ib_process_recv()
943 hdr->h_dport != ihdr->h_dport) { in rds_ib_process_recv()
980 sizeof(*ihdr), DMA_FROM_DEVICE); in rds_ib_process_recv()