Searched refs:esph (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/net/ipv4/ |
D | esp4.c | 119 struct ip_esp_hdr *esph; in esp_output() local 162 assoclen = sizeof(*esph); in esp_output() 200 esph = ip_esp_hdr(skb); in esp_output() 217 uh = (struct udphdr *)esph; in esp_output() 226 esph = (struct ip_esp_hdr *)(uh + 1); in esp_output() 231 esph = (struct ip_esp_hdr *)(udpdata32 + 2); in esp_output() 238 esph->spi = x->id.spi; in esp_output() 239 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp_output() 243 esph->enc_data + crypto_aead_ivsize(aead) - skb->data, in esp_output() 248 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp_output() [all …]
|
D | ip_vti.c | 251 struct ip_esp_hdr *esph; in vti4_err() local 268 esph = (struct ip_esp_hdr *)(skb->data+(iph->ihl<<2)); in vti4_err() 269 spi = esph->spi; in vti4_err()
|
/linux-4.1.27/net/ipv6/ |
D | esp6.c | 147 struct ip_esp_hdr *esph; in esp6_output() local 189 assoclen = sizeof(*esph); in esp6_output() 227 esph = ip_esp_hdr(skb); in esp6_output() 230 esph->spi = x->id.spi; in esp6_output() 231 esph->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output.low); in esp6_output() 235 esph->enc_data + crypto_aead_ivsize(aead) - skb->data, in esp6_output() 240 sg_set_buf(asg, &esph->spi, sizeof(__be32)); in esp6_output() 243 sg_set_buf(asg + 2, &esph->seq_no, sizeof(__be32)); in esp6_output() 245 sg_init_one(asg, esph, sizeof(*esph)); in esp6_output() 250 aead_givcrypt_set_giv(req, esph->enc_data, in esp6_output() [all …]
|
D | ip6_vti.c | 560 struct ip_esp_hdr *esph; in vti6_err() local 575 esph = (struct ip_esp_hdr *)(skb->data + offset); in vti6_err() 576 spi = esph->spi; in vti6_err()
|