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>
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- include/net/mptcp.h 16 additions, 0 deletionsinclude/net/mptcp.h
- net/Kconfig 1 addition, 0 deletionsnet/Kconfig
- net/Makefile 1 addition, 0 deletionsnet/Makefile
- net/ipv4/tcp.c 2 additions, 0 deletionsnet/ipv4/tcp.c
- net/ipv6/tcp_ipv6.c 7 additions, 0 deletionsnet/ipv6/tcp_ipv6.c
- net/mptcp/Kconfig 16 additions, 0 deletionsnet/mptcp/Kconfig
- net/mptcp/Makefile 4 additions, 0 deletionsnet/mptcp/Makefile
- net/mptcp/protocol.c 142 additions, 0 deletionsnet/mptcp/protocol.c
- net/mptcp/protocol.h 22 additions, 0 deletionsnet/mptcp/protocol.h
Loading
Please register or sign in to comment