mptcpd
Multipath TCP Daemon
|
mptcpd_addr_info
related functions.
More...
Go to the source code of this file.
Functions | |
MPTCPD_API struct sockaddr const * | mptcpd_addr_info_get_addr (struct mptcpd_addr_info const *info) |
Get underlying network address related information. | |
MPTCPD_API mptcpd_aid_t | mptcpd_addr_info_get_id (struct mptcpd_addr_info const *info) |
Get MPTCP address ID. | |
MPTCPD_API mptcpd_flags_t | mptcpd_addr_info_get_flags (struct mptcpd_addr_info const *info) |
Get mptcpd flags associated with a network address. | |
MPTCPD_API int | mptcpd_addr_info_get_index (struct mptcpd_addr_info const *info) |
Get network interface index associated with an address. | |
mptcpd_addr_info
related functions.
Copyright (c) 2020-2021, Intel Corporation
MPTCPD_API struct sockaddr const * mptcpd_addr_info_get_addr | ( | struct mptcpd_addr_info const * | info | ) |
Get underlying network address related information.
[in] | info | Mptcpd address information. |
sockaddr
object containing the underlying network address information. Cast to a const
pointer to a sockaddr_in
or sockaddr_in6
depending on the address family in the sa_family
field. NULL
is returned on error. MPTCPD_API mptcpd_flags_t mptcpd_addr_info_get_flags | ( | struct mptcpd_addr_info const * | info | ) |
Get mptcpd flags associated with a network address.
[in] | info | Mptcpd address information. |
MPTCPD_API mptcpd_aid_t mptcpd_addr_info_get_id | ( | struct mptcpd_addr_info const * | info | ) |
Get MPTCP address ID.
[in] | info | Mptcpd address information. |
MPTCPD_API int mptcpd_addr_info_get_index | ( | struct mptcpd_addr_info const * | info | ) |
Get network interface index associated with an address.
[in] | info | Mptcpd address information. |