diff options
author | leo60228 <iakornfeld@gmail.com> | 2019-05-09 19:10:38 -0400 |
---|---|---|
committer | leo60228 <iakornfeld@gmail.com> | 2019-05-09 19:10:38 -0400 |
commit | 5400c6e695ee30e687c9f2af26a2a29e4c6d697d (patch) | |
tree | 938d944d1f18d5eb957a1127df0462134417ac34 /src/unix/newlib/mod.rs | |
parent | 75df0e19eb27b96e74a1954537279a234507633c (diff) | |
download | rust-libc-5400c6e695ee30e687c9f2af26a2a29e4c6d697d.tar.gz |
Add more FreeBSD TCP_ constants
Diffstat (limited to 'src/unix/newlib/mod.rs')
-rw-r--r-- | src/unix/newlib/mod.rs | 5 |
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; |