Debian Codegraph @

drivers/net/ovpn-dco/udp.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* OpenVPN data channel accelerator
3 *
4 * Copyright (C) 2019-2023 OpenVPN, Inc.
5 *
6 * Author: Antonio Quartulli <[email protected]>
7 */
8
9 #ifndef _NET_OVPN_DCO_UDP_H_
10 #define _NET_OVPN_DCO_UDP_H_
11
12 #include "peer.h"
13 #include "ovpnstruct.h"
14
15 #include <linux/net.h>
16 #include <linux/skbuff.h>
17 #include <linux/types.h>
18 #include <net/sock.h>
19
20 int ovpn_udp_socket_attach(struct socket *sock, struct ovpn_struct *ovpn);
21 void ovpn_udp_socket_detach(struct socket *sock);
22 void ovpn_udp_send_skb(struct ovpn_struct *ovpn, struct ovpn_peer *peer,
23 struct sk_buff *skb);
24
25 #endif /* _NET_OVPN_DCO_UDP_H_ */