You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
Macro MPTCP_ENABLED is defined in #include <linux/tcp.h> and SOL_TCP defined in #include <netinet/in.h> I want these two definitions to set the mptcp socket option but if I include those two files I get lots of type conflict errors. Is there any better way to do it or do I need to define one of the macros in my CPP file? ( example : #define SOL_TCP 6 )
The text was updated successfully, but these errors were encountered:
This implies you compile the userspace code on the machine it is supposed to run. That's not always the case.
If the workaround from #393 (comment) is not working for you, the best is probably to grep MPTCP_ENABLED (...)/linux/tcp.h and add a -D MPTCP_ENABLED=42 at the compilation time.
I don't think there are "cleaner" solutions for out-of-tree kernels. But if you find any, feel free to share it with us.
Macro
MPTCP_ENABLED
is defined in#include <linux/tcp.h>
andSOL_TCP
defined in#include <netinet/in.h>
I want these two definitions to set the mptcp socket option but if I include those two files I get lots of type conflict errors. Is there any better way to do it or do I need to define one of the macros in my CPP file? ( example :#define SOL_TCP 6
)The text was updated successfully, but these errors were encountered: