/drivers/net/slip/ |
D | slhc.c | 259 th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); in slhc_compress() 260 hlen = ip->ihl*4 + th->doff*4; in slhc_compress() 343 if(ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl in slhc_compress() 348 || (ip->ihl > 5 && memcmp(ip+1,cs->cs_ipopt,((ip->ihl)-5)*4) != 0) in slhc_compress() 469 if (ip->ihl > 5) in slhc_compress() 470 memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); in slhc_compress() 534 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress() 607 if (ip->ihl > 5) { in slhc_uncompress() 608 memcpy(cp, cs->cs_ipopt, (ip->ihl - 5) * 4); in slhc_uncompress() 609 cp += (ip->ihl - 5) * 4; in slhc_uncompress() [all …]
|
/drivers/infiniband/hw/nes/ |
D | nes_mgt.c | 178 struct tcphdr *tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in nes_get_seq() 338 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in get_fpdu_info() 358 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in get_fpdu_info() 387 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in get_fpdu_info() 523 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in queue_fpdus()
|
D | nes_cm.c | 444 iph->ihl = 5; /* 5 * 4Byte words, IP headr len */ in form_cm_frame() 2146 skb_pull(skb, ip_hdr(skb)->ihl << 2); in process_packet()
|
/drivers/net/xen-netback/ |
D | netback.c | 1353 if (!skb_partial_csum_set(skb, 4 * iph->ihl, in checksum_setup() 1360 skb->len - iph->ihl*4, in checksum_setup() 1365 if (!skb_partial_csum_set(skb, 4 * iph->ihl, in checksum_setup() 1372 skb->len - iph->ihl*4, in checksum_setup()
|
/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 544 (ih->tot_len - (ih->ihl << 2)) + in ioc3_tcpudp_checksum() 1450 ih->tot_len - (ih->ihl << 2), in ioc3_start_xmit() 1456 csoff = ETH_HLEN + (ih->ihl << 2); in ioc3_start_xmit()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 1134 th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); in qlcnic_process_lro() 1135 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; in qlcnic_process_lro() 1594 th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); in qlcnic_83xx_process_lro() 1595 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; in qlcnic_83xx_process_lro()
|
/drivers/net/ethernet/sfc/ |
D | filter.c | 1196 EFX_BUG_ON_PARANOID(skb_headlen(skb) < nhoff + 4 * ip->ihl + 4); in efx_filter_rfs() 1197 ports = (const __be16 *)(skb->data + nhoff + 4 * ip->ihl); in efx_filter_rfs()
|
D | selftest.c | 375 payload->ip.ihl = 5; in efx_iterate_state()
|
/drivers/net/ |
D | xen-netfront.c | 878 th = skb->data + 4 * iph->ihl; in checksum_setup() 890 skb->len - iph->ihl*4, in checksum_setup() 900 skb->len - iph->ihl*4, in checksum_setup()
|
D | vxlan.c | 1086 iph->ihl = sizeof(struct iphdr) >> 2; in vxlan_xmit_one()
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 440 pkt->ip.ihl = 5; in iwl_mvm_build_tcp_packet() 511 pkt->ip.check = ip_fast_csum(&pkt->ip, pkt->ip.ihl); in iwl_mvm_build_tcp_packet()
|
/drivers/staging/gdm72xx/ |
D | gdm_qos.c | 271 tcph = (struct tcphdr *) iph + iph->ihl*4; in gdm_qos_send_hci_pkt()
|
/drivers/staging/octeon/ |
D | ethernet-tx.c | 388 (ip_hdr(skb)->version == 4) && (ip_hdr(skb)->ihl == 5) && in cvm_oct_xmit()
|
/drivers/net/ppp/ |
D | pptp.c | 266 iph->ihl = sizeof(struct iphdr) >> 2; in pptp_xmit()
|
/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 628 (ip->ihl << 2)); in rtllib_xmit_inter()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_init.c | 1642 th = (struct tcphdr *)((skb->data + vhdr_len) + (iph->ihl << 2)); in netxen_process_lro() 1644 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; in netxen_process_lro()
|
/drivers/staging/bcm/ |
D | Qos.c | 616 IpHeaderLength = pIpHeader->ihl; in ClassifyPacket()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 6568 u64 csum_bits, l3off, ihl, ret; in niu_compute_tx_flags() local 6581 ipv6 = ihl = 0; in niu_compute_tx_flags() 6585 ihl = ip_hdr(skb)->ihl; in niu_compute_tx_flags() 6589 ihl = (40 >> 2); in niu_compute_tx_flags() 6593 ip_proto = ihl = 0; in niu_compute_tx_flags() 6620 (ihl << TXHDR_IHL_SHIFT) | in niu_compute_tx_flags()
|
/drivers/net/ethernet/tile/ |
D | tilepro.c | 1766 unsigned int ih_len = ih->ihl * 4; in tile_net_tx_tso()
|
/drivers/net/ethernet/ |
D | jme.c | 978 (ip_hdr(skb)->ihl << 2) + in jme_udpsum() 984 ETH_HLEN + (ip_hdr(skb)->ihl << 2)); in jme_udpsum()
|
/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 2141 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso() 2161 ptpd->word3 |= (iph->ihl & TPD_IPHL_MASK) << in atl1_tso()
|
/drivers/net/wireless/rtlwifi/ |
D | base.c | 1078 (ip->ihl << 2)); in rtl_is_special_data()
|
/drivers/net/ethernet/neterion/ |
D | s2io.c | 4063 ip->ihl*4); in s2io_xmit() 8285 ip_len = (u8)((*ip)->ihl); in check_L2_lro_capable() 8306 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); in get_l4_pyld_length() 8400 if (ip->ihl != 5) /* IP has options */ in verify_l3_l4_lro_capable()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1809 hdr->ip_hdr_words = ip_hdr(skb)->ihl; in t1_start_xmit()
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1632 tpd->word3 |= (ip_hdr(skb)->ihl & in atl1e_tso_csum()
|