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