Searched refs:esph (Results 1 – 9 of 9) sorted by relevance
155 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() local159 esph->seq_no = esph->spi; in esp_restore_header()160 esph->spi = *seqhi; in esp_restore_header()174 struct ip_esp_hdr *esph, in esp_output_set_extra() argument190 extra->esphoff = (unsigned char *)esph - in esp_output_set_extra()192 esph = (struct ip_esp_hdr *)((unsigned char *)esph - 4); in esp_output_set_extra()193 extra->seqhi = esph->spi; in esp_output_set_extra()194 esph->seq_no = htonl(seqhi); in esp_output_set_extra()197 esph->spi = x->id.spi; in esp_output_set_extra()199 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()113 struct ip_esp_hdr *esph; in esp4_gso_segment() local126 esph = ip_esp_hdr(skb); in esp4_gso_segment()128 if (esph->spi != x->id.spi) in esp4_gso_segment()131 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp4_gso_segment()134 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp4_gso_segment()168 struct ip_esp_hdr *esph; in esp_xmit() local[all …]
273 struct ip_esp_hdr *esph; in vti4_err() local290 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err()291 spi = esph->spi; in vti4_err()
121 struct ip_esp_hdr *esph; in esp6_gso_encap() local127 esph = ip_esp_hdr(skb); in esp6_gso_encap()130 esph->spi = x->id.spi; in esp6_gso_encap()131 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp6_gso_encap()140 struct ip_esp_hdr *esph; in esp6_gso_segment() local153 esph = ip_esp_hdr(skb); in esp6_gso_segment()155 if (esph->spi != x->id.spi) in esp6_gso_segment()158 if (!pskb_may_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead))) in esp6_gso_segment()161 __skb_pull(skb, sizeof(*esph) + crypto_aead_ivsize(aead)); in esp6_gso_segment()196 struct ip_esp_hdr *esph; in esp6_xmit() local[all …]
175 struct ip_esp_hdr *esph = (void *)(skb->data + offset); in esp_restore_header() local179 esph->seq_no = esph->spi; in esp_restore_header()180 esph->spi = *seqhi; in esp_restore_header()190 struct ip_esp_hdr *esph, in esp_output_set_esn() argument200 esph = (void *)(skb_transport_header(skb) - sizeof(__be32)); in esp_output_set_esn()201 *seqhi = esph->spi; in esp_output_set_esn()203 esph->seq_no = htonl(xo->seq.hi); in esp_output_set_esn()205 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.hi); in esp_output_set_esn()208 esph->spi = x->id.spi; in esp_output_set_esn()210 return esph; in esp_output_set_esn()[all …]
572 struct ip_esp_hdr *esph; in vti6_err() local587 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err()588 spi = esph->spi; in vti6_err()
15 struct ip_esp_hdr *esph; member
218 struct ip_esp_hdr *esph; in mlx5e_ipsec_set_metadata() local223 esph = ip_esp_hdr(skb); in mlx5e_ipsec_set_metadata()233 ntohl(tcph->seq), ntohl(esph->seq_no)); in mlx5e_ipsec_set_metadata()
430 struct ip_esp_hdr *esph; in xfrmi4_err() local438 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in xfrmi4_err()439 spi = esph->spi; in xfrmi4_err()490 struct ip_esp_hdr *esph; in xfrmi6_err() local498 esph = (struct ip_esp_hdr *)(skb->data + offset); in xfrmi6_err()499 spi = esph->spi; in xfrmi6_err()