Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Desp4.c288 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() local
292 esph->seq_no = esph->spi; in esp_restore_header()
293 esph->spi = *seqhi; in esp_restore_header()
307 struct ip_esp_hdr *esph, in esp_output_set_extra() argument
323 extra->esphoff = (unsigned char *)esph - in esp_output_set_extra()
325 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_extra()
326 extra->seqhi = esph->spi; in esp_output_set_extra()
327 esph->seq_no = htonl(seqhi); in esp_output_set_extra()
330 esph->spi = x->id.spi; in esp_output_set_extra()
332 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()
196 struct ip_esp_hdr *esph; in esp4_gso_segment() local
211 esph = ip_esp_hdr(skb); in esp4_gso_segment()
213 if (esph->spi != x->id.spi) in esp4_gso_segment()
216 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp4_gso_segment()
219 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp4_gso_segment()
257 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()
/linux-6.1.9/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.c122 struct ip_esp_hdr *esph; in esp6_gso_encap() local
135 esph = ip_esp_hdr(skb); in esp6_gso_encap()
138 esph->spi = x->id.spi; in esp6_gso_encap()
139 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp6_gso_encap()
235 struct ip_esp_hdr *esph; in esp6_gso_segment() local
250 esph = ip_esp_hdr(skb); in esp6_gso_segment()
252 if (esph->spi != x->id.spi) in esp6_gso_segment()
255 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp6_gso_segment()
258 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp6_gso_segment()
335 esp.esph = ip_esp_hdr(skb); in esp6_xmit()
[all …]
Dip6_vti.c607 struct ip_esp_hdr *esph; in vti6_err() local
622 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()
623 spi = esph->spi; in vti6_err()
/linux-6.1.9/include/net/
Desp.h32 struct ip_esp_hdr *esph; member
/linux-6.1.9/net/xfrm/
Dxfrm_interface.c540 struct ip_esp_hdr *esph; in xfrmi4_err() local
548 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()
549 spi = esph->spi; in xfrmi4_err()
601 struct ip_esp_hdr *esph; in xfrmi6_err() local
609 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()
610 spi = esph->spi; in xfrmi6_err()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c443 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)hdr->buffer; in iavf_fill_fdir_esp_hdr() local
448 esph->spi = fltr->ip_data.spi; in iavf_fill_fdir_esp_hdr()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_virtchnl_fdir.c748 struct ip_esp_hdr *esph; in ice_vc_fdir_parse_pattern() local
859 esph = (struct ip_esp_hdr *)hdr->buffer; in ice_vc_fdir_parse_pattern()
880 input->ip.v4.sec_parm_idx = esph->spi; in ice_vc_fdir_parse_pattern()
882 input->ip.v6.sec_parm_idx = esph->spi; in ice_vc_fdir_parse_pattern()