Searched refs:tot_len (Results 1 - 103 of 103) sorted by relevance

/linux-4.1.27/drivers/mtd/lpddr/
H A Dlpddr2_nvm.c330 u_long add, current_len, tot_len, target_len, my_data; lpddr2_nvm_write() local
341 tot_len = 0; lpddr2_nvm_write()
343 while (tot_len < target_len) { lpddr2_nvm_write()
345 my_data = write_buf[tot_len]; lpddr2_nvm_write()
346 my_data += (write_buf[tot_len+1]) << 8; lpddr2_nvm_write()
348 my_data += (write_buf[tot_len+2]) << 16; lpddr2_nvm_write()
349 my_data += (write_buf[tot_len+3]) << 24; lpddr2_nvm_write()
357 tot_len += pcm_data->bus_width; lpddr2_nvm_write()
359 current_len = min(target_len - tot_len, lpddr2_nvm_write()
362 0x00, add, current_len, write_buf + tot_len); lpddr2_nvm_write()
367 tot_len += current_len; lpddr2_nvm_write()
372 *retlen = tot_len; lpddr2_nvm_write()
/linux-4.1.27/fs/btrfs/
H A Dlzo.c282 unsigned long tot_len; lzo_decompress_biovec() local
287 tot_len = read_compress_length(data_in); lzo_decompress_biovec()
291 tot_len = min_t(size_t, srclen, tot_len); lzo_decompress_biovec()
297 while (tot_in < tot_len) { lzo_decompress_biovec()
333 if (working_bytes == 0 && tot_in >= tot_len) lzo_decompress_biovec()
389 size_t tot_len; lzo_decompress() local
396 tot_len = read_compress_length(data_in); lzo_decompress()
/linux-4.1.27/net/ipv6/
H A Dexthdrs.c718 opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC); ipv6_dup_options()
721 memcpy(opt2, opt, opt->tot_len); ipv6_dup_options()
766 int tot_len = 0; ipv6_renew_options() local
773 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); ipv6_renew_options()
775 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); ipv6_renew_options()
777 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); ipv6_renew_options()
779 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); ipv6_renew_options()
783 tot_len += CMSG_ALIGN(newoptlen); ipv6_renew_options()
785 if (!tot_len) ipv6_renew_options()
788 tot_len += sizeof(*opt2); ipv6_renew_options()
789 opt2 = sock_kmalloc(sk, tot_len, GFP_ATOMIC); ipv6_renew_options()
793 memset(opt2, 0, tot_len); ipv6_renew_options()
795 opt2->tot_len = tot_len; ipv6_renew_options()
829 sock_kfree_s(sk, opt2, opt2->tot_len); ipv6_renew_options()
H A Dtcp_ipv6.c744 unsigned int tot_len = sizeof(struct tcphdr); tcp_v6_send_response() local
749 tot_len += TCPOLEN_TSTAMP_ALIGNED; tcp_v6_send_response()
752 tot_len += TCPOLEN_MD5SIG_ALIGNED; tcp_v6_send_response()
755 buff = alloc_skb(MAX_HEADER + sizeof(struct ipv6hdr) + tot_len, tcp_v6_send_response()
760 skb_reserve(buff, MAX_HEADER + sizeof(struct ipv6hdr) + tot_len); tcp_v6_send_response()
762 t1 = (struct tcphdr *) skb_push(buff, tot_len); tcp_v6_send_response()
769 t1->doff = tot_len / 4; tcp_v6_send_response()
H A Dipv6_sockglue.c238 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); do_ipv6_setsockopt()
441 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); do_ipv6_setsockopt()
497 opt->tot_len = sizeof(*opt) + optlen; do_ipv6_setsockopt()
514 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); do_ipv6_setsockopt()
H A Dip6_output.c1175 v6_cork->opt = kzalloc(opt->tot_len, sk->sk_allocation); ip6_setup_cork()
1179 v6_cork->opt->tot_len = opt->tot_len; ip6_setup_cork()
H A Daf_inet6.c433 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); inet6_destroy_sock()
H A Dip6_flowlabel.c383 fl->opt->tot_len = sizeof(*fl->opt) + olen; fl_create()
H A Draw.c825 opt->tot_len = sizeof(struct ipv6_txoptions); rawv6_sendmsg()
H A Dudp.c1247 opt->tot_len = sizeof(*opt); udpv6_sendmsg()
/linux-4.1.27/net/ipv4/
H A Dinet_lro.c41 (ntohs(iph->tot_len) - IP_HDR_LEN(iph) - TCP_HDR_LEN(tcph))
59 if (ntohs(iph->tot_len) != len) lro_tcp_ip_check()
118 csum_replace2(&iph->check, iph->tot_len, htons(lro_desc->ip_tot_len)); lro_update_tcp_ip_header()
119 iph->tot_len = htons(lro_desc->ip_tot_len); lro_update_tcp_ip_header()
164 lro_desc->ip_tot_len = ntohs(iph->tot_len); lro_init_desc()
H A Dxfrm4_input.c52 iph->tot_len = htons(skb->len); xfrm4_transport_finish()
133 iph->tot_len = htons(ntohs(iph->tot_len) - len); xfrm4_udp_encap_rcv()
H A Dxfrm4_mode_transport.c52 ip_hdr(skb)->tot_len = htons(skb->len + ihl); xfrm4_transport_input()
H A Dxfrm4_mode_beet.c120 iph->tot_len = htons(skb->len); xfrm4_beet_input()
H A Dfou.c58 iph->tot_len = htons(ntohs(iph->tot_len) - len); fou_recv_pull()
135 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(skb)->tot_len) - len); gue_udp_recv()
H A Dip_input.c431 len = ntohs(iph->tot_len); ip_rcv()
440 * Note this now means skb->len holds ntohs(iph->tot_len). ip_rcv()
H A Dipmr.c988 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(pkt)->tot_len) + ipmr_cache_report()
1010 ip_hdr(skb)->tot_len = htons(skb->len); /* Fix the length */ ipmr_cache_report()
1675 iph->tot_len = htons(skb->len); ip_encap()
2069 encap->tot_len == 0 || __pim_rcv()
2070 ntohs(encap->tot_len) + pimlen > skb->len) __pim_rcv()
H A Dip_fragment.c614 iph->tot_len = htons(len); ip_frag_reasm()
681 len = ntohs(iph.tot_len); ip_check_defrag()
H A Dip_output.c98 iph->tot_len = htons(skb->len); __ip_local_out_sk()
577 iph->tot_len = htons(first_len);
591 iph->tot_len = htons(frag->len);
736 iph->tot_len = htons(len + hlen);
H A Dipconfig.c816 h->tot_len = htons(sizeof(struct bootp_pkt)); ic_bootp_send_if()
983 if (skb->len < ntohs(h->tot_len)) ic_bootp_recv()
992 if (ntohs(h->tot_len) < ntohs(b->udph.len) + sizeof(struct iphdr)) ic_bootp_recv()
1041 u8 *end = (u8 *) b + ntohs(b->iph.tot_len); ic_bootp_recv()
H A Daf_inet.c1283 iph->tot_len = htons(skb->len - nhoff); inet_gso_segment()
1413 csum_replace2(&iph->check, iph->tot_len, newlen); inet_gro_complete()
1414 iph->tot_len = newlen; inet_gro_complete()
H A Dah4.c208 top_iph->tot_len = htons(skb->len); ah_output()
H A Draw.c404 iph->tot_len = htons(length); raw_send_hdrinc()
H A Dcipso_ipv4.c2287 iph->tot_len = htons(skb->len); cipso_v4_skbuff_setattr()
H A Digmp.c372 pip->tot_len = 0; /* filled in later */ igmpv3_newpack()
/linux-4.1.27/net/core/
H A Dtso.c25 iph->tot_len = htons(size + hdr_len - mac_hdr_len); tso_build_hdr()
H A Dnetpoll.c450 put_unaligned(htons(ip_len), &(iph->tot_len)); netpoll_send_udp()
H A Dpktgen.c2625 iph->tot_len = htons(skb->len - ETH_HLEN); process_ipsec()
2842 iph->tot_len = htons(iplen); fill_packet_ipv4()
/linux-4.1.27/net/netfilter/
H A Dxt_length.c27 u_int16_t pktlen = ntohs(ip_hdr(skb)->tot_len); length_mt()
H A Dxt_TCPMSS.c218 newlen = htons(ntohs(iph->tot_len) + ret); tcpmss_tg4()
219 csum_replace2(&iph->check, iph->tot_len, newlen); tcpmss_tg4()
220 iph->tot_len = newlen; tcpmss_tg4()
H A Dnf_nat_helper.c65 ip_hdr(skb)->tot_len = htons(skb->len); mangle_contents()
H A Dxt_osf.c215 totlen = ntohs(ip->tot_len); xt_osf_match_packet()
/linux-4.1.27/net/dccp/
H A Doptions.c507 u8 tot_len, *to; dccp_insert_fn_opt() local
517 tot_len = 3 + repeat_first + len; dccp_insert_fn_opt()
519 if (DCCP_SKB_CB(skb)->dccpd_opt_len + tot_len > DCCP_MAX_OPT_LEN) { dccp_insert_fn_opt()
523 DCCP_SKB_CB(skb)->dccpd_opt_len += tot_len; dccp_insert_fn_opt()
525 to = skb_push(skb, tot_len); dccp_insert_fn_opt()
527 *to++ = tot_len; dccp_insert_fn_opt()
/linux-4.1.27/net/sched/
H A Dact_csum.c227 * Use iph->tot_len, or just ipl. tcf_csum_ipv4_udp()
337 ntohs(iph->tot_len))) tcf_csum_ipv4()
343 ntohs(iph->tot_len))) tcf_csum_ipv4()
349 ntohs(iph->tot_len))) tcf_csum_ipv4()
355 ntohs(iph->tot_len), 0)) tcf_csum_ipv4()
361 ntohs(iph->tot_len), 1)) tcf_csum_ipv4()
/linux-4.1.27/drivers/net/slip/
H A Dslhc.c399 if(ip->tot_len != cs->cs_ip.tot_len && slhc_compress()
400 ntohs(cs->cs_ip.tot_len) == hlen) slhc_compress()
411 deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ slhc_compress()
418 if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ slhc_compress()
543 i = ntohs(ip->tot_len) - hdrlen; slhc_uncompress()
551 ntohs(ip->tot_len) - hdrlen); slhc_uncompress()
601 ip->tot_len = htons(len); slhc_uncompress()
/linux-4.1.27/drivers/base/regmap/
H A Dregmap-debugfs.c407 int reg_len, tot_len; regmap_access_read_file() local
424 tot_len = reg_len + 10; /* ': R W V P\n' */ regmap_access_read_file()
434 if (buf_pos + tot_len + 1 >= count) regmap_access_read_file()
446 buf_pos += tot_len; regmap_access_read_file()
448 p += tot_len; regmap_access_read_file()
/linux-4.1.27/net/bridge/netfilter/
H A Dnft_reject_bridge.c69 niph->tot_len = htons(nskb->len); nft_reject_br_send_v4_tcp_reset()
102 if (pskb_trim_rcsum(oldskb, ntohs(ip_hdr(oldskb)->tot_len))) nft_reject_br_send_v4_unreach()
136 niph->tot_len = htons(nskb->len); nft_reject_br_send_v4_unreach()
H A Dnf_tables_bridge.c34 len = ntohs(iph->tot_len); nft_bridge_iphdr_validate()
/linux-4.1.27/include/uapi/linux/
H A Dip.h96 __be16 tot_len; member in struct:iphdr
/linux-4.1.27/fs/
H A Dread_write.c778 size_t tot_len; do_readv_writev() local
791 tot_len = iov_iter_count(&iter); do_readv_writev()
792 if (!tot_len) do_readv_writev()
794 ret = rw_verify_area(type, file, pos, tot_len); do_readv_writev()
952 compat_ssize_t tot_len; compat_do_readv_writev() local
965 tot_len = iov_iter_count(&iter); compat_do_readv_writev()
966 if (!tot_len) compat_do_readv_writev()
968 ret = rw_verify_area(type, file, pos, tot_len); compat_do_readv_writev()
H A Dcompat.c551 compat_ssize_t tot_len; compat_rw_copy_check_uvector() local
587 tot_len = 0; compat_rw_copy_check_uvector()
605 if (len > MAX_RW_COUNT - tot_len) compat_rw_copy_check_uvector()
606 len = MAX_RW_COUNT - tot_len; compat_rw_copy_check_uvector()
607 tot_len += len; compat_rw_copy_check_uvector()
613 ret = tot_len; compat_rw_copy_check_uvector()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_qp.c800 u32 tot_len; c2_post_send() local
847 &tot_len, &actual_sge_count); c2_post_send()
848 wr.sqwr.send.sge_len = cpu_to_be32(tot_len); c2_post_send()
870 &tot_len, &actual_sge_count); c2_post_send()
871 wr.sqwr.rdma_write.sge_len = cpu_to_be32(tot_len); c2_post_send()
962 u32 tot_len; c2_post_receive() local
981 ib_wr->num_sge, &tot_len, &actual_sge_count); c2_post_receive()
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_fcs.c1032 u32 tot_len, eth_hdr_len; fnic_send_frame() local
1064 tot_len = skb->len; fnic_send_frame()
1065 BUG_ON(tot_len % 4); fnic_send_frame()
1072 pa = pci_map_single(fnic->pdev, eth_hdr, tot_len, PCI_DMA_TODEVICE); fnic_send_frame()
1075 (char *)eth_hdr, tot_len)) != 0) { fnic_send_frame()
1083 tot_len, PCI_DMA_TODEVICE); fnic_send_frame()
1088 fnic_queue_wq_desc(wq, skb, pa, tot_len, fr_eof(fp), fnic_send_frame()
/linux-4.1.27/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c152 niph->tot_len = htons(nskb->len); nf_send_reset()
H A Dnf_log_ipv4.c64 ntohs(ih->tot_len), ih->tos & IPTOS_TOS_MASK, dump_ipv4_packet()
/linux-4.1.27/drivers/infiniband/hw/nes/
H A Dnes_mgt.c253 u32 tot_len; get_fpdu_info() local
341 tot_len = fpdu_info->hdr_len + fpdu_len - ETH_HLEN; get_fpdu_info()
361 iph->tot_len = cpu_to_be16(tot_len); get_fpdu_info()
527 len = be16_to_cpu(iph->tot_len); queue_fpdus()
H A Dnes_nic.c655 iph->tot_len = htons(tso_wqe_length + original_first_length - nhoffset); nes_netdev_start_xmit()
H A Dnes_cm.c478 iph->tot_len = htons(packetsize); form_cm_frame()
2814 skb->len = ntohs(iph->tot_len); mini_cm_recv_pkt()
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_virtio.c214 size_t partlen, tot_len = 0; mic_vringh_copy() local
235 tot_len += partlen; mic_vringh_copy()
248 *out_len = tot_len; mic_vringh_copy()
/linux-4.1.27/drivers/crypto/
H A Dn2_core.c879 unsigned int tot_len; n2_compute_chunks() local
899 tot_len = 0; n2_compute_chunks()
918 tot_len + this_len > (1 << 16)) { n2_compute_chunks()
932 tot_len = 0; n2_compute_chunks()
940 tot_len += this_len; n2_compute_chunks()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
H A Ddevice.c1080 skb = alloc_skb(gl->tot_len + sizeof(struct cpl_pass_accept_req) + copy_gl_to_skb_pkt()
1085 __skb_put(skb, gl->tot_len + sizeof(struct cpl_pass_accept_req) + copy_gl_to_skb_pkt()
1101 gl->tot_len - pktshift); copy_gl_to_skb_pkt()
1163 gl->tot_len); c4iw_uld_rx_handler()
/linux-4.1.27/include/net/
H A Droute.h39 /* IPv4 datagram length is stored into 16bit field (tot_len) */
H A Dipv6.h210 int tot_len; member in struct:ipv6_txoptions
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c1731 if (gl->tot_len <= RX_COPY_THRES) { cxgb4_pktgl_to_skb()
1732 skb = dev_alloc_skb(gl->tot_len); cxgb4_pktgl_to_skb()
1735 __skb_put(skb, gl->tot_len); cxgb4_pktgl_to_skb()
1736 skb_copy_to_linear_data(skb, gl->va, gl->tot_len); cxgb4_pktgl_to_skb()
1745 skb->len = gl->tot_len; cxgb4_pktgl_to_skb()
1812 skb->len = gl->tot_len - s->pktshift; do_gro()
2028 si.tot_len = len; process_responses()
H A Dcxgb4.h472 unsigned int tot_len; /* total length of fragments */ member in struct:pkt_gl
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c1502 if (gl->tot_len <= RX_COPY_THRES) { t4vf_pktgl_to_skb()
1504 skb = alloc_skb(gl->tot_len, GFP_ATOMIC); t4vf_pktgl_to_skb()
1507 __skb_put(skb, gl->tot_len); t4vf_pktgl_to_skb()
1508 skb_copy_to_linear_data(skb, gl->va, gl->tot_len); t4vf_pktgl_to_skb()
1517 skb->len = gl->tot_len; t4vf_pktgl_to_skb()
1567 skb->len = gl->tot_len - s->pktshift; do_gro()
1780 gl.tot_len = len; process_responses()
H A Dadapter.h155 unsigned int tot_len; /* total length of fragments */ member in struct:pkt_gl
/linux-4.1.27/drivers/isdn/i4l/
H A Disdn_ppp.c1899 unsigned int tot_len; isdn_ppp_mp_reassembly() local
1917 for (tot_len = n = 0, frag = from; frag != to; frag = frag->next, n++) isdn_ppp_mp_reassembly()
1918 tot_len += frag->len - MP_HEADER_LEN; isdn_ppp_mp_reassembly()
1923 (MP_SEQ(from) + n - 1) & MP_LONGSEQ_MASK, tot_len); isdn_ppp_mp_reassembly()
1924 if ((skb = dev_alloc_skb(tot_len)) == NULL) { isdn_ppp_mp_reassembly()
1926 "of size %d\n", tot_len); isdn_ppp_mp_reassembly()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c1328 csum_replace2(&iph->check, iph->tot_len, htons(length)); qlcnic_process_lro()
1329 iph->tot_len = htons(length); qlcnic_process_lro()
1851 csum_replace2(&iph->check, iph->tot_len, htons(length)); qlcnic_83xx_process_lro()
1852 iph->tot_len = htons(length); qlcnic_83xx_process_lro()
/linux-4.1.27/drivers/net/ipvlan/
H A Dipvlan_core.c147 pktlen = ntohs(ip4h->tot_len); htons()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dtx.c815 * @ip_base_len: IPv4 tot_len or IPv6 payload_len, before TCP payload
1187 tsoh_iph->tot_len = htons(ip_length); tso_start_new_packet()
H A Dselftest.c376 payload->ip.tot_len = htons(sizeof(*payload) - sizeof(struct ethhdr)); efx_iterate_state()
/linux-4.1.27/drivers/block/
H A Dnvme-scsi.c1570 u8 opcode, u32 tot_len, u32 offset, nvme_trans_send_fw_cmd()
1593 (unsigned long)hdr->dxferp, tot_len); nvme_trans_send_fw_cmd()
1598 length = nvme_setup_prps(dev, iod, tot_len, GFP_KERNEL); nvme_trans_send_fw_cmd()
1599 if (length != tot_len) { nvme_trans_send_fw_cmd()
1606 c.dlfw.numd = cpu_to_le32((tot_len/BYTES_TO_DWORDS) - 1); nvme_trans_send_fw_cmd()
1569 nvme_trans_send_fw_cmd(struct nvme_ns *ns, struct sg_io_hdr *hdr, u8 opcode, u32 tot_len, u32 offset, u8 buffer_id) nvme_trans_send_fw_cmd() argument
/linux-4.1.27/drivers/net/ethernet/tile/
H A Dtilegx.c1749 (0xFFFF - ih->tot_len) + tso_headers_prepare()
1778 ih->tot_len = htons(sh_len + p_len - ih_off); tso_headers_prepare()
1780 ih->check = csum_long(isum_seed + ih->tot_len + tso_headers_prepare()
/linux-4.1.27/drivers/net/ppp/
H A Dpptp.c279 iph->tot_len = htons(skb->len); pptp_xmit()
/linux-4.1.27/drivers/net/hyperv/
H A Dnetvsc_drv.c556 ip_hdr(skb)->tot_len = 0; netvsc_start_xmit()
/linux-4.1.27/net/l2tp/
H A Dl2tp_ip6.c562 opt->tot_len = sizeof(struct ipv6_txoptions); l2tp_ip6_sendmsg()
/linux-4.1.27/tools/testing/selftests/net/
H A Dpsock_tpacket.c176 ip->tot_len = htons((uint16_t) *len - sizeof(*eth)); create_payload()
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c1645 csum_replace2(&iph->check, iph->tot_len, htons(length)); netxen_process_lro()
1646 iph->tot_len = htons(length); netxen_process_lro()
/linux-4.1.27/drivers/net/ethernet/sgi/
H A Dioc3-eth.c543 (ih->tot_len - (ih->ihl << 2)) + ioc3_tcpudp_checksum()
1439 ih->tot_len - (ih->ihl << 2), ioc3_start_xmit()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c1656 + ntohs(ip_hdr(skb)->tot_len)); atl1e_tso_csum()
1669 ip_hdr(skb)->tot_len = 0; atl1e_tso_csum()
/linux-4.1.27/net/bridge/
H A Dbr_multicast.c383 iph->tot_len = htons(sizeof(*iph) + sizeof(*ih) + 4); br_ip4_multicast_alloc_query()
1589 len = ntohs(iph->tot_len); br_multicast_ipv4_rcv()
H A Dbr_netfilter.c233 len = ntohs(iph->tot_len); br_parse_ip_options()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c695 length_for_csum = (be16_to_cpu(iph->tot_len) - (iph->ihl << 2)); get_fixed_ipv4_csum()
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_xmit.c912 *payload_len = ntohs(old_iph->tot_len); ip_vs_prepare_tunneled_skb()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dcore.c1662 int tot_len = dev->rx_sg_skb->len + len; emac_rx_sg_append() local
1664 if (unlikely(tot_len + 2 > dev->rx_skb_size)) { emac_rx_sg_append()
/linux-4.1.27/drivers/net/ethernet/qlogic/
H A Dqla3xxx.c2468 u32 tot_len = skb->len; ql3xxx_send() local
2488 mac_iocb_ptr->data_len = cpu_to_le16((u16) tot_len); ql3xxx_send()
/linux-4.1.27/drivers/net/usb/
H A Dhso.c900 frame_len = ntohs(odev->rx_ip_hdr.tot_len); packetizeRx()
931 /* Filip actually use .tot_len */ packetizeRx()
/linux-4.1.27/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.c282 if (ntohs(iph->tot_len) < ip_len + tcp_hdrlen(skb)) get_skb_hdr()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_target.c2048 unsigned int tot_len = 0; qlt_check_srr_debug() local
2054 tot_len += cmd->sg[i].length; qlt_check_srr_debug()
2059 " cmd->sg_cnt %d)", cmd, cmd->tag, tot_len, leave, qlt_check_srr_debug()
2062 cmd->bufflen = tot_len; qlt_check_srr_debug()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
H A Di40e_txrx.c1441 iph->tot_len = 0; i40e_tso()
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
H A Dixgb_main.c1237 iph->tot_len = 0; ixgb_tso()
/linux-4.1.27/drivers/net/ethernet/neterion/
H A Ds2io.c8304 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); get_l4_pyld_length()
8318 lro->total_len = ntohs(ip->tot_len); initiate_new_session()
8344 csum_replace2(&ip->check, ip->tot_len, htons(lro->total_len)); update_L3L4_header()
8345 ip->tot_len = htons(lro->total_len); update_L3L4_header()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_sli.c15324 uint32_t len, tot_len; lpfc_prep_seq() local
15333 tot_len = 0; lpfc_prep_seq()
15356 tot_len = bf_get(lpfc_rcqe_length, lpfc_prep_seq()
15362 if (tot_len > LPFC_DATA_BUF_SIZE) lpfc_prep_seq()
15366 first_iocbq->iocb.un.cont64[0].tus.f.bdeSize = tot_len; lpfc_prep_seq()
15370 first_iocbq->iocb.unsli3.rcvsli3.acc_len = tot_len; lpfc_prep_seq()
15397 tot_len += len; lpfc_prep_seq()
15423 tot_len += len; lpfc_prep_seq()
15424 iocbq->iocb.unsli3.rcvsli3.acc_len = tot_len; lpfc_prep_seq()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dd3.c481 pkt->ip.tot_len = cpu_to_be16(ip_tot_len); iwl_mvm_build_tcp_packet()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1821 pgl->tot_len); t4_uld_rx_handler()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1043 /* For padded packets, BE HW modifies tot_len field in IP header be_lancer_xmit_workarounds()
1053 pskb_trim(skb, eth_hdr_len + ntohs(ip->tot_len)); be_lancer_xmit_workarounds()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c2152 iph->tot_len = 0; i40e_tso()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c1936 iph->tot_len = 0; igbvf_tso()
/linux-4.1.27/drivers/net/ethernet/packetengines/
H A Dhamachi.c1524 if (ntohs(ih->tot_len) >= 46){ hamachi_rx()
/linux-4.1.27/drivers/s390/net/
H A Dqeth_l3_main.c2922 iph->tot_len = 0; qeth_tso_fill_header()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c1990 + ntohs(ip_hdr(skb)->tot_len)); atl1c_tso_csum()
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/
H A Datl1.c2136 ntohs(iph->tot_len)); atl1_tso()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbnad.c2514 iph->tot_len = 0; bnad_tso_prepare()
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
H A De1000_main.c2727 iph->tot_len = 0; e1000_tso()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c3291 iph->tot_len = 0; ixgbevf_tso()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/
H A Dqlge_main.c2615 len = (ntohs(iph->tot_len) - (iph->ihl << 2)); ql_hw_csum_setup()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c3646 (__force u32)iph->tot_len - bnx2x_update_pbds_gso_enc()
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dtg3.c7961 ip_tot_len = iph->tot_len; tg3_start_xmit()
7963 iph->tot_len = htons(mss + hdr_len); tg3_start_xmit()
8097 iph->tot_len = ip_tot_len; tg3_start_xmit()
13414 iph->tot_len = htons((u16)(mss + hdr_len)); tg3_run_loopback()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c5211 iph->tot_len = 0; e1000_tso()
/linux-4.1.27/drivers/net/ethernet/micrel/
H A Dksz884x.c4981 protocol = iph->tot_len; csum_verified()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb_main.c4671 iph->tot_len = 0; igb_tso()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c6801 iph->tot_len = 0; ixgbe_tso()

Completed in 7146 milliseconds