diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-07-09 15:12:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-09 21:38:41 +0200 |
commit | 96d890daad05a3e47e914451f07b79275b325c95 (patch) | |
tree | 9048ed7daae2e3e3064bf4582029d325e5987942 /net/mptcp/mptcp_diag.c | |
parent | inet_diag: support for wider protocol numbers (diff) | |
download | linux-96d890daad05a3e47e914451f07b79275b325c95.tar.xz linux-96d890daad05a3e47e914451f07b79275b325c95.zip |
mptcp: add msk interations helper
mptcp_token_iter_next() allow traversing all the MPTCP
sockets inside the token container belonging to the given
network namespace with a quite standard iterator semantic.
That will be used by the next patch, but keep the API generic,
as we plan to use this later for PM's sake.
Additionally export mptcp_token_get_sock(), as it also
will be used by the diag module.
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/mptcp_diag.c')
0 files changed, 0 insertions, 0 deletions