/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/nvfw/ |
A D | acr.c | 60 wpr_generic_header_dump(subdev, &hdr->hdr); in wpr_header_v2_dump() 67 wpr_generic_header_dump(subdev, &hdr->hdr); in lsb_header_v2_dump() 128 hdr->mmu_mem_range); in flcn_acr_desc_dump() 130 hdr->regions.no_regions); in flcn_acr_desc_dump() 149 hdr->ucode_blob_size); in flcn_acr_desc_dump() 151 hdr->ucode_blob_base); in flcn_acr_desc_dump() 157 hdr->vpr_desc.vpr_end); in flcn_acr_desc_dump() 171 hdr->mmu_memory_range); in flcn_acr_desc_v1_dump() 194 hdr->ucode_blob_size); in flcn_acr_desc_v1_dump() 196 hdr->ucode_blob_base); in flcn_acr_desc_v1_dump() [all …]
|
A D | flcn.c | 46 const struct loader_config_v1 *hdr) in loader_config_v1_dump() argument 64 const struct flcn_bl_dmem_desc *hdr) in flcn_bl_dmem_desc_dump() argument 68 hdr->reserved[0], hdr->reserved[1], hdr->reserved[2], in flcn_bl_dmem_desc_dump() 69 hdr->reserved[3]); in flcn_bl_dmem_desc_dump() 71 hdr->signature[0], hdr->signature[1], hdr->signature[2], in flcn_bl_dmem_desc_dump() 72 hdr->signature[3]); in flcn_bl_dmem_desc_dump() 88 const struct flcn_bl_dmem_desc_v1 *hdr) in flcn_bl_dmem_desc_v1_dump() argument 92 hdr->reserved[0], hdr->reserved[1], hdr->reserved[2], in flcn_bl_dmem_desc_v1_dump() 93 hdr->reserved[3]); in flcn_bl_dmem_desc_v1_dump() 95 hdr->signature[0], hdr->signature[1], hdr->signature[2], in flcn_bl_dmem_desc_v1_dump() [all …]
|
A D | ls.c | 36 hdr->tools_version); in nvfw_ls_desc_head() 39 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); in nvfw_ls_desc_head() 82 hdr->load_ovl[i].start, hdr->load_ovl[i].size); in nvfw_ls_desc() 86 return hdr; in nvfw_ls_desc() 103 hdr->load_ovl[i].start, hdr->load_ovl[i].size); in nvfw_ls_desc_v1() 107 return hdr; in nvfw_ls_desc_v1() 123 date = kstrndup(hdr->date, sizeof(hdr->date), GFP_KERNEL); in nvfw_ls_desc_v2() 147 hdr->load_ovl[i].start, hdr->load_ovl[i].size); in nvfw_ls_desc_v2() 150 return hdr; in nvfw_ls_desc_v2() 163 return hdr; in nvfw_ls_hsbl_bin_hdr() [all …]
|
A D | hs.c | 28 const struct nvfw_hs_header *hdr = data; in nvfw_hs_header() local 38 return hdr; in nvfw_hs_header() 56 return hdr; in nvfw_hs_header_v2() 67 hdr->non_sec_code_off); in nvfw_hs_load_header() 69 hdr->non_sec_code_size); in nvfw_hs_load_header() 73 for (i = 0; i < hdr->num_apps; i++) { in nvfw_hs_load_header() 76 hdr->apps[(i * 2) + 0], hdr->apps[(i * 2) + 1]); in nvfw_hs_load_header() 79 return hdr; in nvfw_hs_load_header() 94 for (i = 0; i < hdr->num_apps; i++) { in nvfw_hs_load_header_v2() 97 hdr->app[i].offset, hdr->app[i].size); in nvfw_hs_load_header_v2() [all …]
|
A D | fw.c | 28 const struct nvfw_bin_hdr *hdr = data; in nvfw_bin_hdr() local 31 nvkm_debug(subdev, "\tbinVer : %d\n", hdr->bin_ver); in nvfw_bin_hdr() 32 nvkm_debug(subdev, "\tbinSize : %d\n", hdr->bin_size); in nvfw_bin_hdr() 35 nvkm_debug(subdev, "\tdataSize : 0x%x\n", hdr->data_size); in nvfw_bin_hdr() 36 return hdr; in nvfw_bin_hdr() 42 const struct nvfw_bl_desc *hdr = data; in nvfw_bl_desc() local 44 nvkm_debug(subdev, "\tstartTag : 0x%x\n", hdr->start_tag); in nvfw_bl_desc() 46 nvkm_debug(subdev, "\tcodeOff : 0x%x\n", hdr->code_off); in nvfw_bl_desc() 47 nvkm_debug(subdev, "\tcodeSize : 0x%x\n", hdr->code_size); in nvfw_bl_desc() 48 nvkm_debug(subdev, "\tdataOff : 0x%x\n", hdr->data_off); in nvfw_bl_desc() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | xdp_synproxy_kern.c | 364 hdr->ipv4 = (void *)hdr->eth + sizeof(*hdr->eth); in tcp_dissect() 375 hdr->tcp = (void *)hdr->ipv4 + hdr->ipv4->ihl * 4; in tcp_dissect() 380 hdr->ipv6 = (void *)hdr->eth + sizeof(*hdr->eth); in tcp_dissect() 392 hdr->tcp = (void *)hdr->ipv6 + sizeof(*hdr->ipv6); in tcp_dissect() 401 hdr->tcp_len = hdr->tcp->doff * 4; in tcp_dissect() 532 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv4_gen_synack() 533 hdr->ipv4->tot_len = bpf_htons(sizeof(*hdr->ipv4) + hdr->tcp_len); in tcpv4_gen_synack() 770 hdr->ipv4 = (void *)hdr->eth + sizeof(*hdr->eth); in syncookie_part2() 776 hdr->tcp = (void *)hdr->ipv4 + hdr->ipv4->ihl * 4; in syncookie_part2() 779 hdr->ipv6 = (void *)hdr->eth + sizeof(*hdr->eth); in syncookie_part2() [all …]
|
A D | test_lwt_ip_encap.c | 21 } hdr; in bpf_lwt_encap_gre() local 26 hdr.iph.ihl = 5; in bpf_lwt_encap_gre() 27 hdr.iph.version = 4; in bpf_lwt_encap_gre() 28 hdr.iph.ttl = 0x40; in bpf_lwt_encap_gre() 41 hdr.greh.protocol = skb->protocol; in bpf_lwt_encap_gre() 57 } hdr; in bpf_lwt_encap_gre6() local 62 hdr.ip6hdr.version = 6; in bpf_lwt_encap_gre6() 65 hdr.ip6hdr.hop_limit = 0x40; in bpf_lwt_encap_gre6() 68 hdr.ip6hdr.saddr.s6_addr[1] = 1; in bpf_lwt_encap_gre6() 69 hdr.ip6hdr.saddr.s6_addr[15] = 1; in bpf_lwt_encap_gre6() [all …]
|
A D | test_misc_tcp_hdr_options.c | 41 } hdr = {}; in __check_active_hdr_in() local 54 hdr.reg_opt.len = 4; in __check_active_hdr_in() 55 ret = bpf_load_hdr_opt(skops, &hdr.reg_opt, sizeof(hdr.reg_opt), in __check_active_hdr_in() 60 hdr.reg_opt.len = 0; in __check_active_hdr_in() 61 ret = bpf_load_hdr_opt(skops, &hdr.reg_opt, sizeof(hdr.reg_opt), in __check_active_hdr_in() 63 if (ret != 4 || hdr.reg_opt.len != 4 || hdr.reg_opt.kind != 0xB9 || in __check_active_hdr_in() 64 hdr.reg_opt.data[0] != 0xfa || hdr.reg_opt.data[1] != 0xce) in __check_active_hdr_in() 71 ret = bpf_load_hdr_opt(skops, &hdr.exprm_opt, sizeof(hdr.exprm_opt), in __check_active_hdr_in() 78 ret = bpf_load_hdr_opt(skops, &hdr.exprm_opt, sizeof(hdr.exprm_opt), in __check_active_hdr_in() 84 ret = bpf_load_hdr_opt(skops, &hdr.exprm_opt, sizeof(hdr.exprm_opt), in __check_active_hdr_in() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
A D | ga102.c | 39 nvkm_robj(acr->wpr, offset, &hdr, sizeof(hdr)); in ga102_acr_wpr_patch() 69 hdr = kvzalloc(sizeof(*hdr), GFP_KERNEL); in ga102_acr_wpr_build_lsb() 70 if (!hdr) in ga102_acr_wpr_build_lsb() 74 hdr->hdr.version = 2; in ga102_acr_wpr_build_lsb() 75 hdr->hdr.size = sizeof(*hdr); in ga102_acr_wpr_build_lsb() 151 hdr.hdr.version = 2; in ga102_acr_wpr_build() 152 hdr.hdr.size = sizeof(hdr); in ga102_acr_wpr_build() 161 nvkm_wobj(acr->wpr, offset, &hdr, sizeof(hdr)); in ga102_acr_wpr_build() 180 hdr.hdr.version = 2; in ga102_acr_wpr_build() 181 hdr.hdr.size = sizeof(hdr); in ga102_acr_wpr_build() [all …]
|
/linux-6.3-rc2/sound/synth/ |
A D | util_mem.c | 29 hdr = kzalloc(sizeof(*hdr), GFP_KERNEL); in snd_util_memhdr_new() 30 if (hdr == NULL) in snd_util_memhdr_new() 32 hdr->size = memsize; in snd_util_memhdr_new() 36 return hdr; in snd_util_memhdr_new() 46 if (!hdr) in snd_util_memhdr_free() 49 while ((p = hdr->block.next) != &hdr->block) { in snd_util_memhdr_free() 53 kfree(hdr); in snd_util_memhdr_free() 115 hdr->nblocks++; in __snd_util_memblk_new() 116 hdr->used += units; in __snd_util_memblk_new() 143 hdr->nblocks--; in __snd_util_mem_free() [all …]
|
/linux-6.3-rc2/drivers/s390/scsi/ |
A D | zfcp_diag.c | 37 struct zfcp_diag_header *hdr; in zfcp_diag_adapter_setup() local 46 hdr = &diag->port_data.header; in zfcp_diag_adapter_setup() 55 hdr = &diag->config_data.header; in zfcp_diag_adapter_setup() 99 hdr->incomplete = incomplete; in zfcp_diag_update_xdata() 100 memcpy(hdr->buffer, data, hdr->buffer_size); in zfcp_diag_update_xdata() 169 __must_hold(hdr->access_lock) in __zfcp_diag_update_buffer() 173 if (hdr->updating == 1) { in __zfcp_diag_update_buffer() 176 hdr->access_lock); in __zfcp_diag_update_buffer() 179 hdr->updating = 1; in __zfcp_diag_update_buffer() 186 hdr->updating = 0; in __zfcp_diag_update_buffer() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | radeon_ucode.c | 33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in radeon_ucode_print_common_hdr() 42 le32_to_cpu(hdr->ucode_array_offset_bytes)); in radeon_ucode_print_common_hdr() 43 DRM_DEBUG("crc32: 0x%08x\n", le32_to_cpu(hdr->crc32)); in radeon_ucode_print_common_hdr() 52 radeon_ucode_print_common_hdr(hdr); in radeon_ucode_print_mc_hdr() 56 container_of(hdr, struct mc_firmware_header_v1_0, header); in radeon_ucode_print_mc_hdr() 73 radeon_ucode_print_common_hdr(hdr); in radeon_ucode_print_smc_hdr() 91 radeon_ucode_print_common_hdr(hdr); in radeon_ucode_print_gfx_hdr() 112 radeon_ucode_print_common_hdr(hdr); in radeon_ucode_print_rlc_hdr() 139 radeon_ucode_print_common_hdr(hdr); in radeon_ucode_print_sdma_hdr() 159 const struct common_firmware_header *hdr = in radeon_ucode_validate() local [all …]
|
/linux-6.3-rc2/net/ieee802154/ |
A D | header_ops.c | 51 memcpy(buf, hdr, 1); in ieee802154_hdr_push_sechdr() 54 switch (hdr->key_id_mode) { in ieee802154_hdr_push_sechdr() 72 buf[pos++] = hdr->key_id; in ieee802154_hdr_push_sechdr() 85 buf[pos++] = hdr->seq; in ieee802154_hdr_push() 96 if (hdr->source.pan_id == hdr->dest.pan_id && in ieee802154_hdr_push() 189 memcpy(hdr, buf, 1); in ieee802154_hdr_get_sechdr() 210 hdr->key_id = buf[pos++]; in ieee802154_hdr_get_sechdr() 249 hdr->fc.intra_pan, &hdr->source); in ieee802154_hdr_get_addrs() 251 if (hdr->fc.intra_pan) in ieee802154_hdr_get_addrs() 252 hdr->source.pan_id = hdr->dest.pan_id; in ieee802154_hdr_get_addrs() [all …]
|
/linux-6.3-rc2/drivers/scsi/ |
A D | scsi_bsg.c | 23 if (hdr->dout_xfer_len && hdr->din_xfer_len) { in scsi_bsg_sg_io_fn() 35 scmd->cmd_len = hdr->request_len; in scsi_bsg_sg_io_fn() 49 if (hdr->dout_xfer_len) { in scsi_bsg_sg_io_fn() 52 } else if (hdr->din_xfer_len) { in scsi_bsg_sg_io_fn() 54 hdr->din_xfer_len, GFP_KERNEL); in scsi_bsg_sg_io_fn() 68 hdr->driver_status = 0; in scsi_bsg_sg_io_fn() 71 hdr->info = 0; in scsi_bsg_sg_io_fn() 72 if (hdr->device_status || hdr->transport_status || hdr->driver_status) in scsi_bsg_sg_io_fn() 73 hdr->info |= SG_INFO_CHECK; in scsi_bsg_sg_io_fn() 74 hdr->response_len = 0; in scsi_bsg_sg_io_fn() [all …]
|
A D | scsi_ioctl.c | 355 if (copy_from_user(scmd->cmnd, hdr->cmdp, hdr->cmd_len)) in scsi_fill_sghdr_rq() 388 hdr->info = 0; in scsi_complete_sghdr_rq() 389 if (hdr->masked_status || hdr->host_status || hdr->driver_status) in scsi_complete_sghdr_rq() 392 hdr->sb_len_wr = 0; in scsi_complete_sghdr_rq() 455 ret = blk_rq_map_user_io(rq, NULL, hdr->dxferp, hdr->dxfer_len, in sg_io() 456 GFP_KERNEL, hdr->iovec_count && hdr->dxfer_len, in sg_io() 653 if (copy_to_user(argp, hdr, sizeof(*hdr))) in put_sg_io_hdr() 698 if (copy_from_user(hdr, argp, sizeof(*hdr))) in get_sg_io_hdr() 791 memset(&hdr, 0, sizeof(hdr)); in scsi_cdrom_send_packet() 814 if (hdr.sbp) in scsi_cdrom_send_packet() [all …]
|
/linux-6.3-rc2/fs/ksmbd/ |
A D | smb2misc.c | 86 struct smb2_hdr *hdr) in smb2_get_data_area_len() argument 98 switch (hdr->Command) { in smb2_get_data_area_len() 111 hdr)->CreateContextsOffset); in smb2_get_data_area_len() 113 hdr)->CreateContextsLength); in smb2_get_data_area_len() 189 struct smb2_hdr *hdr = &pdu->hdr; in smb2_calc_size() local 208 if (hdr->Command == SMB2_LOCK) in smb2_calc_size() 285 void *__hdr = hdr; in smb2_validate_credit_charge() 288 switch (hdr->Command) { in smb2_validate_credit_charge() 350 struct smb2_hdr *hdr = &pdu->hdr; in ksmbd_smb2_check_message() local 360 if (check_smb2_hdr(hdr)) in ksmbd_smb2_check_message() [all …]
|
/linux-6.3-rc2/fs/xfs/libxfs/ |
A D | xfs_dir2_data.c | 30 struct xfs_dir2_data_hdr *hdr) in xfs_dir2_data_bestfree_p() argument 34 return hdr->bestfree; in xfs_dir2_data_bestfree_p() 126 hdr = bp->b_addr; in __xfs_dir3_data_check() 129 switch (hdr->magic) { in __xfs_dir3_data_check() 322 switch (hdr->magic) { in xfs_dir3_data_reada_verify() 645 void *addr = hdr; in xfs_dir2_data_freescan() 719 hdr = bp->b_addr; in xfs_dir3_data_init() 852 hdr = bp->b_addr; in xfs_dir2_data_make_free() 1073 hdr = bp->b_addr; in xfs_dir2_data_use_free() 1200 hdr, sizeof(*hdr), __FILE__, __LINE__, fa); in xfs_dir2_data_use_free() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/ |
A D | iavf_adv_rss.c | 16 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, IPV4); in iavf_fill_adv_rss_ip4_hdr() 33 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, IPV6); in iavf_fill_adv_rss_ip6_hdr() 50 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, TCP); in iavf_fill_adv_rss_tcp_hdr() 67 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, UDP); in iavf_fill_adv_rss_udp_hdr() 84 VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, SCTP); in iavf_fill_adv_rss_sctp_hdr() 106 struct virtchnl_proto_hdr *hdr; in iavf_fill_adv_rss_cfg_msg() local 115 iavf_fill_adv_rss_ip4_hdr(hdr, hash_flds); in iavf_fill_adv_rss_cfg_msg() 118 iavf_fill_adv_rss_ip6_hdr(hdr, hash_flds); in iavf_fill_adv_rss_cfg_msg() 127 iavf_fill_adv_rss_tcp_hdr(hdr, hash_flds); in iavf_fill_adv_rss_cfg_msg() 130 iavf_fill_adv_rss_udp_hdr(hdr, hash_flds); in iavf_fill_adv_rss_cfg_msg() [all …]
|
/linux-6.3-rc2/drivers/firmware/google/ |
A D | memconsole-x86-legacy.c | 55 hdr); in found_v1_header() 57 hdr->v1.buffer_addr, hdr->v1.start, in found_v1_header() 58 hdr->v1.end, hdr->v1.num_chars); in found_v1_header() 61 memconsole_length = hdr->v1.num_chars; in found_v1_header() 68 hdr); in found_v2_header() 70 hdr->v2.buffer_addr, hdr->v2.start, in found_v2_header() 71 hdr->v2.end, hdr->v2.num_bytes); in found_v2_header() 73 memconsole_baseaddr = phys_to_virt(hdr->v2.buffer_addr + hdr->v2.start); in found_v2_header() 74 memconsole_length = hdr->v2.end - hdr->v2.start; in found_v2_header() 106 found_v1_header(hdr); in memconsole_ebda_init() [all …]
|
/linux-6.3-rc2/drivers/firmware/imx/ |
A D | misc.c | 15 struct imx_sc_rpc_msg hdr; member 22 struct imx_sc_rpc_msg hdr; member 30 struct imx_sc_rpc_msg hdr; member 36 struct imx_sc_rpc_msg hdr; member 55 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_misc_set_control() local 57 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_misc_set_control() 60 hdr->size = 4; in imx_sc_misc_set_control() 86 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_misc_get_control() local 92 hdr->size = 3; in imx_sc_misc_get_control() 123 struct imx_sc_rpc_msg *hdr = &msg.hdr; in imx_sc_pm_cpu_start() local [all …]
|
/linux-6.3-rc2/fs/nfs/ |
A D | nfs42xdr.c | 671 encode_nops(&hdr); in nfs4_xdr_enc_allocate() 706 encode_nops(&hdr); in nfs4_xdr_enc_copy() 725 encode_nops(&hdr); in nfs4_xdr_enc_offload_cancel() 744 encode_nops(&hdr); in nfs4_xdr_enc_copy_notify() 764 encode_nops(&hdr); in nfs4_xdr_enc_deallocate() 786 encode_nops(&hdr); in nfs4_xdr_enc_read_plus() 805 encode_nops(&hdr); in nfs4_xdr_enc_seek() 828 encode_nops(&hdr); in nfs4_xdr_enc_layoutstats() 850 encode_nops(&hdr); in nfs4_xdr_enc_clone() 871 encode_nops(&hdr); in nfs4_xdr_enc_layouterror() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/hostap/ |
A D | hostap_80211_rx.c | 24 struct ieee80211_hdr *hdr; in hostap_dump_rx_80211() local 138 hdr->msglen = sizeof(*hdr); in prism2_rx_80211() 139 memcpy(hdr->devname, dev->name, sizeof(hdr->devname)); in prism2_rx_80211() 142 hdr->f.status = s; hdr->f.len = l; hdr->f.data = d in prism2_rx_80211() 176 hdr->hdr.it_len = cpu_to_le16(phdrlen); in prism2_rx_80211() 177 hdr->hdr.it_present = in prism2_rx_80211() 312 entry = prism2_frag_cache_find(local, seq, -1, hdr->addr2, hdr->addr1); in prism2_frag_cache_invalidate() 566 (hdr->addr1[0] != 0xff || hdr->addr1[1] != 0xff || in hostap_rx_frame_wds() 567 hdr->addr1[2] != 0xff || hdr->addr1[3] != 0xff || in hostap_rx_frame_wds() 568 hdr->addr1[4] != 0xff || hdr->addr1[5] != 0xff)) { in hostap_rx_frame_wds() [all …]
|
/linux-6.3-rc2/scripts/ |
A D | insert-sys-cert.c | 73 x = (void *)hdr + hdr->e_shoff; in get_offset_from_address() 74 if (hdr->e_shnum == SHN_UNDEF) in get_offset_from_address() 77 num_sections = hdr->e_shnum; in get_offset_from_address() 141 x = (void *)hdr + hdr->e_shoff; in find_elf_symbol() 165 x = (void *)hdr + hdr->e_shoff; in get_symbol_from_table() 189 x = (void *)hdr + hdr->e_shoff; in get_symbol_table() 280 Elf_Ehdr *hdr; in main() local 315 if (!hdr) in main() 376 print_sym(hdr, &cert_sym); in main() 377 print_sym(hdr, &used_sym); in main() [all …]
|
/linux-6.3-rc2/drivers/media/platform/verisilicon/ |
A D | hantro_g1_vp8_dec.c | 380 hdr->last_frame_ts); in cfg_ref() 388 hdr->golden_frame_ts); in cfg_ref() 398 hdr->alt_frame_ts); in cfg_ref() 445 if (WARN_ON(!hdr)) in hantro_g1_vp8_dec_run() 472 if (hdr->lf.level == 0) in hantro_g1_vp8_dec_run() 491 if (hdr->version != 3) in hantro_g1_vp8_dec_run() 493 if (hdr->version & 0x3) in hantro_g1_vp8_dec_run() 497 cfg_lf(ctx, hdr); in hantro_g1_vp8_dec_run() 498 cfg_qp(ctx, hdr); in hantro_g1_vp8_dec_run() 499 cfg_parts(ctx, hdr); in hantro_g1_vp8_dec_run() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | virtio_net.h | 27 const struct virtio_net_hdr *hdr) in virtio_net_hdr_set_proto() argument 49 const struct virtio_net_hdr *hdr, in virtio_net_hdr_to_skb() argument 83 if (hdr->gso_type & VIRTIO_NET_HDR_GSO_ECN) in virtio_net_hdr_to_skb() 86 if (hdr->gso_size == 0) in virtio_net_hdr_to_skb() 117 virtio_net_hdr_set_proto(skb, hdr); in virtio_net_hdr_to_skb() 173 struct virtio_net_hdr *hdr, in virtio_net_hdr_from_skb() argument 178 memset(hdr, 0, sizeof(*hdr)); /* no info leak */ in virtio_net_hdr_from_skb() 197 hdr->gso_type |= VIRTIO_NET_HDR_GSO_ECN; in virtio_net_hdr_from_skb() 199 hdr->gso_type = VIRTIO_NET_HDR_GSO_NONE; in virtio_net_hdr_from_skb() 202 hdr->flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in virtio_net_hdr_from_skb() [all …]
|