summaryrefslogtreecommitdiffhomepage
path: root/dbutil.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-20 23:38:05 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-20 23:38:05 +0800
commitf04a3a2cfa6a2787e84b07d6d22cb1e9837ff6af (patch)
tree0e0fca0c506d49ce51f636237db6f8f89b8cc38f /dbutil.h
parent364a53577eb33f20bed877fc5d4a54de829707d8 (diff)
Fixes for backwards compatibility
--HG-- branch : fastopen
Diffstat (limited to 'dbutil.h')
-rw-r--r--dbutil.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/dbutil.h b/dbutil.h
index a7b6897..f5c57b3 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -65,18 +65,6 @@ extern int debug_trace;
char * stripcontrol(const char * text);
-#if defined(__linux__) && HAVE_SENDMSG
-#define DROPBEAR_TCP_FAST_OPEN
-void set_listen_fast_open(int sock);
-/* may be supported by kernel but not libc */
-#ifndef TCP_FASTOPEN
-#define TCP_FASTOPEN 23
-#endif
-#ifndef MSG_FASTOPEN
-#define MSG_FASTOPEN 0x20000000
-#endif
-#endif
-
int spawn_command(void(*exec_fn)(void *user_data), void *exec_data,
int *writefd, int *readfd, int *errfd, pid_t *pid);
void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell);