History

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.

Christoph Paasch committed 6 years ago

Commit cc7972e1 parent 65492c57 files · +160 −46Browse files

Showing the changes to include/linux (1 of 7 files). Show all

Unified · Split

include/linux/tcp.h+2−1
@@ -94,7 +94,8 @@ struct mptcp_options_received { · 93 unmodified lines
9494 data_fin:1,
9595 use_ack:1,
9696 ack64:1,
97− __unused:3;
97+ mpc_map:1,
98+ __unused:2;
9899 };
99100 #endif
100101