1#ifndef LSQUIC_CONFIG_H 2#define LSQUIC_CONFIG_H 3 4#cmakedefine HAVE_SENDMMSG 1 5#cmakedefine HAVE_RECVMMSG 1 6#cmakedefine HAVE_OPEN_MEMSTREAM 1 7#cmakedefine HAVE_IP_DONTFRAG 1 8#cmakedefine HAVE_IP_MTU_DISCOVER 1 9#cmakedefine HAVE_REGEX 1 10#cmakedefine HAVE_PREADV 1 11 12#define LSQUIC_DONTFRAG_SUPPORTED (HAVE_IP_DONTFRAG || HAVE_IP_MTU_DISCOVER) 13 14/* TODO: presumably it's the same on FreeBSD, test it. 15 * See https://github.com/quicwg/base-drafts/wiki/ECN-in-QUIC 16 */ 17#if __linux__ || defined(__FreeBSD__) 18#define ECN_SUPPORTED 1 19#else 20#define ECN_SUPPORTED 0 21#endif 22 23#endif 24