summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Lundberg <johalun0@gmail.com>2018-09-10 09:41:18 +0100
committerJohannes Lundberg <johalun0@gmail.com>2018-09-10 09:41:18 +0100
commit2f218e9f8cef20d5aaa4d300c0605d47a06dc658 (patch)
tree8ab5f0e6fb42a5a5576c4719f37e5274883f7bae
parentcaee85653eda45f67849161ec0d3052ccb2e3722 (diff)
downloadrust-libc-2f218e9f8cef20d5aaa4d300c0605d47a06dc658.tar.gz
Add new FreeBSD socket option SO_REUSEPORT_LB.
-rw-r--r--src/unix/bsd/freebsdlike/freebsd/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs
index a64dbc468f..846d095cfe 100644
--- a/src/unix/bsd/freebsdlike/freebsd/mod.rs
+++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -457,6 +457,7 @@ pub const JAIL_SYS_INHERIT: ::c_int = 2;
pub const SO_BINTIME: ::c_int = 0x2000;
pub const SO_NO_OFFLOAD: ::c_int = 0x4000;
pub const SO_NO_DDP: ::c_int = 0x8000;
+pub const SO_REUSEPORT_LB: ::c_int = 0x10000;
pub const SO_LABEL: ::c_int = 0x1009;
pub const SO_PEERLABEL: ::c_int = 0x1010;
pub const SO_LISTENQLIMIT: ::c_int = 0x1011;