Skip to content

Commit

Permalink
Merge pull request rust-lang#1835 from bdonlan/freebind
Browse files Browse the repository at this point in the history
Expose IP_FREEBIND constant for linux
  • Loading branch information
JohnTitor authored Jul 24, 2020
2 parents b2e250e + da16adf commit 83c3044
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/linux_like/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 83c3044

Please sign in to comment.