Searched refs:rxm (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/net/tls/ |
D | tls_sw.c | 153 struct strp_msg *rxm = strp_msg(skb); in tls_padding_length() local 159 int offset = rxm->full_len - TLS_TAG_SIZE - 1; in tls_padding_length() 166 err = skb_copy_bits(skb, rxm->offset + offset, in tls_padding_length() 1443 const struct strp_msg *rxm = strp_msg(skb); in tls_decrypt_sg() local 1448 const int data_len = rxm->full_len - prot->overhead_size; in tls_decrypt_sg() 1455 n_sgin = skb_nsg(skb, rxm->offset + prot->prepend_size, in tls_decrypt_sg() 1456 rxm->full_len - prot->prepend_size); in tls_decrypt_sg() 1471 clear_skb = tls_alloc_clrtxt_skb(sk, skb, rxm->full_len); in tls_decrypt_sg() 1517 err = skb_copy_bits(skb, rxm->offset + TLS_HEADER_SIZE, in tls_decrypt_sg() 1527 tls_make_aad(dctx->aad, rxm->full_len - prot->overhead_size + in tls_decrypt_sg() [all …]
|
D | tls_strp.c | 40 struct strp_msg *rxm; in tls_strp_msg_make_copy() local 60 rxm = strp_msg(skb); in tls_strp_msg_make_copy() 61 rxm->offset = 0; in tls_strp_msg_make_copy() 364 struct strp_msg *rxm; in tls_strp_msg_load() local 377 rxm = strp_msg(strp->anchor); in tls_strp_msg_load() 378 rxm->full_len = strp->stm.full_len; in tls_strp_msg_load() 379 rxm->offset = strp->stm.offset; in tls_strp_msg_load()
|
D | tls_device.c | 861 struct strp_msg *rxm; in tls_device_core_ctrl_rx_resync() local 886 rxm = strp_msg(skb); in tls_device_core_ctrl_rx_resync() 889 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync() 912 struct strp_msg *rxm; in tls_device_reencrypt() local 924 rxm = strp_msg(tls_strp_msg(sw_ctx)); in tls_device_reencrypt() 925 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + cipher_sz->iv, in tls_device_reencrypt() 936 rxm = strp_msg(skb); in tls_device_reencrypt() 937 offset = rxm->offset; in tls_device_reencrypt() 941 rxm->full_len + TLS_HEADER_SIZE + cipher_sz->iv); in tls_device_reencrypt() 953 data_len = rxm->full_len - cipher_sz->tag; in tls_device_reencrypt() [all …]
|
/Linux-v6.1/net/xfrm/ |
D | espintcp.c | 56 struct strp_msg *rxm = strp_msg(skb); in espintcp_rcv() local 57 int len = rxm->full_len - 2; in espintcp_rcv() 65 err = skb_copy_bits(skb, rxm->offset + 2, &data, 1); in espintcp_rcv() 85 err = skb_copy_bits(skb, rxm->offset + 2, &nonesp_marker, in espintcp_rcv() 94 if (!pskb_pull(skb, rxm->offset + 2)) { in espintcp_rcv() 100 if (pskb_trim(skb, rxm->full_len - 2) != 0) { in espintcp_rcv() 114 struct strp_msg *rxm = strp_msg(skb); in espintcp_parse() local 119 if (skb->len < rxm->offset + 2) in espintcp_parse() 122 err = skb_copy_bits(skb, rxm->offset, &blen, sizeof(blen)); in espintcp_parse()
|
/Linux-v6.1/net/core/ |
D | filter.c | 3554 struct strp_msg *rxm = strp_msg(skb); in BPF_CALL_4() local 3556 rxm->full_len += len_diff; in BPF_CALL_4()
|