Skip to content

Commit 233941e

Browse files
author
Vasily Kolobkov
committed
Add IP v6 group membership options to OpenBSD build
Add IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP sockopt constants.
1 parent 9f99d74 commit 233941e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/bsd/openbsdlike/openbsd.rs

Lines changed: 3 additions & 0 deletions
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)