Home
last modified time | relevance | path

Searched refs:tot_len (Results 1 – 102 of 102) sorted by relevance

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