Searched refs:ihdr (Results 1 – 4 of 4) sorted by relevance
/net/rds/ |
D | iw_recv.c | 655 struct rds_header *ihdr, *hdr; in rds_iw_process_recv() local 672 ihdr = &ic->i_recv_hdrs[recv - ic->i_recvs]; in rds_iw_process_recv() 675 if (!rds_message_verify_checksum(ihdr)) { in rds_iw_process_recv() 685 state->ack_recv = be64_to_cpu(ihdr->h_ack); in rds_iw_process_recv() 689 if (ihdr->h_credit) in rds_iw_process_recv() 690 rds_iw_send_add_credits(conn, ihdr->h_credit); in rds_iw_process_recv() 692 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && byte_len == 0) { in rds_iw_process_recv() 725 memcpy(hdr, ihdr, sizeof(*hdr)); in rds_iw_process_recv() 734 if (hdr->h_sequence != ihdr->h_sequence || in rds_iw_process_recv() 735 hdr->h_len != ihdr->h_len || in rds_iw_process_recv() [all …]
|
D | ib_recv.c | 825 struct rds_header *ihdr, *hdr; in rds_ib_process_recv() local 842 ihdr = &ic->i_recv_hdrs[recv - ic->i_recvs]; in rds_ib_process_recv() 845 if (!rds_message_verify_checksum(ihdr)) { in rds_ib_process_recv() 855 state->ack_recv = be64_to_cpu(ihdr->h_ack); in rds_ib_process_recv() 859 if (ihdr->h_credit) in rds_ib_process_recv() 860 rds_ib_send_add_credits(conn, ihdr->h_credit); in rds_ib_process_recv() 862 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) { in rds_ib_process_recv() 895 memcpy(hdr, ihdr, sizeof(*hdr)); in rds_ib_process_recv() 904 if (hdr->h_sequence != ihdr->h_sequence || in rds_ib_process_recv() 905 hdr->h_len != ihdr->h_len || in rds_ib_process_recv() [all …]
|
/net/ipv6/ |
D | exthdrs.c | 665 struct rt0_hdr *phdr, *ihdr; in ipv6_push_rthdr() local 668 ihdr = (struct rt0_hdr *) opt; in ipv6_push_rthdr() 670 phdr = (struct rt0_hdr *) skb_push(skb, (ihdr->rt_hdr.hdrlen + 1) << 3); in ipv6_push_rthdr() 671 memcpy(phdr, ihdr, sizeof(struct rt0_hdr)); in ipv6_push_rthdr() 673 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr() 676 memcpy(phdr->addr, ihdr->addr + 1, in ipv6_push_rthdr() 680 *addr_p = ihdr->addr; in ipv6_push_rthdr()
|
/net/key/ |
D | af_key.c | 1684 static int unicast_flush_resp(struct sock *sk, const struct sadb_msg *ihdr) in unicast_flush_resp() argument 1694 memcpy(hdr, ihdr, sizeof(struct sadb_msg)); in unicast_flush_resp()
|