Searched refs:ipch (Results 1 – 5 of 5) sorted by relevance
101 struct ip_comp_hdr *ipch; in ipcomp_input() local109 ipch = (void *)skb->data; in ipcomp_input()110 nexthdr = ipch->nexthdr; in ipcomp_input()112 skb->transport_header = skb->network_header + sizeof(*ipch); in ipcomp_input()113 __skb_pull(skb, sizeof(*ipch)); in ipcomp_input()161 struct ip_comp_hdr *ipch; in ipcomp_output() local179 ipch = ip_comp_hdr(skb); in ipcomp_output()180 ipch->nexthdr = *skb_mac_header(skb); in ipcomp_output()181 ipch->flags = 0; in ipcomp_output()182 ipch->cpi = htons((u16 )ntohl(x->id.spi)); in ipcomp_output()
539 struct ip_comp_hdr *ipch; in xfrmi4_err() local556 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()557 spi = htonl(ntohs(ipch->cpi)); in xfrmi4_err()600 struct ip_comp_hdr *ipch; in xfrmi6_err() local617 ipch = (struct ip_comp_hdr *)(skb->data + offset); in xfrmi6_err()618 spi = htonl(ntohs(ipch->cpi)); in xfrmi6_err()
27 struct ip_comp_hdr *ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in ipcomp4_err() local41 spi = htonl(ntohs(ipch->cpi)); in ipcomp4_err()
320 struct ip_comp_hdr *ipch; in vti4_err() local343 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()344 spi = htonl(ntohs(ipch->cpi)); in vti4_err()
609 struct ip_comp_hdr *ipch; in vti6_err() local630 ipch = (struct ip_comp_hdr *)(skb->data + offset); in vti6_err()631 spi = htonl(ntohs(ipch->cpi)); in vti6_err()