diff options
author | bors <bors@rust-lang.org> | 2018-11-27 21:15:10 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2018-11-27 21:15:10 +0000 |
commit | af6e4fd2d258c23a33d78262784ff6f2248057f1 (patch) | |
tree | d3d2f81fe4092ef72d6c32719f5aa52e89ba2eb4 /src/unix/bsd/freebsdlike/mod.rs | |
parent | 8bd330a70f3ed2c8fbf93e2d3d31edefcbc9183d (diff) | |
parent | a1fb747270b7abdb42c4bb5898d0ae368854ac80 (diff) | |
download | rust-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.rs | 2 |
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; |