diff options
author | Geliang Tang <[email protected]> | 2022-11-30 15:06:28 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-01 20:06:06 -0800 |
commit | f8c9dfbd875b17fee59c7f1aa35a4944d4e6d810 (patch) | |
tree | 036d920fa9f8589bb7bbba41cbb21aa372e71367 /lib/mpi/mpi-add.c | |
parent | 5f17f8e315ad77c7ba45afe169b4598efd5d5bc3 (diff) |
mptcp: add pm listener events
This patch adds two new MPTCP netlink event types for PM listening
socket create and close, named MPTCP_EVENT_LISTENER_CREATED and
MPTCP_EVENT_LISTENER_CLOSED.
Add a new function mptcp_event_pm_listener() to push the new events
with family, port and addr to userspace.
Invoke mptcp_event_pm_listener() with MPTCP_EVENT_LISTENER_CREATED in
mptcp_listen() and mptcp_pm_nl_create_listen_socket(), invoke it with
MPTCP_EVENT_LISTENER_CLOSED in __mptcp_close_ssk().
Signed-off-by: Geliang Tang <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions