mptcpd
Multipath TCP Daemon
Loading...
Searching...
No Matches
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 <stdbool.h>
14
15
#include <
mptcpd/export.h
>
16
#include <
mptcpd/types.h
>
17
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
struct
mptcpd_idm
;
24
struct
sockaddr;
25
40
MPTCPD_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
*/
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:173
mptcpd_idm
Internal mptcpd address ID manager data.
Definition
id_manager.c:45
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.8