Home
last modified time | relevance | path

Searched refs:ihdr (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/net/rds/
Diw_recv.c640 struct rds_header *ihdr, *hdr; in rds_iw_process_recv() local
657 ihdr = &ic->i_recv_hdrs[recv - ic->i_recvs]; in rds_iw_process_recv()
660 if (!rds_message_verify_checksum(ihdr)) { in rds_iw_process_recv()
670 state->ack_recv = be64_to_cpu(ihdr->h_ack); in rds_iw_process_recv()
674 if (ihdr->h_credit) in rds_iw_process_recv()
675 rds_iw_send_add_credits(conn, ihdr->h_credit); in rds_iw_process_recv()
677 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && byte_len == 0) { in rds_iw_process_recv()
710 memcpy(hdr, ihdr, sizeof(*hdr)); in rds_iw_process_recv()
719 if (hdr->h_sequence != ihdr->h_sequence || in rds_iw_process_recv()
720 hdr->h_len != ihdr->h_len || in rds_iw_process_recv()
[all …]
Dib_recv.c809 struct rds_header *ihdr, *hdr; in rds_ib_process_recv() local
826 ihdr = &ic->i_recv_hdrs[recv - ic->i_recvs]; in rds_ib_process_recv()
829 if (!rds_message_verify_checksum(ihdr)) { in rds_ib_process_recv()
839 state->ack_recv = be64_to_cpu(ihdr->h_ack); in rds_ib_process_recv()
843 if (ihdr->h_credit) in rds_ib_process_recv()
844 rds_ib_send_add_credits(conn, ihdr->h_credit); in rds_ib_process_recv()
846 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) { in rds_ib_process_recv()
879 memcpy(hdr, ihdr, sizeof(*hdr)); in rds_ib_process_recv()
888 if (hdr->h_sequence != ihdr->h_sequence || in rds_ib_process_recv()
889 hdr->h_len != ihdr->h_len || in rds_ib_process_recv()
[all …]
/linux-4.1.27/net/ipv6/
Dexthdrs.c659 struct rt0_hdr *phdr, *ihdr; in ipv6_push_rthdr() local
662 ihdr = (struct rt0_hdr *) opt; in ipv6_push_rthdr()
664 phdr = (struct rt0_hdr *) skb_push(skb, (ihdr->rt_hdr.hdrlen + 1) << 3); in ipv6_push_rthdr()
665 memcpy(phdr, ihdr, sizeof(struct rt0_hdr)); in ipv6_push_rthdr()
667 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr()
670 memcpy(phdr->addr, ihdr->addr + 1, in ipv6_push_rthdr()
674 *addr_p = ihdr->addr; in ipv6_push_rthdr()
/linux-4.1.27/drivers/usb/gadget/function/
Duvc_configfs.c2049 struct uvc_input_header_descriptor *ihdr = *dest; in __uvcg_fill_strm() local
2060 ihdr->bLength = sizeof(h->desc) + h->num_fmt * sz; in __uvcg_fill_strm()
2061 ihdr->bNumFormats = h->num_fmt; in __uvcg_fill_strm()
/linux-4.1.27/net/key/
Daf_key.c1677 static int unicast_flush_resp(struct sock *sk, const struct sadb_msg *ihdr) in unicast_flush_resp() argument
1687 memcpy(hdr, ihdr, sizeof(struct sadb_msg)); in unicast_flush_resp()