mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
With this change ovpn is allowed to communicate to peers also via TCP. Parsing of incoming messages is implemented through the strparser API. Note that ovpn redefines sk_prot and sk_socket->ops for the TCP socket used to communicate with the peer. For this reason it needs to access inet6_stream_ops, which is declared as extern in the IPv6 module, but it is not fully exported. Therefore this patch is also adding EXPORT_SYMBOL_GPL(inet6_stream_ops) to net/ipv6/af_inet6.c. Cc: David Ahern <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Paolo Abeni <[email protected]> Cc: Simon Horman <[email protected]> Signed-off-by: Antonio Quartulli <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Sabrina Dubroca <[email protected]> Tested-by: Oleksandr Natalenko <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
23 lines
456 B
Makefile
23 lines
456 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# ovpn -- OpenVPN data channel offload in kernel space
|
|
#
|
|
# Copyright (C) 2020-2025 OpenVPN, Inc.
|
|
#
|
|
# Author: Antonio Quartulli <[email protected]>
|
|
|
|
obj-$(CONFIG_OVPN) := ovpn.o
|
|
ovpn-y += bind.o
|
|
ovpn-y += crypto.o
|
|
ovpn-y += crypto_aead.o
|
|
ovpn-y += main.o
|
|
ovpn-y += io.o
|
|
ovpn-y += netlink.o
|
|
ovpn-y += netlink-gen.o
|
|
ovpn-y += peer.o
|
|
ovpn-y += pktid.o
|
|
ovpn-y += socket.o
|
|
ovpn-y += stats.o
|
|
ovpn-y += tcp.o
|
|
ovpn-y += udp.o
|