mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
23c18e349f
* Revert "Fix compilation on MacOS" in order to another solution * src: use IPPROTO_TCP in place of SOL_TCP * use the more specific IPPROTO_TCP type for setsockopt * fixes build on MacOS src/edge_utils.c:891:31: error: use of undeclared identifier 'SOL_TCP'; did you mean 'FPP_TCP'? setsockopt(eee->sock, SOL_TCP, TCP_NODELAY, &value, sizeof(value)); src/edge_utils.c:894:31: error: use of undeclared identifier 'SOL_TCP' setsockopt(eee->sock, SOL_TCP, TCP_CORK, &value, sizeof(value)); ^ src/edge_utils.c:894:40: error: use of undeclared identifier 'TCP_CORK' setsockopt(eee->sock, SOL_TCP, TCP_CORK, &value, sizeof(value)); * include/n2n.h: drop redefiniton of SOL_TCP for WIN32, as we don't use it anywhere now * src: only use TCP_CORK on LINUX * it's LINUX only and fails on Win32 and MacOS (man 7 tcp) |
||
---|---|---|
.. | ||
aes.h | ||
cc20.h | ||
edge_utils_win32.h | ||
header_encryption.h | ||
lzoconf.h | ||
lzodefs.h | ||
minilzo.h | ||
n2n_define.h | ||
n2n_regex.h | ||
n2n_typedefs.h | ||
n2n_wire.h | ||
n2n.h | ||
network_traffic_filter.h | ||
pearson.h | ||
portable_endian.h | ||
random_numbers.h | ||
sn_selection.h | ||
speck.h | ||
tf.h | ||
uthash.h |