mptcpd
Multipath TCP Daemon
|
Map of network address to MPTCP address ID. More...
Go to the source code of this file.
Functions | |
MPTCPD_API struct mptcpd_idm * | mptcpd_idm_create (void) |
Create MPTCP address ID manager. | |
MPTCPD_API void | mptcpd_idm_destroy (struct mptcpd_idm *idm) |
Destroy MPTCP address ID manager. | |
MPTCPD_API mptcpd_aid_t | mptcpd_idm_get_id (struct mptcpd_idm *idm, struct sockaddr const *sa) |
Get MPTCP address ID. | |
MPTCPD_API mptcpd_aid_t | mptcpd_idm_remove_id (struct mptcpd_idm *idm, struct sockaddr const *sa) |
Remove MPTCP address ID. | |
Map of network address to MPTCP address ID.
Copyright (c) 2020, Intel Corporation
MPTCPD_API struct mptcpd_idm * mptcpd_idm_create | ( | void | ) |
Create MPTCP address ID manager.
NULL
on failure. MPTCPD_API void mptcpd_idm_destroy | ( | struct mptcpd_idm * | idm | ) |
Destroy MPTCP address ID manager.
[in,out] | idm | The mptcpd address ID manager object. |
MPTCPD_API mptcpd_aid_t mptcpd_idm_get_id | ( | struct mptcpd_idm * | idm, |
struct sockaddr const * | sa | ||
) |
Get MPTCP address ID.
Map an IP address to a MPTCP address ID, and return that ID.
[in] | idm | The mptcpd address ID manager object. |
[in] | sa | IP address information. |
MPTCPD_API mptcpd_aid_t mptcpd_idm_remove_id | ( | struct mptcpd_idm * | idm, |
struct sockaddr const * | sa | ||
) |
Remove MPTCP address ID.
Stop associating the MPTCP address ID with the given IP address.
[in] | idm | The mptcpd address ID manager object. |
[in] | sa | IP address information. |