naccyde / rpms / iproute

Forked from rpms/iproute 10 months ago
Clone

Blame SOURCES/0021-man-mptcp-man-page.patch

07a51b
From af65892658d7c271d1fb328065a35f8017610418 Mon Sep 17 00:00:00 2001
07a51b
From: Andrea Claudi <aclaudi@redhat.com>
07a51b
Date: Thu, 4 Jun 2020 19:28:45 +0200
07a51b
Subject: [PATCH] man: mptcp man page
07a51b
07a51b
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1812207
07a51b
Upstream Status: unknown commit 2d8b5fe93e9de
07a51b
07a51b
commit 2d8b5fe93e9decb56acc243905d82fb22d6c4cfd
07a51b
Author: Paolo Abeni <pabeni@redhat.com>
07a51b
Date:   Thu Apr 23 15:37:10 2020 +0200
07a51b
07a51b
    man: mptcp man page
07a51b
07a51b
    describe the mptcp subcommands implemented so far.
07a51b
07a51b
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>
07a51b
    Signed-off-by: David Ahern <dsahern@gmail.com>
07a51b
---
07a51b
 man/man8/ip-mptcp.8 | 142 ++++++++++++++++++++++++++++++++++++++++++++
07a51b
 1 file changed, 142 insertions(+)
07a51b
 create mode 100644 man/man8/ip-mptcp.8
07a51b
07a51b
diff --git a/man/man8/ip-mptcp.8 b/man/man8/ip-mptcp.8
07a51b
new file mode 100644
07a51b
index 0000000000000..f6457e97efbe8
07a51b
--- /dev/null
07a51b
+++ b/man/man8/ip-mptcp.8
07a51b
@@ -0,0 +1,142 @@
07a51b
+.TH IP\-MPTCP 8 "4 Apr 2020" "iproute2" "Linux"
07a51b
+.SH "NAME"
07a51b
+ip-mptcp \- MPTCP path manager configuration
07a51b
+.SH "SYNOPSIS"
07a51b
+.sp
07a51b
+.ad l
07a51b
+.in +8
07a51b
+.ti -8
07a51b
+.B ip
07a51b
+.RI "[ " OPTIONS " ]"
07a51b
+.B mptcp
07a51b
+.RB "{ "
07a51b
+.B endpoint
07a51b
+.RB " | "
07a51b
+.B limits
07a51b
+.RB " | "
07a51b
+.B help
07a51b
+.RB " }"
07a51b
+.sp
07a51b
+
07a51b
+.ti -8
07a51b
+.BR "ip mptcp endpoint add "
07a51b
+.IR IFADDR
07a51b
+.RB "[ " dev
07a51b
+.IR IFNAME " ]"
07a51b
+.RB "[ " id
07a51b
+.I ID
07a51b
+.RB "] [ "
07a51b
+.I FLAG-LIST
07a51b
+.RB "] "
07a51b
+
07a51b
+.ti -8
07a51b
+.BR "ip mptcp endpoint del id "
07a51b
+.I ID
07a51b
+
07a51b
+.ti -8
07a51b
+.BR "ip mptcp endpoint show "
07a51b
+.RB "[ " id
07a51b
+.I ID
07a51b
+.RB "]"
07a51b
+
07a51b
+.ti -8
07a51b
+.BR "ip mptcp endpoint flush"
07a51b
+
07a51b
+.ti -8
07a51b
+.IR FLAG-LIST " := [ "  FLAG-LIST " ] " FLAG
07a51b
+
07a51b
+.ti -8
07a51b
+.IR FLAG " := ["
07a51b
+.B signal
07a51b
+.RB "|"
07a51b
+.B subflow
07a51b
+.RB "|"
07a51b
+.B backup
07a51b
+.RB  "]"
07a51b
+
07a51b
+.ti -8
07a51b
+.BR "ip mptcp limits set "
07a51b
+.RB "[ "
07a51b
+.B subflow
07a51b
+.IR SUBFLOW_NR " ]"
07a51b
+.RB "[ "
07a51b
+.B add_addr_accepted
07a51b
+.IR  ADD_ADDR_ACCEPTED_NR " ]"
07a51b
+
07a51b
+.ti -8
07a51b
+.BR "ip mptcp limits show"
07a51b
+
07a51b
+.SH DESCRIPTION
07a51b
+
07a51b
+MPTCP is a transport protocol built on top of TCP that allows TCP
07a51b
+connections to use multiple paths to maximize resource usage and increase
07a51b
+redundancy. The ip-mptcp sub-commands allow configuring several aspects of the
07a51b
+MPTCP path manager, which is in charge of subflows creation:
07a51b
+
07a51b
+.P
07a51b
+The
07a51b
+.B endpoint
07a51b
+object specifies the IP addresses that will be used and/or announced for
07a51b
+additional subflows:
07a51b
+
07a51b
+.TS
07a51b
+l l.
07a51b
+ip mptcp endpoint add	add new MPTCP endpoint
07a51b
+ip mptcp endpoint delete	delete existing MPTCP endpoint
07a51b
+ip mptcp endpoint show	get existing MPTCP endpoint
07a51b
+ip mptcp endpoint flush	flush all existing MPTCP endpoints
07a51b
+.TE
07a51b
+
07a51b
+.TP
07a51b
+.IR ID
07a51b
+is a unique numeric identifier for the given endpoint
07a51b
+
07a51b
+.TP
07a51b
+.BR signal
07a51b
+the endpoint will be announced/signalled to each peer via an ADD_ADDR MPTCP
07a51b
+sub-option
07a51b
+
07a51b
+.TP
07a51b
+.BR subflow
07a51b
+if additional subflow creation is allowed by MPTCP limits, the endpoint will
07a51b
+be used as the source address to create an additional subflow after that
07a51b
+the MPTCP connection is established.
07a51b
+
07a51b
+.TP
07a51b
+.BR backup
07a51b
+the endpoint will be announced as a backup address, if this is a
07a51b
+.BR signal
07a51b
+endpoint, or the subflow will be created as a backup one if this is a
07a51b
+.BR subflow
07a51b
+endpoint
07a51b
+
07a51b
+.sp
07a51b
+.PP
07a51b
+The
07a51b
+.B limits
07a51b
+object specifies the constraints for subflow creations:
07a51b
+
07a51b
+.TS
07a51b
+l l.
07a51b
+ip mptcp limits show	get current MPTCP subflow creation limits
07a51b
+ip mptcp limits set	change the MPTCP subflow creation limits
07a51b
+.TE
07a51b
+
07a51b
+.TP
07a51b
+.IR SUBFLOW_NR
07a51b
+specifies the maximum number of additional subflows allowed for each MPTCP
07a51b
+connection. Additional subflows can be created due to: incoming accepted
07a51b
+ADD_ADDR option, local
07a51b
+.BR subflow
07a51b
+endpoints, additional subflows started by the peer.
07a51b
+
07a51b
+.TP
07a51b
+.IR ADD_ADDR_ACCEPTED_NR
07a51b
+specifies the maximum number of ADD_ADDR suboptions accepted for each MPTCP
07a51b
+connection. The MPTCP path manager will try to create a new subflow for
07a51b
+each accepted ADD_ADDR option, respecting the
07a51b
+.IR SUBFLOW_NR
07a51b
+limit.
07a51b
+
07a51b
+.SH AUTHOR
07a51b
+Original Manpage by Paolo Abeni <pabeni@redhat.com>
07a51b
-- 
07a51b
2.26.2
07a51b