Lines Matching refs:ihdr
853 struct rds_header *ihdr, *hdr; in rds_ib_process_recv() local
871 ihdr = ic->i_recv_hdrs[recv - ic->i_recvs]; in rds_ib_process_recv()
874 sizeof(*ihdr), DMA_FROM_DEVICE); in rds_ib_process_recv()
876 if (!rds_message_verify_checksum(ihdr)) { in rds_ib_process_recv()
886 state->ack_recv = be64_to_cpu(ihdr->h_ack); in rds_ib_process_recv()
890 if (ihdr->h_credit) in rds_ib_process_recv()
891 rds_ib_send_add_credits(conn, ihdr->h_credit); in rds_ib_process_recv()
893 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) { in rds_ib_process_recv()
928 memcpy(hdr, ihdr, sizeof(*hdr)); in rds_ib_process_recv()
939 if (hdr->h_sequence != ihdr->h_sequence || in rds_ib_process_recv()
940 hdr->h_len != ihdr->h_len || in rds_ib_process_recv()
941 hdr->h_sport != ihdr->h_sport || in rds_ib_process_recv()
942 hdr->h_dport != ihdr->h_dport) { in rds_ib_process_recv()
979 sizeof(*ihdr), DMA_FROM_DEVICE); in rds_ib_process_recv()