Home
last modified time | relevance | path

Searched refs:tailen (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/net/ipv4/
Desp4.c244 uh->len = htons(skb->len + esp->tailen in esp_output_udp_encap()
272 int tailen = esp->tailen; in esp_output_head() local
279 if (tailen <= skb_tailroom(skb)) { in esp_output_head()
293 allocsize = ALIGN(tailen, L1_CACHE_BYTES); in esp_output_head()
316 tailen); in esp_output_head()
325 skb->len += tailen; in esp_output_head()
326 skb->data_len += tailen; in esp_output_head()
327 skb->truesize += tailen; in esp_output_head()
329 refcount_add(tailen, &sk->sk_wmem_alloc); in esp_output_head()
338 nfrags = skb_cow_data(skb, tailen, &trailer); in esp_output_head()
[all …]
Desp4_offload.c199 esp.tailen = esp.tfclen + esp.plen + alen; in esp_xmit()
/Linux-v4.19/net/ipv6/
Desp6.c244 int tailen = esp->tailen; in esp6_output_head() local
247 if (tailen <= skb_tailroom(skb)) { in esp6_output_head()
261 allocsize = ALIGN(tailen, L1_CACHE_BYTES); in esp6_output_head()
284 tailen); in esp6_output_head()
293 skb->len += tailen; in esp6_output_head()
294 skb->data_len += tailen; in esp6_output_head()
295 skb->truesize += tailen; in esp6_output_head()
297 refcount_add(tailen, &sk->sk_wmem_alloc); in esp6_output_head()
304 nfrags = skb_cow_data(skb, tailen, &trailer); in esp6_output_head()
311 pskb_put(skb, trailer, tailen); in esp6_output_head()
[all …]
Desp6_offload.c227 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_xmit()
/Linux-v4.19/include/net/
Desp.h18 int tailen; member