Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_ipcomp.c110 struct ip_comp_hdr *ipch; in ipcomp_input() local
118 ipch = (void *)skb->data; in ipcomp_input()
119 nexthdr = ipch->nexthdr; in ipcomp_input()
121 skb->transport_header = skb->network_header + sizeof(*ipch); in ipcomp_input()
122 __skb_pull(skb, sizeof(*ipch)); in ipcomp_input()
170 struct ip_comp_hdr *ipch; in ipcomp_output() local
188 ipch = ip_comp_hdr(skb); in ipcomp_output()
189 ipch->nexthdr = *skb_mac_header(skb); in ipcomp_output()
190 ipch->flags = 0; in ipcomp_output()
191 ipch->cpi = htons((u16 )ntohl(x->id.spi)); in ipcomp_output()
Dxfrm_interface_core.c460 struct ip_comp_hdr *ipch; in xfrmi4_err() local
477 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()
478 spi = htonl(ntohs(ipch->cpi)); in xfrmi4_err()
520 struct ip_comp_hdr *ipch; in xfrmi6_err() local
537 ipch = (struct ip_comp_hdr *)(skb->data + offset); in xfrmi6_err()
538 spi = htonl(ntohs(ipch->cpi)); in xfrmi6_err()
/net/ipv4/
Dipcomp.c27 struct ip_comp_hdr *ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in ipcomp4_err() local
40 spi = htonl(ntohs(ipch->cpi)); in ipcomp4_err()
Dip_vti.c318 struct ip_comp_hdr *ipch; in vti4_err() local
341 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
342 spi = htonl(ntohs(ipch->cpi)); in vti4_err()
/net/ipv6/
Dip6_vti.c606 struct ip_comp_hdr *ipch; in vti6_err() local
627 ipch = (struct ip_comp_hdr *)(skb->data + offset); in vti6_err()
628 spi = htonl(ntohs(ipch->cpi)); in vti6_err()