Home
last modified time | relevance | path

Searched refs:ipch (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/xfrm/
H A 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 in ipcomp_output()
[all...]
H A Dxfrm_interface_core.c458 struct ip_comp_hdr *ipch; in xfrmi4_err() local
475 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()
476 spi = htonl(ntohs(ipch->cpi)); in xfrmi4_err()
518 struct ip_comp_hdr *ipch; in xfrmi6_err() local
535 ipch = (struct ip_comp_hdr *)(skb->data + offset); in xfrmi6_err()
536 spi = htonl(ntohs(ipch->cpi)); in xfrmi6_err()
/kernel/linux/linux-6.6/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 in ipcomp_output()
[all...]
H A Dxfrm_interface_core.c592 struct ip_comp_hdr *ipch; in xfrmi4_err() local
609 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()
610 spi = htonl(ntohs(ipch->cpi)); in xfrmi4_err()
653 struct ip_comp_hdr *ipch; in xfrmi6_err() local
670 ipch = (struct ip_comp_hdr *)(skb->data + offset); in xfrmi6_err()
671 spi = htonl(ntohs(ipch->cpi)); in xfrmi6_err()
/kernel/linux/linux-5.10/net/ipv4/
H A 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()
H A Dip_vti.c320 struct ip_comp_hdr *ipch; in vti4_err() local
343 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
344 spi = htonl(ntohs(ipch->cpi)); in vti4_err()
/kernel/linux/linux-6.6/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.c320 struct ip_comp_hdr *ipch; in vti4_err() local
343 ipch = (struct ip_comp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
344 spi = htonl(ntohs(ipch->cpi)); in vti4_err()
/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_vti.c608 struct ip_comp_hdr *ipch; in vti6_err() local
629 ipch = (struct ip_comp_hdr *)(skb->data + offset); in vti6_err()
630 spi = htonl(ntohs(ipch->cpi)); in vti6_err()
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_vti.c607 struct ip_comp_hdr *ipch; in vti6_err() local
628 ipch = (struct ip_comp_hdr *)(skb->data + offset); in vti6_err()
629 spi = htonl(ntohs(ipch->cpi)); in vti6_err()

Completed in 11 milliseconds