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 <stdbool.h>
14
15#include <mptcpd/export.h>
16#include <mptcpd/types.h>
17
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23struct mptcpd_idm;
24struct sockaddr;
25
40MPTCPD_API bool mptcpd_idm_map_id(struct mptcpd_idm *idm,
41 struct sockaddr const *sa,
42 mptcpd_aid_t id);
43
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif // MPTCPD_PRIVATE_ID_MANAGER_H
50
51
52/*
53 Local Variables:
54 c-file-style: "linux"
55 End:
56*/
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:173
Internal mptcpd address ID manager data.
Definition id_manager.c:45
mptcpd user space path manager attribute types.
uint8_t mptcpd_aid_t
MPTCP address ID type.
Definition types.h:29