• Home
  • Raw
  • Download

Lines Matching refs:i_hdr

167 	struct rds_header *hdr = &inc->i_hdr;  in rds_recv_incoming_exthdrs()
302 (unsigned long long)be64_to_cpu(inc->i_hdr.h_sequence), in rds_recv_incoming()
303 be32_to_cpu(inc->i_hdr.h_len), in rds_recv_incoming()
304 be16_to_cpu(inc->i_hdr.h_sport), in rds_recv_incoming()
305 be16_to_cpu(inc->i_hdr.h_dport), in rds_recv_incoming()
306 inc->i_hdr.h_flags, in rds_recv_incoming()
329 if (be64_to_cpu(inc->i_hdr.h_sequence) < cp->cp_next_rx_seq && in rds_recv_incoming()
330 (inc->i_hdr.h_flags & RDS_FLAG_RETRANSMITTED)) { in rds_recv_incoming()
334 cp->cp_next_rx_seq = be64_to_cpu(inc->i_hdr.h_sequence) + 1; in rds_recv_incoming()
336 if (rds_sysctl_ping_enable && inc->i_hdr.h_dport == 0) { in rds_recv_incoming()
337 if (inc->i_hdr.h_sport == 0) { in rds_recv_incoming()
343 rds_send_pong(cp, inc->i_hdr.h_sport); in rds_recv_incoming()
345 if (RDS_HS_PROBE(be16_to_cpu(inc->i_hdr.h_sport), in rds_recv_incoming()
346 be16_to_cpu(inc->i_hdr.h_dport))) { in rds_recv_incoming()
347 rds_recv_hs_exthdrs(&inc->i_hdr, cp->cp_conn); in rds_recv_incoming()
353 if (be16_to_cpu(inc->i_hdr.h_dport) == RDS_FLAG_PROBE_PORT && in rds_recv_incoming()
354 inc->i_hdr.h_sport == 0) { in rds_recv_incoming()
355 rds_recv_hs_exthdrs(&inc->i_hdr, cp->cp_conn); in rds_recv_incoming()
362 rs = rds_find_bound(daddr, inc->i_hdr.h_dport, conn->c_bound_if); in rds_recv_incoming()
380 be32_to_cpu(inc->i_hdr.h_len), in rds_recv_incoming()
381 inc->i_hdr.h_dport); in rds_recv_incoming()
434 -be32_to_cpu(inc->i_hdr.h_len), in rds_still_queued()
435 inc->i_hdr.h_dport); in rds_still_queued()
691 ntohs(inc->i_hdr.h_sport)); in rds_recvmsg()
709 if (ret < be32_to_cpu(inc->i_hdr.h_len)) { in rds_recvmsg()
711 ret = be32_to_cpu(inc->i_hdr.h_len); in rds_recvmsg()
728 sin->sin_port = inc->i_hdr.h_sport; in rds_recvmsg()
737 sin6->sin6_port = inc->i_hdr.h_sport; in rds_recvmsg()
768 -be32_to_cpu(inc->i_hdr.h_len), in rds_clear_recv_queue()
769 inc->i_hdr.h_dport); in rds_clear_recv_queue()
786 minfo.seq = be64_to_cpu(inc->i_hdr.h_sequence); in rds_inc_info_copy()
787 minfo.len = be32_to_cpu(inc->i_hdr.h_len); in rds_inc_info_copy()
793 minfo.lport = inc->i_hdr.h_dport; in rds_inc_info_copy()
794 minfo.fport = inc->i_hdr.h_sport; in rds_inc_info_copy()
798 minfo.lport = inc->i_hdr.h_sport; in rds_inc_info_copy()
799 minfo.fport = inc->i_hdr.h_dport; in rds_inc_info_copy()
815 minfo6.seq = be64_to_cpu(inc->i_hdr.h_sequence); in rds6_inc_info_copy()
816 minfo6.len = be32_to_cpu(inc->i_hdr.h_len); in rds6_inc_info_copy()
822 minfo6.lport = inc->i_hdr.h_dport; in rds6_inc_info_copy()
823 minfo6.fport = inc->i_hdr.h_sport; in rds6_inc_info_copy()
827 minfo6.lport = inc->i_hdr.h_sport; in rds6_inc_info_copy()
828 minfo6.fport = inc->i_hdr.h_dport; in rds6_inc_info_copy()