mptcpd
Multipath TCP Daemon
include
mptcpd
private
sockaddr.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSD-3-Clause
10
#ifndef MPTCPD_PRIVATE_SOCKADDR_H
11
#define MPTCPD_PRIVATE_SOCKADDR_H
12
13
#include <stdbool.h>
14
15
#include <
mptcpd/export.h
>
16
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
struct
in_addr;
23
struct
in6_addr;
24
struct
sockaddr_storage;
25
40
MPTCPD_API
bool
41
mptcpd_sockaddr_storage_init
(
struct
in_addr
const
*addr4,
42
struct
in6_addr
const
*addr6,
43
unsigned
short
port,
44
struct
sockaddr_storage *addr);
45
46
#ifdef __cplusplus
47
}
48
#endif
49
50
51
#endif
/* MPTCPD_PRIVATE_SOCKADDR_H */
52
53
54
/*
55
Local Variables:
56
c-file-style: "linux"
57
End:
58
*/
export.h
mptcpd shared library symbol export/import macros.
mptcpd_sockaddr_storage_init
MPTCPD_API bool mptcpd_sockaddr_storage_init(struct in_addr const *addr4, struct in6_addr const *addr6, unsigned short port, struct sockaddr_storage *addr)
Initialize sockaddr_storage instance.
Definition:
sockaddr.c:17
Generated by
1.9.1