Searched refs:hdr (Results 1 – 3 of 3) sorted by relevance
/samples/bpf/ |
D | tcp_tos_reflect_kern.c | 28 struct iphdr *hdr; in bpf_basertt() local 54 hdr = (struct iphdr *) header; in bpf_basertt() 55 tos = hdr->tos; in bpf_basertt()
|
/samples/mic/mpssd/ |
D | mpssd.c | 602 struct virtio_net_hdr *hdr in virtio_net() local 607 hdr->flags |= VIRTIO_NET_HDR_F_DATA_VALID; in virtio_net() 610 __func__, __LINE__, hdr->flags); in virtio_net() 612 copy.out_len, hdr->gso_type); in virtio_net() 668 struct virtio_net_hdr *hdr in virtio_net() local 674 hdr->flags); in virtio_net() 677 hdr->gso_type); in virtio_net() 1101 read_header(int fd, struct virtio_blk_outhdr *hdr, __u32 desc_idx) in read_header() argument 1106 iovec.iov_len = sizeof(*hdr); in read_header() 1107 iovec.iov_base = hdr; in read_header() [all …]
|
/samples/vfio-mdev/ |
D | mtty.c | 1214 struct vfio_irq_set hdr; in mtty_ioctl() local 1220 if (copy_from_user(&hdr, (void __user *)arg, minsz)) in mtty_ioctl() 1223 ret = vfio_set_irqs_validate_and_prepare(&hdr, in mtty_ioctl() 1237 ret = mtty_set_irqs(mdev, hdr.flags, hdr.index, hdr.start, in mtty_ioctl() 1238 hdr.count, data); in mtty_ioctl()
|