addr_info.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
#ifndef MPTCPD_PRIVATE_ADDR_INFO_H
#define MPTCPD_PRIVATE_ADDR_INFO_H
#include <stdbool.h>
#include <stdint.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <mptcpd/export.h>
#include <mptcpd/types.h>
#ifdef __cplusplus
extern "C" {
#endif
struct mptcpd_addr_info
{
struct sockaddr_storage addr;
mptcpd_aid_t id;
uint32_t flags;
int index;
};
#ifdef __cplusplus
}
#endif
#endif /* MPTCPD_PRIVATE_ADDR_INFO_H */
/*
Local Variables:
c-file-style: "linux"
End:
*/
export.h
mptcpd shared library symbol export/import macros.
mptcpd_addr_info
Information associated with a network address.
Definition: addr_info.h:32
mptcpd_addr_info::index
int index
Network interface index associated with network address.
Definition: addr_info.h:69
mptcpd_addr_info::flags
uint32_t flags
MPTCP flags associated with the network address.
Definition: addr_info.h:62
mptcpd_addr_info::id
mptcpd_aid_t id
Definition: addr_info.h:51
mptcpd_addr_info::addr
struct sockaddr_storage addr
Network address family and IP address.
Definition: addr_info.h:43
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