Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv6/
Desp6.c389 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_udp_encap()
420 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_tcp_encap()
485 int tailen = esp->tailen; in esp6_output_head() local
494 if (ALIGN(tailen, L1_CACHE_BYTES) > PAGE_SIZE || in esp6_output_head()
499 if (tailen <= skb_tailroom(skb)) { in esp6_output_head()
513 allocsize = ALIGN(tailen, L1_CACHE_BYTES); in esp6_output_head()
532 tailen); in esp6_output_head()
541 skb->len += tailen; in esp6_output_head()
542 skb->data_len += tailen; in esp6_output_head()
543 skb->truesize += tailen; in esp6_output_head()
[all …]
Desp6_offload.c322 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_xmit()
/kernel/linux/linux-5.10/net/ipv4/
Desp4.c354 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap()
385 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_tcp_encap()
450 int tailen = esp->tailen; in esp_output_head() local
460 if (ALIGN(tailen, L1_CACHE_BYTES) > PAGE_SIZE || in esp_output_head()
465 if (tailen <= skb_tailroom(skb)) { in esp_output_head()
479 allocsize = ALIGN(tailen, L1_CACHE_BYTES); in esp_output_head()
498 tailen); in esp_output_head()
507 skb->len += tailen; in esp_output_head()
508 skb->data_len += tailen; in esp_output_head()
509 skb->truesize += tailen; in esp_output_head()
[all …]
Desp4_offload.c288 esp.tailen = esp.tfclen + esp.plen + alen; in esp_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.h50 u32 tailen; member
77 return ipsec_st->tailen; in mlx5e_ipsec_tx_ids_len()
Dipsec_rxtx.c240 inlseg->byte_count = cpu_to_be32(ipsec_st->tailen | MLX5_INLINE_SEG); in mlx5e_ipsec_handle_tx_wqe()
252 unsigned int tailen; in mlx5e_ipsec_set_state() local
262 tailen = plen + alen; in mlx5e_ipsec_set_state()
264 ipsec_st->tailen = tailen; in mlx5e_ipsec_set_state()
Den_accel.h194 state->ipsec.xo && state->ipsec.tailen) in mlx5e_accel_tx_finish()
/kernel/linux/linux-5.10/include/net/
Desp.h34 int tailen; member
/kernel/linux/linux-5.10/net/tipc/
Dcrypto.c736 int ehsz, len, tailen, nsg, rc; in tipc_aead_encrypt() local
743 tailen = len - skb->len + aead->authsize; in tipc_aead_encrypt()
752 if (tailen > skb_tailroom(skb)) { in tipc_aead_encrypt()
754 skb_tailroom(skb), tailen); in tipc_aead_encrypt()
757 if (unlikely(!skb_cloned(skb) && tailen <= skb_tailroom(skb))) { in tipc_aead_encrypt()
767 nsg = skb_cow_data(skb, tailen, &trailer); in tipc_aead_encrypt()
774 pskb_put(skb, trailer, tailen); in tipc_aead_encrypt()