Common path manager plugin functions.
More...
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <dirent.h>
#include <dlfcn.h>
#include <errno.h>
#include <unistd.h>
#include <assert.h>
#include <ell/queue.h>
#include <ell/hashmap.h>
#include <ell/util.h>
#include <ell/log.h>
#include <linux/genetlink.h>
#include <mptcpd/private/plugin.h>
#include <mptcpd/plugin.h>
|
| bool | mptcpd_plugin_load (char const *dir, char const *default_name, struct l_queue const *plugins_to_load, struct mptcpd_pm *pm) |
| | Load mptcpd plugins. More...
|
| |
| void | mptcpd_plugin_unload (struct mptcpd_pm *pm) |
| | Unload mptcpd plugins. More...
|
| |
| bool | mptcpd_plugin_register_ops (char const *name, struct mptcpd_plugin_ops const *ops) |
| | Register path manager operations. More...
|
| |
| void | mptcpd_plugin_new_connection (char const *name, mptcpd_token_t token, struct sockaddr const *laddr, struct sockaddr const *raddr, bool server_side, struct mptcpd_pm *pm) |
| | Notify plugin of new MPTCP connection pending completion. More...
|
| |
| void | mptcpd_plugin_connection_established (mptcpd_token_t token, struct sockaddr const *laddr, struct sockaddr const *raddr, bool server_side, struct mptcpd_pm *pm) |
| | Notify plugin of MPTCP connection completion. More...
|
| |
| void | mptcpd_plugin_connection_closed (mptcpd_token_t token, struct mptcpd_pm *pm) |
| | Notify plugin of MPTCP connection closure. More...
|
| |
| void | mptcpd_plugin_new_address (mptcpd_token_t token, mptcpd_aid_t id, struct sockaddr const *addr, struct mptcpd_pm *pm) |
| | Notify plugin of new address advertised by a peer. More...
|
| |
|