Searched refs:esph (Results 1 – 10 of 10) sorted by relevance
288 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() local292 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() argument323 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 …]
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()196 struct ip_esp_hdr *esph; in esp4_gso_segment() local211 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 …]
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 …]
122 struct ip_esp_hdr *esph; in esp6_gso_encap() local135 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() local250 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 …]
607 struct ip_esp_hdr *esph; in vti6_err() local622 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()623 spi = esph->spi; in vti6_err()
32 struct ip_esp_hdr *esph; member
540 struct ip_esp_hdr *esph; in xfrmi4_err() local548 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() local609 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()610 spi = esph->spi; in xfrmi6_err()
443 struct ip_esp_hdr *esph = (struct ip_esp_hdr *)hdr->buffer; in iavf_fill_fdir_esp_hdr() local448 esph->spi = fltr->ip_data.spi; in iavf_fill_fdir_esp_hdr()
748 struct ip_esp_hdr *esph; in ice_vc_fdir_parse_pattern() local859 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()