mptcpd
Multipath TCP Daemon
mptcp_upstream.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef MPTCPD_PRIVATE_MPTCP_UPSTREAM_H
13 #define MPTCPD_PRIVATE_MPTCP_UPSTREAM_H
14 
15 #ifdef HAVE_CONFIG_H
16 # include "mptcpd/private/config.h"
17 #endif
18 
19 #ifdef HAVE_LINUX_MPTCP_H_UPSTREAM
20 # include <linux/mptcp.h>
21 #else
22 /*
23  Platform does not have upstream MPTCP path mangement generic netlink
24  API so include local copy of the upstream <linux/mptcp.h> header.
25 */
26 # include "linux/mptcp_upstream.h"
27 #endif // HAVE_LINUX_MPTCP_H_UPSTREAM
28 
29 #endif // MPTCPD_PRIVATE_MPTCP_UPSTREAM_H