summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unix/newlib/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unix/newlib/mod.rs b/src/unix/newlib/mod.rs
index 5991b99a45..65f32ebcf9 100644
--- a/src/unix/newlib/mod.rs
+++ b/src/unix/newlib/mod.rs
@@ -520,6 +520,11 @@ pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
pub const TCP_NODELAY: ::c_int = 8193;
pub const TCP_MAXSEG: ::c_int = 8194;
+pub const TCP_NOPUSH: ::c_int = 4;
+pub const TCP_NOOPT: ::c_int = 8;
+pub const TCP_KEEPIDLE: ::c_int = 256;
+pub const TCP_KEEPINTVL: ::c_int = 512;
+pub const TCP_KEEPCNT: ::c_int = 1024;
pub const IP_TOS: ::c_int = 3;
pub const IP_TTL: ::c_int = 8;