mptcpd
Multipath TCP Daemon
Loading...
Searching...
No Matches
addr_info.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
10#ifndef MPTCPD_PRIVATE_ADDR_INFO_H
11#define MPTCPD_PRIVATE_ADDR_INFO_H
12
13#include <stdbool.h>
14#include <stdint.h>
15#include <sys/socket.h>
16#include <netinet/in.h>
17
18#include <mptcpd/export.h>
19#include <mptcpd/types.h>
20
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
32{
43 struct sockaddr_storage addr;
44
52
62 uint32_t flags;
63
69 int index;
70};
71
72#ifdef __cplusplus
73}
74#endif
75
76
77#endif /* MPTCPD_PRIVATE_ADDR_INFO_H */
78
79
80/*
81 Local Variables:
82 c-file-style: "linux"
83 End:
84*/
mptcpd shared library symbol export/import macros.
Information associated with a network address.
Definition addr_info.h:32
int index
Network interface index associated with network address.
Definition addr_info.h:69
uint32_t flags
MPTCP flags associated with the network address.
Definition addr_info.h:62
mptcpd_aid_t id
Definition addr_info.h:51
struct sockaddr_storage addr
Network address family and IP address.
Definition addr_info.h:43
mptcpd user space path manager attribute types.
uint8_t mptcpd_aid_t
MPTCP address ID type.
Definition types.h:29