Home
last modified time | relevance | path

Searched refs:dsg (Results 1 – 2 of 2) sorted by relevance

/net/ipv6/
Desp6.c320 struct scatterlist *sg, *dsg; in esp6_output_tail() local
345 dsg = sg; in esp6_output_tail()
347 dsg = &sg[esp->nfrags]; in esp6_output_tail()
379 sg_init_table(dsg, skb_shinfo(skb)->nr_frags + 1); in esp6_output_tail()
380 err = skb_to_sgvec(skb, dsg, in esp6_output_tail()
392 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp6_output_tail()
415 if (sg != dsg) in esp6_output_tail()
/net/ipv4/
Desp4.c377 struct scatterlist *sg, *dsg; in esp_output_tail() local
403 dsg = sg; in esp_output_tail()
405 dsg = &sg[esp->nfrags]; in esp_output_tail()
438 sg_init_table(dsg, skb_shinfo(skb)->nr_frags + 1); in esp_output_tail()
439 err = skb_to_sgvec(skb, dsg, in esp_output_tail()
451 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp_output_tail()
474 if (sg != dsg) in esp_output_tail()