Home
last modified time | relevance | path

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

/linux/net/xfrm/
H A Dxfrm_ipcomp.c98 struct ip_comp_hdr *ipch; in ipcomp_input() local
106 ipch = (void *)skb->data; in ipcomp_input()
107 nexthdr = ipch->nexthdr; in ipcomp_input()
109 skb->transport_header = skb->network_header + sizeof(*ipch); in ipcomp_input()
110 __skb_pull(skb, sizeof(*ipch)); in ipcomp_input()
158 struct ip_comp_hdr *ipch; in ipcomp_output() local
176 ipch = ip_comp_hdr(skb); in ipcomp_output()
177 ipch->nexthdr = *skb_mac_header(skb); in ipcomp_output()
178 ipch->flags = 0; in ipcomp_output()
179 ipch->cpi = htons((u16 )ntohl(x->id.spi)); in ipcomp_output()
H A Dxfrm_interface_core.c591 struct ip_comp_hdr *ipch; in xfrmi4_err() local
608 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()
609 spi = htonl(ntohs(ipch->cpi)); in xfrmi4_err()
652 struct ip_comp_hdr *ipch; in xfrmi6_err() local
669 ipch = (struct ip_comp_hdr *)(skb->data + offset); in xfrmi6_err()
670 spi = htonl(ntohs(ipch->cpi)); in xfrmi6_err()
/linux/net/ipv4/
H A Dipcomp.c27 struct ip_comp_hdr *ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in ipcomp4_err() local
41 spi = htonl(ntohs(ipch->cpi)); in ipcomp4_err()
H A Dip_vti.c323 struct ip_comp_hdr *ipch; in vti4_err() local
349 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
350 spi = htonl(ntohs(ipch->cpi)); in vti4_err()
/linux/net/ipv6/
H A Dip6_vti.c602 struct ip_comp_hdr *ipch; in vti6_err() local
623 ipch = (struct ip_comp_hdr *)(skb->data + offset); in vti6_err()
624 spi = htonl(ntohs(ipch->cpi)); in vti6_err()