mptcpd
Multipath TCP Daemon
|
mptcpd path manager framework. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <ell/ell.h>
#include <mptcpd/path_manager.h>
#include <mptcpd/private/path_manager.h>
#include <mptcpd/private/plugin.h>
#include <mptcpd/private/network_monitor.h>
#include <mptcpd/network_monitor.h>
#include <mptcpd/private/id_manager.h>
#include <mptcpd/id_manager.h>
#include <mptcpd/private/sockaddr.h>
#include <mptcpd/private/configuration.h>
#include <mptcpd/private/addr_info.h>
#include <mptcpd/private/listener_manager.h>
#include <mptcpd/private/mptcp_upstream.h>
#include "path_manager.h"
#include "netlink_pm.h"
Classes | |
struct | pm_event_attrs |
MPTCP generic netlink attribute values. More... | |
Macros | |
#define | MPTCP_GET_NL_ATTR(data, len, attr) |
Retrieve generic netlink attribute. | |
Functions | |
struct mptcpd_pm * | mptcpd_pm_create (struct mptcpd_config const *config) |
Create a path manager. | |
void | mptcpd_pm_destroy (struct mptcpd_pm *pm) |
mptcpd path manager framework.
Copyright (c) 2017-2022, Intel Corporation
#define MPTCP_GET_NL_ATTR | ( | data, | |
len, | |||
attr | |||
) |
Retrieve generic netlink attribute.
This macro is basically a function with a built-in sanity check that casts void*
typed data to a variable of desired type.
[in] | data | Pointer to source attribute data. |
[in] | len | Length (size) of attribute data. |
[out] | attr | Pointer to attribute data destination. |
struct mptcpd_pm * mptcpd_pm_create | ( | struct mptcpd_config const * | config | ) |
Create a path manager.
[in] | config | Mptcpd configuration. |
NULL
on failure.