mptcpd
Multipath TCP Daemon
|
Map of MPTCP address ID to network address - private API. More...
Go to the source code of this file.
Functions | |
MPTCPD_API bool | mptcpd_idm_map_id (struct mptcpd_idm *idm, struct sockaddr const *sa, mptcpd_aid_t id) |
Map an IP address to a MPTCP address ID. | |
Map of MPTCP address ID to network address - private API.
Copyright (c) 2020, 2021, Intel Corporation
MPTCPD_API bool mptcpd_idm_map_id | ( | struct mptcpd_idm * | idm, |
struct sockaddr const * | sa, | ||
mptcpd_aid_t | id | ||
) |
Map an IP address to a MPTCP address ID.
Map an IP address to a MPTCP address ID. The MPTCP addresses ID for an existing IP address will be updated with the new ID.
[in] | idm | The mptcpd address ID manager object. |
[in] | sa | IP address information. |
[in] | id | MPTCP address ID. |
true
if mapping succeeded, and false
otherwise.