Home
last modified time | relevance | path

Searched refs:iphlen (Results 1 – 2 of 2) sorted by relevance

/drivers/infiniband/hw/i40iw/
Di40iw_utils.c1397 u16 iphlen; in i40iw_ieq_update_tcpip_info() local
1401 iphlen = (buf->ipv4) ? 20 : 40; in i40iw_ieq_update_tcpip_info()
1403 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in i40iw_ieq_update_tcpip_info()
1404 packetsize = length + buf->tcphlen + iphlen; in i40iw_ieq_update_tcpip_info()
1421 u16 iphlen; in i40iw_puda_get_tcpip_info() local
1431 iphlen = (info->l3proto) ? 40 : 20; in i40iw_puda_get_tcpip_info()
1436 buf->tcph = buf->iph + iphlen; in i40iw_puda_get_tcpip_info()
1443 pkt_len = ntohs(ip6h->payload_len) + iphlen; in i40iw_puda_get_tcpip_info()
1455 buf->datalen = pkt_len - iphlen - buf->tcphlen; in i40iw_puda_get_tcpip_info()
1457 buf->hdrlen = buf->maclen + iphlen + buf->tcphlen; in i40iw_puda_get_tcpip_info()
/drivers/net/ethernet/ibm/
Dibmveth.c1262 u16 iphlen = 0; in ibmveth_rx_csum_helper() local
1280 iphlen = iph->ihl * 4; in ibmveth_rx_csum_helper()
1284 iphlen = sizeof(struct ipv6hdr); in ibmveth_rx_csum_helper()
1302 struct tcphdr *tcph = (struct tcphdr *)(skb->data + iphlen); in ibmveth_rx_csum_helper()
1304 tcphdrlen = skb->len - iphlen; in ibmveth_rx_csum_helper()
1315 skb_partial_csum_set(skb, iphlen, in ibmveth_rx_csum_helper()