- 24 Jan, 2020 3 commits
-
-
Peter Krystad authored
Generate the local keys, IDSN, and token when creating a new socket. Introduce the token tree to track all tokens in use using a radix tree with the MPTCP token itself as the index. Override the rebuild_header callback in inet_connection_sock_af_ops for creating the local key on a new outgoing connection. Override the init_req callback of tcp_request_sock_ops for creating the local key on a new incoming connection. Will be used to obtain the MPTCP parent socket to handle incoming joins. Co-developed-by:
Davide Caratti <dcaratti@redhat.com> Signed-off-by:
Davide Caratti <dcaratti@redhat.com> Co-developed-by:
Florian Westphal <fw@strlen.de> Signed-off-by:
Florian Westphal <fw@strlen.de> Co-developed-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
Peter Krystad <peter.krystad@linux.intel.com> Signed-off-by:
Christoph Paasch <cpaasch@apple.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Peter Krystad authored
Add hooks to tcp_output.c to add MP_CAPABLE to an outgoing SYN request, to capture the MP_CAPABLE in the received SYN-ACK, to add MP_CAPABLE to the final ACK of the three-way handshake. Use the .sk_rx_dst_set() handler in the subflow proto to capture when the responding SYN-ACK is received and notify the MPTCP connection layer. Co-developed-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Co-developed-by:
Florian Westphal <fw@strlen.de> Signed-off-by:
Florian Westphal <fw@strlen.de> Signed-off-by:
Peter Krystad <peter.krystad@linux.intel.com> Signed-off-by:
Christoph Paasch <cpaasch@apple.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Peter Krystad authored
Use ULP to associate a subflow_context structure with each TCP subflow socket. Creating these sockets requires new bind and connect functions to make sure ULP is set up immediately when the subflow sockets are created. Co-developed-by:
Florian Westphal <fw@strlen.de> Signed-off-by:
Florian Westphal <fw@strlen.de> Co-developed-by:
Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by:
Matthieu Baerts <matthieu.baerts@tessares.net> Co-developed-by:
Davide Caratti <dcaratti@redhat.com> Signed-off-by:
Davide Caratti <dcaratti@redhat.com> Co-developed-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
Peter Krystad <peter.krystad@linux.intel.com> Signed-off-by:
Christoph Paasch <cpaasch@apple.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-