summaryrefslogtreecommitdiff
path: root/src/unix/bsd/freebsdlike/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-11-27 21:15:10 +0000
committerbors <bors@rust-lang.org>2018-11-27 21:15:10 +0000
commitaf6e4fd2d258c23a33d78262784ff6f2248057f1 (patch)
treed3d2f81fe4092ef72d6c32719f5aa52e89ba2eb4 /src/unix/bsd/freebsdlike/mod.rs
parent8bd330a70f3ed2c8fbf93e2d3d31edefcbc9183d (diff)
parenta1fb747270b7abdb42c4bb5898d0ae368854ac80 (diff)
downloadrust-libc-af6e4fd2d258c23a33d78262784ff6f2248057f1.tar.gz
Auto merge of #1155 - semarie:openbsd-unbreak, r=gnzlbg
Openbsd unbreak - unbreak openbsd after #1128 - unbreak openbsd after #1151 - while here, add `KERN_CPUSTATS` and increment `KERN_MAXID` for openbsd
Diffstat (limited to 'src/unix/bsd/freebsdlike/mod.rs')
-rw-r--r--src/unix/bsd/freebsdlike/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/mod.rs b/src/unix/bsd/freebsdlike/mod.rs
index 5948a71fc7..30228640d4 100644
--- a/src/unix/bsd/freebsdlike/mod.rs
+++ b/src/unix/bsd/freebsdlike/mod.rs
@@ -669,6 +669,8 @@ pub const IPV6_LEAVE_GROUP: ::c_int = 13;
pub const IPV6_RECVPKTINFO: ::c_int = 36;
pub const IPV6_PKTINFO: ::c_int = 46;
+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;