Home
last modified time | relevance | path

Searched refs:esph (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Desp4.c289 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() local
293 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() argument
324 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 …]
Desp4_offload.c94 struct ip_esp_hdr *esph; in esp4_gso_encap() local
100 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() local
209 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 …]
Dip_vti.c318 struct ip_esp_hdr *esph; in vti4_err() local
335 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()
336 spi = esph->spi; in vti4_err()
/kernel/linux/linux-5.10/net/ipv6/
Desp6.c324 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() local
328 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() argument
359 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 …]
Desp6_offload.c121 struct ip_esp_hdr *esph; in esp6_gso_encap() local
134 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() local
247 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 …]
Dip6_vti.c606 struct ip_esp_hdr *esph; in vti6_err() local
621 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()
622 spi = esph->spi; in vti6_err()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_interface.c415 struct ip_esp_hdr *esph; in xfrmi4_err() local
423 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() local
483 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()
484 spi = esph->spi; in xfrmi6_err()
/kernel/linux/linux-5.10/include/net/
Desp.h31 struct ip_esp_hdr *esph; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c206 struct ip_esp_hdr *esph; in mlx5e_ipsec_set_metadata() local
211 esph = ip_esp_hdr(skb); in mlx5e_ipsec_set_metadata()
221 ntohl(tcph->seq), ntohl(esph->seq_no)); in mlx5e_ipsec_set_metadata()