Skip to content

Commit 5941675

Browse files
committed
Merge pull request rust-lang#154 from polezaivsani/openbsd_sockgrpopt
Add IP v6 group membership options to OpenBSD build
2 parents 9f99d74 + 233941e commit 5941675

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/unix/bsd/openbsdlike/openbsd.rs

+3
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ pub const RLIM_NLIMITS: ::c_int = 9;
134134
pub const SO_SNDTIMEO: ::c_int = 0x1005;
135135
pub const SO_RCVTIMEO: ::c_int = 0x1006;
136136

137+
pub const IPV6_JOIN_GROUP: ::c_int = 12;
138+
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
139+
137140
pub const KERN_PROC : ::c_int = 66;
138141
pub const O_DSYNC : ::c_int = 128;
139142

0 commit comments

Comments
 (0)