diff options
author | 2020-01-21 16:56:20 -0800 | |
---|---|---|
committer | 2020-01-24 13:44:07 +0100 | |
commit | 79c0949e9a09f6a14a6dd18dc8396029423f9b68 (patch) | |
tree | 98e6d16ac4d28c25a6c171706cb2ce90cec1bbdc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mptcp: Create SUBFLOW socket for incoming connections (diff) | |
download | linux-dev-79c0949e9a09f6a14a6dd18dc8396029423f9b68.tar.xz linux-dev-79c0949e9a09f6a14a6dd18dc8396029423f9b68.zip |
mptcp: Add key generation and token tree
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions