Home
last modified time | relevance | path

Searched refs:extralen (Results 1 – 3 of 3) sorted by relevance

/net/ipv4/
Desp4.c46 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int extralen) in esp_alloc_tmp() argument
50 len = extralen; in esp_alloc_tmp()
73 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int extralen) in esp_tmp_iv() argument
76 PTR_ALIGN((u8 *)tmp + extralen, in esp_tmp_iv()
77 crypto_aead_alignmask(aead) + 1) : tmp + extralen; in esp_tmp_iv()
102 int extralen = 0; in esp_ssg_unref() local
108 extralen += sizeof(*extra); in esp_ssg_unref()
111 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
542 int extralen; in esp_output_tail() local
552 extralen = 0; in esp_output_tail()
[all …]
/net/ipv6/
Desp6.c119 int extralen = 0; in esp_ssg_unref() local
125 extralen += sizeof(*extra); in esp_ssg_unref()
127 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
576 int extralen; in esp6_output_tail() local
586 extralen = 0; in esp6_output_tail()
589 extralen += sizeof(*extra); in esp6_output_tail()
597 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen); in esp6_output_tail()
602 iv = esp_tmp_iv(aead, tmp, extralen); in esp6_output_tail()
/net/core/
Dpktgen.c2695 unsigned int extralen = LL_RESERVED_SPACE(dev); in pktgen_alloc_skb() local
2699 size = pkt_dev->cur_pkt_size + 64 + extralen + pkt_dev->pkt_overhead; in pktgen_alloc_skb()
2714 skb_reserve(skb, extralen - 16); in pktgen_alloc_skb()