Home
last modified time | relevance | path

Searched refs:headln (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls_rxtx.c145 int headln, __be64 rcd_sn) in mlx5e_tls_complete_sync_skb() argument
157 memcpy(nskb->data, skb->data, headln); in mlx5e_tls_complete_sync_skb()
158 memcpy(nskb->data + headln, &rcd_sn, sizeof(rcd_sn)); in mlx5e_tls_complete_sync_skb()
163 data_len = nskb->len - headln; in mlx5e_tls_complete_sync_skb()
167 mss = nskb->dev->mtu - (headln - skb_network_offset(nskb)); in mlx5e_tls_complete_sync_skb()
195 int headln; in mlx5e_tls_handle_ooo() local
212 headln = skb_transport_offset(skb) + tcp_hdrlen(skb); in mlx5e_tls_handle_ooo()
213 payload = skb->len - headln; in mlx5e_tls_handle_ooo()
228 headln = skb_transport_offset(skb) + tcp_hdrlen(skb); in mlx5e_tls_handle_ooo()
229 linear_len += headln + sizeof(info.rcd_sn); in mlx5e_tls_handle_ooo()
[all …]
/Linux-v5.10/net/tls/
Dtls_device_fallback.c167 static void update_chksum(struct sk_buff *skb, int headln) in update_chksum() argument
170 int datalen = skb->len - headln; in update_chksum()
195 static void complete_skb(struct sk_buff *nskb, struct sk_buff *skb, int headln) in complete_skb() argument
203 memcpy(nskb->data, skb->data, headln); in complete_skb()
210 update_chksum(nskb, headln); in complete_skb()