Home
last modified time | relevance | path

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

/Linux-v5.10/net/tls/
Dtls_device.c336 size_t prepend_size) in tls_create_new_record() argument
348 skb_frag_size_set(frag, prepend_size); in tls_create_new_record()
351 pfrag->offset += prepend_size; in tls_create_new_record()
354 record->len = prepend_size; in tls_create_new_record()
362 size_t prepend_size) in tls_do_allocation() argument
367 if (unlikely(!skb_page_frag_refill(prepend_size, pfrag, in tls_do_allocation()
374 ret = tls_create_new_record(offload_ctx, pfrag, prepend_size); in tls_do_allocation()
454 prot->prepend_size; in tls_push_data()
456 rc = tls_do_allocation(sk, ctx, pfrag, prot->prepend_size); in tls_push_data()
474 } else if (record->len > prot->prepend_size) { in tls_push_data()
[all …]
Dtls_sw.c134 if (back > rxm->full_len - prot->prepend_size) in padding_length()
186 rxm->offset += prot->prepend_size; in tls_decrypt_done()
311 skip = prot->prepend_size + msg_pl->sg.size; in tls_clone_plaintext_msg()
443 sge->offset -= prot->prepend_size; in tls_encrypt_done()
444 sge->length += prot->prepend_size; in tls_encrypt_done()
510 sge->offset += prot->prepend_size; in tls_do_encryption()
511 sge->length -= prot->prepend_size; in tls_do_encryption()
531 sge->offset -= prot->prepend_size; in tls_do_encryption()
532 sge->length += prot->prepend_size; in tls_do_encryption()
1424 n_sgin = skb_nsg(skb, rxm->offset + prot->prepend_size, in decrypt_internal()
[all …]
/Linux-v5.10/include/net/
Dtls.h226 u16 prepend_size; member