Loading...
Searching...
No Matches
listener_manager.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
#ifndef MPTCPD_LISTENER_MANAGER_H
#define MPTCPD_LISTENER_MANAGER_H
#include <stdbool.h>
#include <mptcpd/export.h>
#ifdef __cplusplus
extern "C" {
#endif
struct mptcpd_lm;
struct sockaddr;
MPTCPD_API int mptcpd_lm_listen(struct mptcpd_lm *lm,
struct sockaddr *sa);
MPTCPD_API int mptcpd_lm_close(struct mptcpd_lm *lm,
struct sockaddr const *sa);
#ifdef __cplusplus
}
#endif
#endif /* MPTCPD_LISTENER_MANAGER_H */
/*
Local Variables:
c-file-style: "linux"
End:
*/
export.h
mptcpd shared library symbol export/import macros.
mptcpd_lm_listen
MPTCPD_API int mptcpd_lm_listen(struct mptcpd_lm *lm, struct sockaddr *sa)
Listen on the given MPTCP local address.
Definition listener_manager.c:396
mptcpd_lm_close
MPTCPD_API int mptcpd_lm_close(struct mptcpd_lm *lm, struct sockaddr const *sa)
Stop listening on a MPTCP local address.
Definition listener_manager.c:429
mptcpd_lm
Internal mptcpd listern manager data.
Definition listener_manager.c:43