From da16adf57baf61a17fc35c71d9fa65f2c45a657e Mon Sep 17 00:00:00 2001 From: Bryan Donlan Date: Thu, 9 Jul 2020 19:02:29 +0000 Subject: [PATCH] Expose IP_FREEBIND constant for linux --- src/unix/linux_like/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/linux_like/mod.rs b/src/unix/linux_like/mod.rs index f25c7c0e3aa9c..776ae5ee5c531 100644 --- a/src/unix/linux_like/mod.rs +++ b/src/unix/linux_like/mod.rs @@ -778,6 +778,7 @@ pub const IP_PKTINFO: ::c_int = 8; pub const IP_MTU_DISCOVER: ::c_int = 10; pub const IP_RECVTOS: ::c_int = 13; pub const IP_RECVERR: ::c_int = 11; +pub const IP_FREEBIND: ::c_int = 15; pub const IP_ADD_MEMBERSHIP: ::c_int = 35; pub const IP_DROP_MEMBERSHIP: ::c_int = 36; pub const IP_ADD_SOURCE_MEMBERSHIP: ::c_int = 39;