Loading...
Searching...
No Matches
network_monitor.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
#ifndef MPTCPD_PRIVATE_NETWORK_MONITOR_H
#define MPTCPD_PRIVATE_NETWORK_MONITOR_H
#include <mptcpd/export.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct mptcpd_nm;
#define MPTCPD_NOTIFY_FLAG_EXISTING (1U << 0)
#define MPTCPD_NOTIFY_FLAG_SKIP_LL (1U << 1)
#define MPTCPD_NOTIFY_FLAG_SKIP_HOST (1U << 2)
#define MPTCPD_NOTIFY_FLAG_ROUTE_CHECK (1U << 3)
MPTCPD_API struct mptcpd_nm *mptcpd_nm_create(uint32_t flags);
MPTCPD_API void mptcpd_nm_destroy(struct mptcpd_nm *nm);
#ifdef __cplusplus
}
#endif
#endif // MPTCPD_PRIVATE_NETWORK_MONITOR_H
/*
Local Variables:
c-file-style: "linux"
End:
*/
export.h
mptcpd shared library symbol export/import macros.
mptcpd_nm_destroy
MPTCPD_API void mptcpd_nm_destroy(struct mptcpd_nm *nm)
Destroy a network monitor.
Definition network_monitor.c:1538
mptcpd_nm_create
MPTCPD_API struct mptcpd_nm * mptcpd_nm_create(uint32_t flags)
Create a network monitor.
Definition network_monitor.c:1449
mptcpd_nm
Data needed to run the network monitor.
Definition network_monitor.c:64