Loading...
Searching...
No Matches
netlink_pm.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
#ifndef MPTCPD_NETLINK_PM_H
#define MPTCPD_NETLINK_PM_H
#include <mptcpd/private/netlink_pm.h>
#include <mptcpd/types.h>
#include <stdbool.h>
#define MPTCP_SYSCTL_BASE "/proc/sys/net/mptcp/"
#define MPTCP_SYSCTL_VARIABLE(name) MPTCP_SYSCTL_BASE #name
struct sockaddr;
struct mptcpd_pm;
struct mptcpd_netlink_pm const *mptcpd_get_netlink_pm(void);
bool mptcpd_is_kernel_mptcp_enabled(char const *path,
char const *variable,
int enable_val);
#endif /* MPTCPD_NETLINK_PM_H */
/*
Local Variables:
c-file-style: "linux"
End:
*/
netlink_pm.h
Kernel generic netlink path manager details.
mptcpd_is_kernel_mptcp_enabled
bool mptcpd_is_kernel_mptcp_enabled(char const *path, char const *variable, int enable_val)
Verify that MPTCP is enabled at run-time in the kernel.
Definition netlink_pm.c:22
mptcpd_get_netlink_pm
struct mptcpd_netlink_pm const * mptcpd_get_netlink_pm(void)
Get MPTCP generic netlink path manager characteristics.
Definition netlink_pm_mptcp_org.c:554
mptcpd_netlink_pm
Definition netlink_pm.h:28
mptcpd_pm
Data needed to run the path manager.
Definition path_manager.h:44
types.h
mptcpd user space path manager attribute types.