Searched refs:rxm (Results 1 – 4 of 4) sorted by relevance
/net/tls/ |
D | tls_sw.c | 138 struct strp_msg *rxm = strp_msg(skb); in padding_length() local 149 if (back > rxm->full_len - prot->prepend_size) in padding_length() 152 rxm->offset + rxm->full_len - back, in padding_length() 192 struct strp_msg *rxm = strp_msg(skb); in tls_decrypt_done() local 200 rxm->full_len -= pad; in tls_decrypt_done() 201 rxm->offset += prot->prepend_size; in tls_decrypt_done() 202 rxm->full_len -= prot->overhead_size; in tls_decrypt_done() 1428 struct strp_msg *rxm = strp_msg(skb); in decrypt_internal() local 1436 const int data_len = rxm->full_len - prot->overhead_size + in decrypt_internal() 1445 n_sgin = skb_nsg(skb, rxm->offset + prot->prepend_size, in decrypt_internal() [all …]
|
D | tls_device.c | 807 struct strp_msg *rxm; in tls_device_core_ctrl_rx_resync() local 832 rxm = strp_msg(skb); in tls_device_core_ctrl_rx_resync() 835 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync() 852 struct strp_msg *rxm = strp_msg(skb); in tls_device_reencrypt() local 853 int err = 0, offset = rxm->offset, copy, nsg, data_len, pos; in tls_device_reencrypt() 858 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + in tls_device_reencrypt() 872 rxm->full_len + TLS_HEADER_SIZE + in tls_device_reencrypt() 886 data_len = rxm->full_len - TLS_CIPHER_AES_GCM_128_TAG_SIZE; in tls_device_reencrypt() 911 if (pos >= data_len + rxm->offset) in tls_device_reencrypt() 916 data_len + rxm->offset - offset); in tls_device_reencrypt() [all …]
|
/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()
|
/net/core/ |
D | filter.c | 3584 struct strp_msg *rxm = strp_msg(skb); in BPF_CALL_4() local 3586 rxm->full_len += len_diff; in BPF_CALL_4()
|