summaryrefslogtreecommitdiff
path: root/src/unix/uclibc
diff options
context:
space:
mode:
authorKelvin Ly <kelvin.ly1618@gmail.com>2017-07-31 16:17:39 -0400
committerKelvin Ly <kelvin.ly1618@gmail.com>2017-07-31 16:17:39 -0400
commit5b55e05b6095e1dd532f2dbfc191ecbffd6a56ec (patch)
treeb4860637cae0963beddc326af6cd621a87b6536e /src/unix/uclibc
parentc0bec4323461676b6d89ced98c8bf61dc81ad272 (diff)
downloadrust-libc-5b55e05b6095e1dd532f2dbfc191ecbffd6a56ec.tar.gz
Add IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP to uclibc
Diffstat (limited to 'src/unix/uclibc')
-rw-r--r--src/unix/uclibc/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/uclibc/mod.rs b/src/unix/uclibc/mod.rs
index 076ee41d04..fa5cc94e07 100644
--- a/src/unix/uclibc/mod.rs
+++ b/src/unix/uclibc/mod.rs
@@ -732,6 +732,9 @@ pub const IP_HDRINCL: ::c_int = 3;
pub const IP_ADD_MEMBERSHIP: ::c_int = 35;
pub const IP_DROP_MEMBERSHIP: ::c_int = 36;
+pub const IPV6_JOIN_GROUP: ::c_int = 20;
+pub const IPV6_LEAVE_GROUP: ::c_int = 21;
+
pub const TCP_NODELAY: ::c_int = 1;
pub const TCP_MAXSEG: ::c_int = 2;
pub const TCP_CORK: ::c_int = 3;