diff options
author | Geliang Tang <geliangtang@gmail.com> | 2020-12-10 00:51:24 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-12-10 04:02:15 +0100 |
commit | 0f5c9e3f079f1d0355fd8f5e5ec7e3ada095eef4 (patch) | |
tree | 3868d18f210e37e4a4d4a824f7e05a407d078ab1 /net/mptcp/protocol.h | |
parent | mptcp: send out dedicated packet for ADD_ADDR using port (diff) | |
download | linux-0f5c9e3f079f1d0355fd8f5e5ec7e3ada095eef4.tar.xz linux-0f5c9e3f079f1d0355fd8f5e5ec7e3ada095eef4.zip |
mptcp: add port parameter for mptcp_pm_announce_addr
This patch added a new parameter 'port' for mptcp_pm_announce_addr. If
this parameter is true, we set the MPTCP_ADD_ADDR_PORT bit of the
add_addr_signal. That means the announced address is added with a port
number.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.h')
-rw-r--r-- | net/mptcp/protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index d69b4fc918cf..e880fa802cdf 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -552,7 +552,7 @@ mptcp_pm_del_add_timer(struct mptcp_sock *msk, int mptcp_pm_announce_addr(struct mptcp_sock *msk, const struct mptcp_addr_info *addr, - bool echo); + bool echo, bool port); int mptcp_pm_remove_addr(struct mptcp_sock *msk, u8 local_id); int mptcp_pm_remove_subflow(struct mptcp_sock *msk, u8 local_id); |