]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/mptcp/protocol.h
mptcp: Add MPTCP socket stubs
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Wed, 22 Jan 2020 00:56:15 +0000 (16:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jan 2020 12:44:07 +0000 (13:44 +0100)
commitf870fa0b5768842cb4690c1c11f19f28b731ae6d
treec6681d139775fa1da79a1ba640a048b82d125a04
parent23f4eacdd24a64e7792bdee7327d32876e14cd51
mptcp: Add MPTCP socket stubs

Implements the infrastructure for MPTCP sockets.

MPTCP sockets open one in-kernel TCP socket per subflow. These subflow
sockets are only managed by the MPTCP socket that owns them and are not
visible from userspace. This commit allows a userspace program to open
an MPTCP socket with:

  sock = socket(AF_INET, SOCK_STREAM, IPPROTO_MPTCP);

The resulting socket is simply a wrapper around a single regular TCP
socket, without any of the MPTCP protocol implemented over the wire.

Co-developed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Co-developed-by: Peter Krystad <peter.krystad@linux.intel.com>
Signed-off-by: Peter Krystad <peter.krystad@linux.intel.com>
Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Co-developed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
include/net/mptcp.h
net/Kconfig
net/Makefile
net/ipv4/tcp.c
net/ipv6/tcp_ipv6.c
net/mptcp/Kconfig [new file with mode: 0644]
net/mptcp/Makefile [new file with mode: 0644]
net/mptcp/protocol.c [new file with mode: 0644]
net/mptcp/protocol.h [new file with mode: 0644]