Home
last modified time | relevance | path

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

/linux-6.12.1/net/tls/
Dtls_device.c342 size_t prepend_size) in tls_create_new_record() argument
353 prepend_size); in tls_create_new_record()
356 pfrag->offset += prepend_size; in tls_create_new_record()
359 record->len = prepend_size; in tls_create_new_record()
367 size_t prepend_size) in tls_do_allocation() argument
372 if (unlikely(!skb_page_frag_refill(prepend_size, pfrag, in tls_do_allocation()
379 ret = tls_create_new_record(offload_ctx, pfrag, prepend_size); in tls_do_allocation()
463 prot->prepend_size; in tls_push_data()
465 rc = tls_do_allocation(sk, ctx, pfrag, prot->prepend_size); in tls_push_data()
483 } else if (record->len > prot->prepend_size) { in tls_push_data()
Dtls_sw.c171 if (offset < prot->prepend_size) in tls_padding_length()
349 skip = prot->prepend_size + msg_pl->sg.size; in tls_clone_plaintext_msg()
487 sge->offset -= prot->prepend_size; in tls_encrypt_done()
488 sge->length += prot->prepend_size; in tls_encrypt_done()
563 sge->offset += prot->prepend_size; in tls_do_encryption()
564 sge->length -= prot->prepend_size; in tls_do_encryption()
589 sge->offset -= prot->prepend_size; in tls_do_encryption()
590 sge->length += prot->prepend_size; in tls_do_encryption()
1482 n_sgin = skb_nsg(skb, rxm->offset + prot->prepend_size, in tls_decrypt_sg()
1483 rxm->full_len - prot->prepend_size); in tls_decrypt_sg()
[all …]
/linux-6.12.1/include/net/
Dtls.h208 u16 prepend_size; member