Home
last modified time | relevance | path

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

/linux-6.12.1/net/ipv6/
Desp6.c389 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_udp_encap()
414 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_tcp_encap()
478 int tailen = esp->tailen; in esp6_output_head() local
487 if (ALIGN(tailen, L1_CACHE_BYTES) > PAGE_SIZE || in esp6_output_head()
492 if (tailen <= skb_tailroom(skb)) { in esp6_output_head()
506 allocsize = ALIGN(tailen, L1_CACHE_BYTES); in esp6_output_head()
525 tailen); in esp6_output_head()
534 skb->len += tailen; in esp6_output_head()
535 skb->data_len += tailen; in esp6_output_head()
536 skb->truesize += tailen; in esp6_output_head()
[all …]
Desp6_offload.c338 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_xmit()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c191 inlseg->byte_count = cpu_to_be32(ipsec_st->tailen | MLX5_INLINE_SEG); in mlx5e_ipsec_handle_tx_wqe()
203 unsigned int tailen; in mlx5e_ipsec_set_state() local
212 tailen = plen + alen; in mlx5e_ipsec_set_state()
214 ipsec_st->tailen = tailen; in mlx5e_ipsec_set_state()
Dipsec_rxtx.h50 u32 tailen; member
72 return ipsec_st->tailen; in mlx5e_ipsec_tx_ids_len()
Den_accel.h204 state->ipsec.xo && state->ipsec.tailen) in mlx5e_accel_tx_finish()
/linux-6.12.1/net/ipv4/
Desp4.c354 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap()
384 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_tcp_encap()
448 int tailen = esp->tailen; in esp_output_head() local
458 if (ALIGN(tailen, L1_CACHE_BYTES) > PAGE_SIZE || in esp_output_head()
463 if (tailen <= skb_tailroom(skb)) { in esp_output_head()
477 allocsize = ALIGN(tailen, L1_CACHE_BYTES); in esp_output_head()
496 tailen); in esp_output_head()
505 skb_len_add(skb, tailen); in esp_output_head()
507 refcount_add(tailen, &sk->sk_wmem_alloc); in esp_output_head()
516 nfrags = skb_cow_data(skb, tailen, &trailer); in esp_output_head()
[all …]
Desp4_offload.c303 esp.tailen = esp.tfclen + esp.plen + alen; in esp_xmit()
/linux-6.12.1/include/net/
Desp.h35 int tailen; member
/linux-6.12.1/net/tipc/
Dcrypto.c743 int ehsz, len, tailen, nsg, rc; in tipc_aead_encrypt() local
750 tailen = len - skb->len + aead->authsize; in tipc_aead_encrypt()
759 if (tailen > skb_tailroom(skb)) { in tipc_aead_encrypt()
761 skb_tailroom(skb), tailen); in tipc_aead_encrypt()
764 nsg = skb_cow_data(skb, tailen, &trailer); in tipc_aead_encrypt()
770 pskb_put(skb, trailer, tailen); in tipc_aead_encrypt()