mptcpd
Multipath TCP Daemon
Loading...
Searching...
No Matches
id_manager.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
10#ifndef MPTCPD_PRIVATE_ID_MANAGER_H
11#define MPTCPD_PRIVATE_ID_MANAGER_H
12
13#include <mptcpd/export.h>
14#include <mptcpd/types.h>
15
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21struct mptcpd_idm;
22struct sockaddr;
23
38MPTCPD_API bool mptcpd_idm_map_id(struct mptcpd_idm *idm,
39 struct sockaddr const *sa,
40 mptcpd_aid_t id);
41
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif // MPTCPD_PRIVATE_ID_MANAGER_H
48
49
50/*
51 Local Variables:
52 c-file-style: "linux"
53 End:
54*/
mptcpd shared library symbol export/import macros.
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:174
Internal mptcpd address ID manager data.
Definition id_manager.c:46
mptcpd user space path manager attribute types.
uint8_t mptcpd_aid_t
MPTCP address ID type.
Definition types.h:29