]> git.proxmox.com Git - mirror_iproute2.git/commit
add support for mptcp netlink interface
authorPaolo Abeni <pabeni@redhat.com>
Thu, 23 Apr 2020 13:37:08 +0000 (15:37 +0200)
committerDavid Ahern <dsahern@gmail.com>
Wed, 29 Apr 2020 16:43:18 +0000 (16:43 +0000)
commit7e0767cd862bb5dd2d41c41c5e6f55d633f953ea
tree5e94d9ef59db9e58d0923604e5f0254a6ed1baa6
parent02ade5a8ea1c23201a99d8cdf7e02a6ba90d7718
add support for mptcp netlink interface

Implement basic commands to:
- manipulate MPTCP endpoints list
- manipulate MPTCP connection limits

Examples:
1. Allows multiple subflows per MPTCP connection
   $ ip mptcp limits set subflows 2

2. Accept ADD_ADDR announcement from the peer (server):
   $ ip mptcp limits set add_addr_accepted 2

3. Add a ipv4 address to be annunced for backup subflows:
   $ ip mptcp endpoint add 10.99.1.2 signal backup

4. Add an ipv6 address used as source for additional subflows:
   $ ip mptcp endpoint add 2001::2 subflow

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/Makefile
ip/ip.c
ip/ip_common.h
ip/ipmptcp.c [new file with mode: 0644]