Searched refs:esph (Results 1 – 9 of 9) sorted by relevance
289 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() local293 esph->seq_no = esph->spi; in esp_restore_header()294 esph->spi = *seqhi; in esp_restore_header()308 struct ip_esp_hdr *esph, in esp_output_set_extra() argument324 extra->esphoff = (unsigned char *)esph - in esp_output_set_extra()326 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_extra()327 extra->seqhi = esph->spi; in esp_output_set_extra()328 esph->seq_no = htonl(seqhi); in esp_output_set_extra()331 esph->spi = x->id.spi; in esp_output_set_extra()333 return esph; in esp_output_set_extra()[all …]
94 struct ip_esp_hdr *esph; in esp4_gso_encap() local100 esph = ip_esp_hdr(skb); in esp4_gso_encap()103 esph->spi = x->id.spi; in esp4_gso_encap()104 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp4_gso_encap()194 struct ip_esp_hdr *esph; in esp4_gso_segment() local209 esph = ip_esp_hdr(skb); in esp4_gso_segment()211 if (esph->spi != x->id.spi) in esp4_gso_segment()214 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp4_gso_segment()217 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp4_gso_segment()255 struct ip_esp_hdr *esph; in esp_xmit() local[all …]
318 struct ip_esp_hdr *esph; in vti4_err() local335 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()336 spi = esph->spi; in vti4_err()
324 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() local328 esph->seq_no = esph->spi; in esp_restore_header()329 esph->spi = *seqhi; in esp_restore_header()343 struct ip_esp_hdr *esph, in esp_output_set_esn() argument359 extra->esphoff = (unsigned char *)esph - in esp_output_set_esn()361 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_esn()362 extra->seqhi = esph->spi; in esp_output_set_esn()363 esph->seq_no = htonl(seqhi); in esp_output_set_esn()366 esph->spi = x->id.spi; in esp_output_set_esn()368 return esph; in esp_output_set_esn()[all …]
121 struct ip_esp_hdr *esph; in esp6_gso_encap() local134 esph = ip_esp_hdr(skb); in esp6_gso_encap()137 esph->spi = x->id.spi; in esp6_gso_encap()138 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp6_gso_encap()232 struct ip_esp_hdr *esph; in esp6_gso_segment() local247 esph = ip_esp_hdr(skb); in esp6_gso_segment()249 if (esph->spi != x->id.spi) in esp6_gso_segment()252 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp6_gso_segment()255 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp6_gso_segment()332 esp.esph = ip_esp_hdr(skb); in esp6_xmit()[all …]
606 struct ip_esp_hdr *esph; in vti6_err() local621 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()622 spi = esph->spi; in vti6_err()
415 struct ip_esp_hdr *esph; in xfrmi4_err() local423 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()424 spi = esph->spi; in xfrmi4_err()475 struct ip_esp_hdr *esph; in xfrmi6_err() local483 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()484 spi = esph->spi; in xfrmi6_err()
31 struct ip_esp_hdr *esph; member
206 struct ip_esp_hdr *esph; in mlx5e_ipsec_set_metadata() local211 esph = ip_esp_hdr(skb); in mlx5e_ipsec_set_metadata()221 ntohl(tcph->seq), ntohl(esph->seq_no)); in mlx5e_ipsec_set_metadata()