Loading...
Searching...
No Matches
id_manager.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
#ifndef MPTCPD_PRIVATE_ID_MANAGER_H
#define MPTCPD_PRIVATE_ID_MANAGER_H
#include <mptcpd/export.h>
#include <mptcpd/types.h>
#ifdef __cplusplus
extern "C" {
#endif
struct mptcpd_idm;
struct sockaddr;
MPTCPD_API bool mptcpd_idm_map_id(struct mptcpd_idm *idm,
struct sockaddr const *sa,
mptcpd_aid_t id);
#ifdef __cplusplus
}
#endif
#endif // MPTCPD_PRIVATE_ID_MANAGER_H
/*
Local Variables:
c-file-style: "linux"
End:
*/
export.h
mptcpd shared library symbol export/import macros.
mptcpd_idm_map_id
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.
Definition id_manager.c:181
mptcpd_idm
Internal mptcpd address ID manager data.
Definition id_manager.c:53
types.h
mptcpd user space path manager attribute types.
mptcpd_aid_t
uint8_t mptcpd_aid_t
MPTCP address ID type.
Definition types.h:29