linux/net/mptcp
Christoph Paasch cc7972ea19 mptcp: parse and emit MP_CAPABLE option according to v1 spec
This implements MP_CAPABLE options parsing and writing according
to RFC 6824 bis / RFC 8684: MPTCP v1.

Local key is sent on syn/ack, and both keys are sent on 3rd ack.
MP_CAPABLE messages len are updated accordingly. We need the skbuff to
correctly emit the above, so we push the skbuff struct as an argument
all the way from tcp code to the relevant mptcp callbacks.

When processing incoming MP_CAPABLE + data, build a full blown DSS-like
map info, to simplify later processing.  On child socket creation, we
need to record the remote key, if available.

Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-24 13:44:08 +01:00
..
crypto.c mptcp: move from sha1 (v0) to sha256 (v1) 2020-01-24 13:44:08 +01:00
ctrl.c mptcp: new sysctl to control the activation per NS 2020-01-24 13:44:08 +01:00
Kconfig mptcp: move from sha1 (v0) to sha256 (v1) 2020-01-24 13:44:08 +01:00
Makefile mptcp: new sysctl to control the activation per NS 2020-01-24 13:44:08 +01:00
options.c mptcp: parse and emit MP_CAPABLE option according to v1 spec 2020-01-24 13:44:08 +01:00
protocol.c mptcp: new sysctl to control the activation per NS 2020-01-24 13:44:08 +01:00
protocol.h mptcp: parse and emit MP_CAPABLE option according to v1 spec 2020-01-24 13:44:08 +01:00
subflow.c mptcp: parse and emit MP_CAPABLE option according to v1 spec 2020-01-24 13:44:08 +01:00
token.c mptcp: Add key generation and token tree 2020-01-24 13:44:07 +01:00