mptcpd
Multipath TCP Daemon
Loading...
Searching...
No Matches
network_monitor.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
10#ifndef MPTCPD_PRIVATE_NETWORK_MONITOR_H
11#define MPTCPD_PRIVATE_NETWORK_MONITOR_H
12
13#include <mptcpd/export.h>
14
15#include <stdint.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21struct mptcpd_nm;
22
31#define MPTCPD_NOTIFY_FLAG_EXISTING (1U << 0)
32
34#define MPTCPD_NOTIFY_FLAG_SKIP_LL (1U << 1)
35
37#define MPTCPD_NOTIFY_FLAG_SKIP_HOST (1U << 2)
38
43#define MPTCPD_NOTIFY_FLAG_ROUTE_CHECK (1U << 3)
45
60MPTCPD_API struct mptcpd_nm *mptcpd_nm_create(uint32_t flags);
61
67MPTCPD_API void mptcpd_nm_destroy(struct mptcpd_nm *nm);
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif // MPTCPD_PRIVATE_NETWORK_MONITOR_H
74
75
76/*
77 Local Variables:
78 c-file-style: "linux"
79 End:
80*/
mptcpd shared library symbol export/import macros.
MPTCPD_API void mptcpd_nm_destroy(struct mptcpd_nm *nm)
Destroy a network monitor.
Definition network_monitor.c:1538
MPTCPD_API struct mptcpd_nm * mptcpd_nm_create(uint32_t flags)
Create a network monitor.
Definition network_monitor.c:1449
Data needed to run the network monitor.
Definition network_monitor.c:64