Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0-only */
2/* OpenVPN data channel offload
3 *
4 * Copyright (C) 2019-2025 OpenVPN, Inc.
5 *
6 * Author: Antonio Quartulli <antonio@openvpn.net>
7 */
8
9#ifndef _NET_OVPN_UDP_H_
10#define _NET_OVPN_UDP_H_
11
12#include <net/sock.h>
13
14struct ovpn_peer;
15struct ovpn_priv;
16struct socket;
17
18int ovpn_udp_socket_attach(struct ovpn_socket *ovpn_sock, struct socket *sock,
19 struct ovpn_priv *ovpn);
20void ovpn_udp_socket_detach(struct ovpn_socket *ovpn_sock);
21
22void ovpn_udp_send_skb(struct ovpn_peer *peer, struct sock *sk,
23 struct sk_buff *skb);
24
25#endif /* _NET_OVPN_UDP_H_ */