mptcpd
Multipath TCP Daemon
include
mptcpd
private
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
18
extern
"C"
{
19
#endif
20
21
struct
mptcpd_idm
;
22
struct
sockaddr;
23
38
MPTCPD_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
*/
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:217
mptcpd_idm
Internal mptcpd address ID manager data.
Definition:
id_manager.c:42
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
Generated by
1.9.1