OSDN Git Service

mptcp: allow dumping subflow context to userspace
authorDavide Caratti <dcaratti@redhat.com>
Fri, 27 Mar 2020 21:48:49 +0000 (14:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 05:14:48 +0000 (22:14 -0700)
commit5147dfb5083204d6f5468d6d6d2d04b2cdc0cf2b
tree69230ab7f4b1f6df999b78c6b82a5aa353bcbfc4
parent3b1d6210a9577369103330b0d802b0bf74b65e7f
mptcp: allow dumping subflow context to userspace

add ulp-specific diagnostic functions, so that subflow information can be
dumped to userspace programs like 'ss'.

v2 -> v3:
- uapi: use bit macros appropriate for userspace

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: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
include/uapi/linux/inet_diag.h
include/uapi/linux/mptcp.h [new file with mode: 0644]
net/mptcp/Makefile
net/mptcp/diag.c [new file with mode: 0644]
net/mptcp/protocol.h
net/mptcp/subflow.c