mptcpd
Multipath TCP Daemon
|
mptcpd network device monitoring - internal API. More...
Go to the source code of this file.
Macros | |
Mptcpd Network Monitor Flags | |
Flags controlling address notification in the mptcpd network monitor. Pass to | |
#define | MPTCPD_NOTIFY_FLAG_EXISTING (1U << 0) |
#define | MPTCPD_NOTIFY_FLAG_SKIP_LL (1U << 1) |
Ignore link-local addresses. | |
#define | MPTCPD_NOTIFY_FLAG_SKIP_HOST (1U << 2) |
Ignore host (loopback) addresses. | |
#define | MPTCPD_NOTIFY_FLAG_ROUTE_CHECK (1U << 3) |
Functions | |
MPTCPD_API struct mptcpd_nm * | mptcpd_nm_create (uint32_t flags) |
Create a network monitor. | |
MPTCPD_API void | mptcpd_nm_destroy (struct mptcpd_nm *nm) |
Destroy a network monitor. | |
mptcpd network device monitoring - internal API.
Copyright (c) 2017-2022, Intel Corporation
#define MPTCPD_NOTIFY_FLAG_EXISTING (1U << 0) |
Notify even the addresses already existing at startup-time.
#define MPTCPD_NOTIFY_FLAG_ROUTE_CHECK (1U << 3) |
Notify address only if a default route is available from the given interface.
MPTCPD_API struct mptcpd_nm * mptcpd_nm_create | ( | uint32_t | flags | ) |
Create a network monitor.
[in] | flags | Flags controlling address notification, any of: MPTCPD_NOTIFY_FLAG_EXISTING, MPTCPD_NOTIFY_FLAG_SKIP_LL, MPTCPD_NOTIFY_FLAG_SKIP_HOST |
NULL
on failure. Get network interface information.
RTM_GETLINK
response, which resulted in an EBUSY error.MPTCPD_API void mptcpd_nm_destroy | ( | struct mptcpd_nm * | nm | ) |
Destroy a network monitor.
[in,out] | nm | Network monitor to be destroyed. |