mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-25 18:03:47 -04:00
Send a netlink notification when a client updates its remote UDP endpoint. The notification includes the new IP address, port, and scope ID (for IPv6). Cc: linux-kselftest@vger.kernel.org Cc: horms@kernel.org Cc: shuah@kernel.org Cc: donald.hunter@gmail.com Signed-off-by: Ralf Lici <ralf@mandelbit.com> Signed-off-by: Antonio Quartulli <antonio@openvpn.net> Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
21 lines
552 B
C
21 lines
552 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* OpenVPN data channel offload
|
|
*
|
|
* Copyright (C) 2020-2025 OpenVPN, Inc.
|
|
*
|
|
* Author: Antonio Quartulli <antonio@openvpn.net>
|
|
*/
|
|
|
|
#ifndef _NET_OVPN_NETLINK_H_
|
|
#define _NET_OVPN_NETLINK_H_
|
|
|
|
int ovpn_nl_register(void);
|
|
void ovpn_nl_unregister(void);
|
|
|
|
int ovpn_nl_peer_del_notify(struct ovpn_peer *peer);
|
|
int ovpn_nl_peer_float_notify(struct ovpn_peer *peer,
|
|
const struct sockaddr_storage *ss);
|
|
int ovpn_nl_key_swap_notify(struct ovpn_peer *peer, u8 key_id);
|
|
|
|
#endif /* _NET_OVPN_NETLINK_H_ */
|