/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dacnv50.c | 36 const u32 doff = outp->or * 0x800; nv50_dac_power() local 56 nv_wait(priv, 0x61a004 + doff, 0x80000000, 0x00000000); nv50_dac_power() 57 nv_mask(priv, 0x61a004 + doff, 0xc000007f, 0x80000000 | stat); nv50_dac_power() 58 nv_wait(priv, 0x61a004 + doff, 0x80000000, 0x00000000); nv50_dac_power() 68 const u32 doff = outp->or * 0x800; nv50_dac_sense() local 82 nv_mask(priv, 0x61a004 + doff, 0x807f0000, 0x80150000); nv50_dac_sense() 83 nv_wait(priv, 0x61a004 + doff, 0x80000000, 0x00000000); nv50_dac_sense() 85 nv_wr32(priv, 0x61a00c + doff, 0x00100000 | loadval); nv50_dac_sense() 88 loadval = nv_mask(priv, 0x61a00c + doff, 0xffffffff, 0x00000000); nv50_dac_sense() 90 nv_mask(priv, 0x61a004 + doff, 0x807f0000, 0x80550000); nv50_dac_sense() 91 nv_wait(priv, 0x61a004 + doff, 0x80000000, 0x00000000); nv50_dac_sense()
|
/linux-4.1.27/arch/alpha/lib/ |
H A D | csum_partial_copy.c | 198 unsigned long doff, csum_partial_cfu_src_aligned() 208 mskql(partial_dest, doff, partial_dest); csum_partial_cfu_src_aligned() 212 insql(word, doff, second_dest); csum_partial_cfu_src_aligned() 217 insqh(word, doff, partial_dest); csum_partial_cfu_src_aligned() 228 insql(word, doff, second_dest); csum_partial_cfu_src_aligned() 229 len += doff; csum_partial_cfu_src_aligned() 236 insqh(word, doff, partial_dest); csum_partial_cfu_src_aligned() 238 doff = len; csum_partial_cfu_src_aligned() 241 mskqh(second_dest, doff, second_dest); csum_partial_cfu_src_aligned() 256 unsigned long soff, unsigned long doff, csum_partial_cfu_unaligned() 268 mskql(partial_dest, doff, partial_dest); csum_partial_cfu_unaligned() 281 insql(word, doff, second_dest); csum_partial_cfu_unaligned() 285 insqh(word, doff, partial_dest); csum_partial_cfu_unaligned() 288 len += doff; csum_partial_cfu_unaligned() 299 mskql(word, len-doff, word); csum_partial_cfu_unaligned() 301 insql(word, doff, second_dest); csum_partial_cfu_unaligned() 306 insqh(word, doff, partial_dest); csum_partial_cfu_unaligned() 320 mskql(word, len-doff, word); csum_partial_cfu_unaligned() 324 insql(word, doff, word); csum_partial_cfu_unaligned() 338 unsigned long doff = 7 & (unsigned long) dst; csum_partial_copy_from_user() local 346 if (!doff) { csum_partial_copy_from_user() 364 doff, len-8, checksum, csum_partial_copy_from_user() 370 soff, doff, len-8, checksum, csum_partial_copy_from_user() 196 csum_partial_cfu_src_aligned(const unsigned long __user *src, unsigned long *dst, unsigned long doff, long len, unsigned long checksum, unsigned long partial_dest, int *errp) csum_partial_cfu_src_aligned() argument 254 csum_partial_cfu_unaligned(const unsigned long __user * src, unsigned long * dst, unsigned long soff, unsigned long doff, long len, unsigned long checksum, unsigned long partial_dest, int *errp) csum_partial_cfu_unaligned() argument
|
/linux-4.1.27/net/netfilter/ |
H A D | xt_tcpmss.c | 33 /* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */ tcpmss_mt() 44 if (th->doff*4 < sizeof(*th)) tcpmss_mt() 47 optlen = th->doff*4 - sizeof(*th); tcpmss_mt()
|
H A D | xt_tcpudp.c | 38 /* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */ tcp_find_option() 110 if (th->doff * 4 < sizeof(_tcph)) { tcp_mt() 115 th->doff*4 - sizeof(_tcph), tcp_mt()
|
H A D | nf_synproxy_core.c | 28 synproxy_parse_options(const struct sk_buff *skb, unsigned int doff, synproxy_parse_options() argument 31 int length = (th->doff * 4) - sizeof(*th); synproxy_parse_options() 34 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); synproxy_parse_options() 194 optend = protoff + th->doff * 4; synproxy_tstamp_adjust()
|
H A D | nf_log_common.c | 110 if ((logflags & XT_LOG_TCPOPT) && th->doff*4 > sizeof(struct tcphdr)) { nf_log_dump_tcp_header() 114 unsigned int optsize = th->doff*4 - sizeof(struct tcphdr); nf_log_dump_tcp_header()
|
H A D | xt_dccp.c | 43 /* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */ dccp_find_option() 165 /* doff is 8 bits, so the maximum option size is (4*256). Don't put dccp_mt_init()
|
H A D | xt_TCPOPTSTRIP.c | 55 tcp_hdrlen = tcph->doff * 4; tcpoptstrip_mangle_packet()
|
H A D | xt_TCPMSS.c | 105 tcp_hdrlen = tcph->doff * 4; tcpmss_mangle_packet() 197 tcph->doff += TCPOLEN_MSS/4; tcpmss_mangle_packet()
|
H A D | nf_conntrack_sane.c | 89 dataoff = protoff + th->doff * 4; help()
|
H A D | nf_conntrack_seqadj.c | 126 optend = protoff + tcph->doff * 4; nf_ct_sack_adjust()
|
H A D | xt_osf.c | 219 if (tcp->doff * 4 > sizeof(struct tcphdr)) { xt_osf_match_packet() 220 optsize = tcp->doff * 4 - sizeof(struct tcphdr); xt_osf_match_packet()
|
H A D | nf_conntrack_pptp.c | 533 nexthdr_off += tcph->doff * 4; conntrack_pptp_help() 534 datalen = tcplen - tcph->doff * 4; conntrack_pptp_help()
|
H A D | nf_conntrack_irc.c | 139 dataoff = protoff + th->doff*4; help()
|
H A D | nf_nat_helper.c | 118 mangle_contents(skb, protoff + tcph->doff*4, __nf_nat_mangle_tcp_packet()
|
H A D | nf_conntrack_proto_tcp.c | 370 return (seq + len - dataoff - tcph->doff*4 segment_seq_plus_len() 390 int length = (tcph->doff*4) - sizeof(struct tcphdr); tcp_options() 444 int length = (tcph->doff*4) - sizeof(struct tcphdr); tcp_sack() 774 if (th->doff*4 < sizeof(struct tcphdr) || tcplen < th->doff*4) { tcp_error()
|
H A D | nf_conntrack_ftp.c | 417 dataoff = protoff + th->doff * 4; help()
|
H A D | nf_nat_sip.c | 45 baseoff = protoff + th->doff * 4; mangle_packet()
|
H A D | nf_conntrack_h323_main.c | 139 tcpdataoff = protoff + th->doff * 4; get_tpkt_data()
|
H A D | nf_conntrack_sip.c | 1502 dataoff = protoff + th->doff * 4; sip_help_tcp()
|
/linux-4.1.27/drivers/net/slip/ |
H A D | slhc.c | 264 hlen = ip->ihl*4 + th->doff*4; slhc_compress() 351 || th->doff != cs->cs_tcp.doff slhc_compress() 353 || (th->doff > 5 && memcmp(th+1,cs->cs_tcpopt,((th->doff)-5)*4) != 0)){ slhc_compress() 474 if (th->doff > 5) slhc_compress() 475 memcpy(cs->cs_tcpopt, th+1, ((th->doff) - 5) * 4); slhc_compress() 537 hdrlen = ip->ihl * 4 + thp->doff * 4; slhc_uncompress() 621 if (thp->doff > 5) { slhc_uncompress() 622 memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); slhc_uncompress() 623 cp += ((thp->doff) - 5) * 4; slhc_uncompress() 673 if (cs->cs_tcp.doff > 5) slhc_remember() 674 memcpy(cs->cs_tcpopt, icp + ihl*4 + sizeof(struct tcphdr), (cs->cs_tcp.doff - 5) * 4); slhc_remember() 675 cs->cs_hsize = ihl*2 + cs->cs_tcp.doff*2; slhc_remember()
|
/linux-4.1.27/net/ipv4/ |
H A D | inet_lro.c | 38 #define TCP_HDR_LEN(tcph) (tcph->doff << 2) 75 if (tcph->doff != TCPH_LEN_WO_OPTIONS && lro_tcp_ip_check() 76 tcph->doff != TCPH_LEN_W_TIMESTAMP) lro_tcp_ip_check() 80 if (tcph->doff == TCPH_LEN_W_TIMESTAMP) { lro_tcp_ip_check() 166 if (tcph->doff == 8) { lro_init_desc()
|
H A D | tcp_ipv4.c | 552 th->doff << 2, __tcp_v4_send_check() 612 rep.th.doff = sizeof(struct tcphdr) / 4; tcp_v4_send_reset() 620 skb->len - (th->doff << 2)); tcp_v4_send_reset() 667 rep.th.doff = arg.iov[0].iov_len / 4; tcp_v4_send_reset() 742 rep.th.doff = arg.iov[0].iov_len / 4; tcp_v4_send_ack() 757 rep.th.doff = arg.iov[0].iov_len/4; tcp_v4_send_ack() 1052 if (tcp_v4_md5_hash_pseudoheader(hp, daddr, saddr, th->doff << 2)) tcp_v4_md5_hash_hdr() 1101 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) tcp_v4_md5_hash_skb() 1466 if (th->doff < sizeof(struct tcphdr) / 4) tcp_v4_early_demux() 1566 if (th->doff < sizeof(struct tcphdr) / 4) tcp_v4_rcv() 1568 if (!pskb_may_pull(skb, th->doff * 4)) tcp_v4_rcv() 1572 * Packet length and doff are validated by header prediction, tcp_v4_rcv() 1573 * provided case of th->doff==0 is eliminated. tcp_v4_rcv() 1590 skb->len - th->doff * 4); tcp_v4_rcv() 1653 if (skb->len < (th->doff << 2) || tcp_checksum_complete(skb)) { tcp_v4_rcv() 1677 if (skb->len < (th->doff << 2)) { tcp_v4_rcv()
|
H A D | tcp_offload.c | 70 thlen = th->doff * 4; tcp_gso_segment() 202 thlen = th->doff * 4; tcp_gro_receive()
|
H A D | tcp_minisocks.c | 108 if (th->doff > (sizeof(*th) >> 2) && tcptw->tw_ts_recent_stamp) { tcp_timewait_state_process() 571 if (th->doff > (sizeof(struct tcphdr)>>2)) { tcp_check_req()
|
H A D | tcp_input.c | 3654 int length = (th->doff * 4) - sizeof(struct tcphdr); tcp_parse_options() 3784 /* In the spirit of fast parsing, compare doff directly to constant tcp_fast_parse_options() 3785 * values. Because equality is used, short doff can be ignored here. tcp_fast_parse_options() 3787 if (th->doff == (sizeof(*th) / 4)) { tcp_fast_parse_options() 3791 th->doff == ((sizeof(*th) + TCPOLEN_TSTAMP_ALIGNED) / 4)) { tcp_fast_parse_options() 3809 int length = (th->doff << 2) - sizeof(*th); tcp_parse_md5sig_option() 4498 __skb_pull(skb, tcp_hdr(skb)->doff * 4); tcp_data_queue() 5021 u32 ptr = tp->urg_seq - ntohl(th->seq) + (th->doff * 4) - tcp_urg() 5219 * is automatically equal to th->doff*4 due to pred_flags tcp_rcv_established() 5337 if (len < (th->doff << 2) || tcp_checksum_complete_user(sk, skb)) tcp_rcv_established()
|
H A D | tcp_output.c | 3013 th->doff = (tcp_header_size >> 2); tcp_make_synack()
|
/linux-4.1.27/include/net/netfilter/ |
H A D | nf_conntrack_synproxy.h | 59 bool synproxy_parse_options(const struct sk_buff *skb, unsigned int doff,
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | gf100.c | 98 read_div(struct gf100_clk_priv *priv, int doff, u32 dsrc, u32 dctl) read_div() argument 100 u32 ssrc = nv_rd32(priv, dsrc + (doff * 4)); read_div() 101 u32 sctl = nv_rd32(priv, dctl + (doff * 4)); read_div() 112 u32 sclk = read_vco(priv, dsrc + (doff * 4)); read_div() 117 return read_vco(priv, dsrc + (doff * 4)); read_div()
|
H A D | gk104.c | 104 read_div(struct gk104_clk_priv *priv, int doff, u32 dsrc, u32 dctl) read_div() argument 106 u32 ssrc = nv_rd32(priv, dsrc + (doff * 4)); read_div() 107 u32 sctl = nv_rd32(priv, dctl + (doff * 4)); read_div() 118 u32 sclk = read_vco(priv, dsrc + (doff * 4)); read_div() 123 return read_vco(priv, dsrc + (doff * 4)); read_div()
|
/linux-4.1.27/drivers/dma/ |
H A D | fsl-edma.c | 127 __le16 doff; member in struct:fsl_edma_hw_tcd 453 edma_writew(edma, le16_to_cpu(tcd->doff), addr + EDMA_TCD_DOFF(ch)); fsl_edma_set_tcd_regs() 463 u16 biter, u16 doff, u32 dlast_sga, bool major_int, fsl_edma_fill_tcd() 485 tcd->doff = cpu_to_le16(EDMA_TCD_DOFF_DOFF(doff)); fsl_edma_fill_tcd() 541 u16 soff, doff, iter; fsl_edma_prep_dma_cyclic() local 567 doff = 0; fsl_edma_prep_dma_cyclic() 572 doff = fsl_chan->fsc.addr_width; fsl_edma_prep_dma_cyclic() 577 iter, doff, last_sg, true, false, true); fsl_edma_prep_dma_cyclic() 593 u16 soff, doff, iter; fsl_edma_prep_slave_sg() local 613 doff = 0; for_each_sg() 618 doff = fsl_chan->fsc.addr_width; for_each_sg() 626 nbytes, 0, iter, iter, doff, last_sg, for_each_sg() 632 nbytes, 0, iter, iter, doff, last_sg, for_each_sg() 461 fsl_edma_fill_tcd(struct fsl_edma_hw_tcd *tcd, u32 src, u32 dst, u16 attr, u16 soff, u32 nbytes, u32 slast, u16 citer, u16 biter, u16 doff, u32 dlast_sga, bool major_int, bool disable_req, bool enable_sg) fsl_edma_fill_tcd() argument
|
H A D | mpc512x_dma.c | 163 u32 doff:16; /* Signed destination address offset */ member in struct:mpc_dma_tcd 649 tcd->doff = 32; mpc_dma_prep_memcpy() 655 tcd->doff = 16; mpc_dma_prep_memcpy() 660 tcd->doff = 4; mpc_dma_prep_memcpy() 665 tcd->doff = 2; mpc_dma_prep_memcpy() 670 tcd->doff = 1; mpc_dma_prep_memcpy() 752 tcd->doff = 4; for_each_sg() 757 tcd->doff = 0; for_each_sg()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | tcp.h | 31 doff:4, member in struct:tcphdr 41 __u16 doff:4, member in struct:tcphdr
|
/linux-4.1.27/net/ipv4/netfilter/ |
H A D | nf_reject_ipv4.c | 81 tcph->doff = sizeof(struct tcphdr) / 4; nf_reject_ip_tcphdr_put() 88 (oth->doff << 2)); nf_reject_ip_tcphdr_put()
|
H A D | ipt_SYNPROXY.c | 100 nth->doff = tcp_hdr_size / 4; synproxy_send_client_synack() 144 nth->doff = tcp_hdr_size / 4; synproxy_send_server_syn() 184 nth->doff = tcp_hdr_size / 4; synproxy_send_server_ack() 222 nth->doff = tcp_hdr_size / 4; synproxy_send_client_ack()
|
H A D | nf_nat_h323.c | 54 *data = skb->data + ip_hdrlen(skb) + th->doff * 4 + dataoff; set_addr()
|
/linux-4.1.27/net/core/ |
H A D | flow_dissector.c | 367 /* access doff as u8 to avoid unaligned access */ __skb_get_poff() 368 const u8 *doff; __skb_get_poff() local 371 doff = __skb_header_pointer(skb, poff + 12, sizeof(_doff), __skb_get_poff() 373 if (!doff) __skb_get_poff() 376 poff += max_t(u32, sizeof(struct tcphdr), (*doff & 0xF0) >> 2); __skb_get_poff()
|
/linux-4.1.27/include/net/ |
H A D | ip6_checksum.h | 79 csum_partial(th, th->doff << 2, __tcp_v6_send_check()
|
/linux-4.1.27/net/ipv6/netfilter/ |
H A D | ip6t_SYNPROXY.c | 115 nth->doff = tcp_hdr_size / 4; synproxy_send_client_synack() 159 nth->doff = tcp_hdr_size / 4; synproxy_send_server_syn() 199 nth->doff = tcp_hdr_size / 4; synproxy_send_server_ack() 237 nth->doff = tcp_hdr_size / 4; synproxy_send_client_ack()
|
H A D | nf_reject_ipv6.c | 101 tcph->doff = sizeof(struct tcphdr)/4; nf_reject_ip6_tcphdr_put() 112 otcplen - (oth->doff<<2)); nf_reject_ip6_tcphdr_put()
|
/linux-4.1.27/net/ipv6/ |
H A D | tcp_ipv6.c | 564 if (tcp_v6_md5_hash_pseudoheader(hp, daddr, saddr, th->doff << 2)) tcp_v6_md5_hash_hdr() 614 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) tcp_v6_md5_hash_skb() 769 t1->doff = tot_len / 4; tcp_v6_send_response() 889 (th->doff << 2); tcp_v6_send_reset() 1351 skb->len - th->doff*4); tcp_v6_fill_cb() 1389 if (th->doff < sizeof(struct tcphdr)/4) tcp_v6_rcv() 1391 if (!pskb_may_pull(skb, th->doff*4)) tcp_v6_rcv() 1452 if (skb->len < (th->doff<<2) || tcp_checksum_complete(skb)) { tcp_v6_rcv() 1477 if (skb->len < (th->doff<<2)) { tcp_v6_rcv() 1532 if (th->doff < sizeof(struct tcphdr) / 4) tcp_v6_early_demux()
|
/linux-4.1.27/include/linux/ |
H A D | tcp.h | 34 return tcp_hdr(skb)->doff * 4; tcp_hdrlen() 44 return inner_tcp_hdr(skb)->doff * 4; inner_tcp_hdrlen() 49 return (tcp_hdr(skb)->doff - 5) * 4; tcp_optlen()
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_ftp.c | 207 data = (char *)th + (th->doff << 2); ip_vs_ftp_out() 353 data = data_start = (char *)th + (th->doff << 2); ip_vs_ftp_in()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | sdio.c | 1543 u8 doff, sfdoff; brcmf_sdio_rxglom() local 1727 doff = brcmf_sdio_getdatoffset(&dptr[SDPCM_HWHDR_LEN]); brcmf_sdio_rxglom() 1734 skb_pull(pfirst, doff); brcmf_sdio_rxglom() 1789 brcmf_sdio_read_control(struct brcmf_sdio *bus, u8 *hdr, uint len, uint doff) brcmf_sdio_read_control() argument 1831 if ((len - doff) > bus->sdiodev->bus_if->maxctl) { brcmf_sdio_read_control() 1833 len, len - doff, bus->sdiodev->bus_if->maxctl); brcmf_sdio_read_control() 1866 bus->rxctl = buf + doff; brcmf_sdio_read_control() 1868 bus->rxlen = len - doff; brcmf_sdio_read_control() 2422 u8 doff; brcmf_sdio_tx_ctrlframe() local 2435 doff = ((unsigned long)frame % bus->head_align); brcmf_sdio_tx_ctrlframe() 2436 if (doff) { brcmf_sdio_tx_ctrlframe() 2437 frame -= doff; brcmf_sdio_tx_ctrlframe() 2438 len += doff; brcmf_sdio_tx_ctrlframe() 2439 memset(frame + bus->tx_hdrlen, 0, doff); brcmf_sdio_tx_ctrlframe() 2455 hd_info.dat_offset = doff + bus->tx_hdrlen; brcmf_sdio_tx_ctrlframe()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
H A D | nes_nic.c | 396 ((u32)tcph->doff) | nes_nic_send() 571 original_first_length = hoffset + ((((struct tcphdr *)skb_transport_header(skb))->doff)<<2); nes_netdev_start_xmit() 661 ((u32)tcph->doff) | (((u32)hoffset) << 4)); nes_netdev_start_xmit()
|
H A D | nes_mgt.c | 339 fpdu_info->hdr_len = (((unsigned char *)tcph) + 4 * (tcph->doff)) - cb->data_start; get_fpdu_info() 525 tcph_end = (((char *)tcph) + (4 * tcph->doff)); queue_fpdus()
|
H A D | nes_cm.c | 515 tcph->doff = (u16)((sizeof(*tcph) + optionsize + 3) >> 2); form_cm_frame() 2044 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); handle_syn_pkt() 2105 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); handle_synack_pkt() 2165 optionsize = (tcph->doff << 2) - sizeof(struct tcphdr); handle_ack_pkt() 2170 skb_pull(skb, tcph->doff << 2); handle_ack_pkt()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 1322 length = (th->doff << 2) + lro_length; qlcnic_process_lro() 1327 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; qlcnic_process_lro() 1845 length = (th->doff << 2) + lro_length; qlcnic_83xx_process_lro() 1850 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; qlcnic_83xx_process_lro()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
H A D | tx.c | 869 + (tcp_hdr(skb)->doff << 2u)) > efx_tso_check_protocol() 1021 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); tso_start()
|
/linux-4.1.27/drivers/crypto/ |
H A D | hifn_795x.c | 1377 unsigned int soff, doff; hifn_setup_dma() local 1398 doff = 0; hifn_setup_dma() 1403 doff = dst->offset; hifn_setup_dma() 1408 hifn_setup_dst_desc(dev, dpage, doff, len, n - len == 0); hifn_setup_dma() 1504 dprintk("\n%s: dlen: %u, doff: %u, offset: %u, nbytes: %u.\n", hifn_cipher_walk()
|
/linux-4.1.27/drivers/s390/net/ |
H A D | qeth_l3_main.c | 2910 hdr->ext.dg_hdr_len = (__u16)(iph->ihl*4 + tcph->doff*4); qeth_tso_fill_header() 2930 tcp_hdr(skb)->doff * 4; qeth_l3_tso_elements() 3077 tcp_hdr(new_skb)->doff * 4) - qeth_l3_hard_start_xmit()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | d3.c | 426 pkt->tcp.doff = sizeof(struct tcphdr) / 4; iwl_mvm_build_tcp_packet() 449 pkt->tcp.doff = (sizeof(struct tcphdr) + 8) / 4; iwl_mvm_build_tcp_packet()
|
/linux-4.1.27/drivers/scsi/ |
H A D | libiscsi_tcp.c | 1069 ISCSI_DBG_TCP(conn, "sol dout %p [dsn %d itt 0x%x doff %d dlen %d]\n", iscsi_tcp_task_xmit()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_init.c | 1644 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; netxen_process_lro()
|
/linux-4.1.27/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 8304 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); get_l4_pyld_length() 8325 if (tcp->doff == 8) { initiate_new_session() 8421 if (tcp->doff != 5 && tcp->doff != 8) verify_l3_l4_lro_capable() 8424 if (tcp->doff == 8) { verify_l3_l4_lro_capable()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 817 hdrlen = (th - skb->data) + (((struct tcphdr *)th)->doff << 2); fm10k_tso()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
H A D | sunvnet.c | 1164 hlen += tcp_hdr(skb)->doff * 4; vnet_handle_offloads()
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
H A D | tilepro.c | 1694 unsigned int th_len = th->doff * 4; tile_net_tx_tso()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
H A D | sge.c | 1809 hdr->tcp_hdr_words = tcp_hdr(skb)->doff; t1_start_xmit()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 1221 LSO_TCPHDR_LEN(tcp_hdr(skb)->doff)); t4_eth_xmit()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 1290 LSO_TCPHDR_LEN(tcp_hdr(skb)->doff)); t4vf_eth_xmit()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 1166 V_LSO_TCPHDR_WORDS(tcp_hdr(skb)->doff); write_tx_pkt_wr()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_main.c | 2621 (tcp_hdr(skb)->doff << 2)); ql_hw_csum_setup()
|