Searched refs:ihdr (Results 1 – 6 of 6) sorted by relevance
| /Linux-v4.19/net/rds/ |
| D | ib_recv.c | 840 struct rds_header *ihdr, *hdr; in rds_ib_process_recv() local 857 ihdr = &ic->i_recv_hdrs[recv - ic->i_recvs]; in rds_ib_process_recv() 860 if (!rds_message_verify_checksum(ihdr)) { in rds_ib_process_recv() 870 state->ack_recv = be64_to_cpu(ihdr->h_ack); in rds_ib_process_recv() 874 if (ihdr->h_credit) in rds_ib_process_recv() 875 rds_ib_send_add_credits(conn, ihdr->h_credit); in rds_ib_process_recv() 877 if (ihdr->h_sport == 0 && ihdr->h_dport == 0 && data_len == 0) { in rds_ib_process_recv() 912 memcpy(hdr, ihdr, sizeof(*hdr)); in rds_ib_process_recv() 923 if (hdr->h_sequence != ihdr->h_sequence || in rds_ib_process_recv() 924 hdr->h_len != ihdr->h_len || in rds_ib_process_recv() [all …]
|
| /Linux-v4.19/net/ipv6/ |
| D | exthdrs.c | 874 struct rt0_hdr *phdr, *ihdr; in ipv6_push_rthdr0() local 877 ihdr = (struct rt0_hdr *) opt; in ipv6_push_rthdr0() 879 phdr = skb_push(skb, (ihdr->rt_hdr.hdrlen + 1) << 3); in ipv6_push_rthdr0() 880 memcpy(phdr, ihdr, sizeof(struct rt0_hdr)); in ipv6_push_rthdr0() 882 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr0() 885 memcpy(phdr->addr, ihdr->addr + 1, in ipv6_push_rthdr0() 889 *addr_p = ihdr->addr; in ipv6_push_rthdr0()
|
| /Linux-v4.19/net/tipc/ |
| D | msg.c | 419 struct tipc_msg *hdr, *ihdr; in tipc_msg_extract() local 430 ihdr = (struct tipc_msg *)(msg_data(hdr) + *pos); in tipc_msg_extract() 431 imsz = msg_size(ihdr); in tipc_msg_extract() 440 skb_copy_to_linear_data(*iskb, ihdr, imsz); in tipc_msg_extract()
|
| D | link.c | 1407 struct tipc_msg *hdr, *ihdr; in tipc_link_create_dummy_tnl_msg() local 1425 ihdr = (struct tipc_msg *)msg_data(hdr); in tipc_link_create_dummy_tnl_msg() 1426 tipc_msg_init(onode, ihdr, TIPC_LOW_IMPORTANCE, TIPC_DIRECT_MSG, in tipc_link_create_dummy_tnl_msg() 1428 msg_set_errcode(ihdr, TIPC_ERR_NO_PORT); in tipc_link_create_dummy_tnl_msg()
|
| /Linux-v4.19/drivers/usb/gadget/function/ |
| D | uvc_configfs.c | 1906 struct uvc_input_header_descriptor *ihdr = *dest; in __uvcg_fill_strm() local 1917 ihdr->bLength = sizeof(h->desc) + h->num_fmt * sz; in __uvcg_fill_strm() 1918 ihdr->bNumFormats = h->num_fmt; in __uvcg_fill_strm()
|
| /Linux-v4.19/net/key/ |
| D | af_key.c | 1735 static int unicast_flush_resp(struct sock *sk, const struct sadb_msg *ihdr) in unicast_flush_resp() argument 1744 hdr = skb_put_data(skb, ihdr, sizeof(struct sadb_msg)); in unicast_flush_resp()
|