Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/sun/
Dsunvnet_common.c321 struct tcphdr *ptcp = tcp_hdr(skb); in vnet_fullcsum_ipv4() local
323 ptcp->check = 0; in vnet_fullcsum_ipv4()
325 ptcp->check = csum_tcpudp_magic(iph->saddr, iph->daddr, in vnet_fullcsum_ipv4()
354 struct tcphdr *ptcp = tcp_hdr(skb); in vnet_fullcsum_ipv6() local
356 ptcp->check = 0; in vnet_fullcsum_ipv6()
358 ptcp->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in vnet_fullcsum_ipv6()