diff options
| author | Kevin Mehall <km@kevinmehall.net> | 2015-05-05 23:50:11 +0000 |
|---|---|---|
| committer | Kevin Mehall <km@kevinmehall.net> | 2015-05-05 23:54:45 +0000 |
| commit | 6c6b20031c80c8e30b8c4edc36f136b682534de6 (patch) | |
| tree | 5331e721270987dde8e2cda08f69b797aa11ce24 /src/liblibc | |
| parent | dff7676b7dc47505bb5d01d7ae4233d6c68bf694 (diff) | |
| download | rust-6c6b20031c80c8e30b8c4edc36f136b682534de6.tar.gz rust-6c6b20031c80c8e30b8c4edc36f136b682534de6.zip | |
Add TCP_* constants for mips/mipsel Linux
PR #24611 added these for other architectures, but missed the `#[cfg(any(target_arch = "mips", target_arch = "mipsel"))]` version of the module. The values are the same.
Diffstat (limited to 'src/liblibc')
| -rw-r--r-- | src/liblibc/lib.rs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index 999e7c643e5..b5d885f46b3 100644 --- a/src/liblibc/lib.rs +++ b/src/liblibc/lib.rs @@ -3624,6 +3624,30 @@ pub mod consts { pub const IPV6_DROP_MEMBERSHIP: c_int = 21; pub const TCP_NODELAY: c_int = 1; + pub const TCP_MAXSEG: c_int = 2; + pub const TCP_CORK: c_int = 3; + pub const TCP_KEEPIDLE: c_int = 4; + pub const TCP_KEEPINTVL: c_int = 5; + pub const TCP_KEEPCNT: c_int = 6; + pub const TCP_SYNCNT: c_int = 7; + pub const TCP_LINGER2: c_int = 8; + pub const TCP_DEFER_ACCEPT: c_int = 9; + pub const TCP_WINDOW_CLAMP: c_int = 10; + pub const TCP_INFO: c_int = 11; + pub const TCP_QUICKACK: c_int = 12; + pub const TCP_CONGESTION: c_int = 13; + pub const TCP_MD5SIG: c_int = 14; + pub const TCP_COOKIE_TRANSACTIONS: c_int = 15; + pub const TCP_THIN_LINEAR_TIMEOUTS: c_int = 16; + pub const TCP_THIN_DUPACK: c_int = 17; + pub const TCP_USER_TIMEOUT: c_int = 18; + pub const TCP_REPAIR: c_int = 19; + pub const TCP_REPAIR_QUEUE: c_int = 20; + pub const TCP_QUEUE_SEQ: c_int = 21; + pub const TCP_REPAIR_OPTIONS: c_int = 22; + pub const TCP_FASTOPEN: c_int = 23; + pub const TCP_TIMESTAMP: c_int = 24; + pub const SOL_SOCKET: c_int = 65535; pub const SO_DEBUG: c_int = 0x0001; |
