File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1442,6 +1442,7 @@ impl Socket {
14421442 target_os = "openbsd" ,
14431443 target_os = "redox" ,
14441444 target_os = "solaris" ,
1445+ target_os = "haiku" ,
14451446 ) ) ) ]
14461447 pub fn set_recv_tos ( & self , recv_tos : bool ) -> io:: Result < ( ) > {
14471448 unsafe {
@@ -1467,6 +1468,7 @@ impl Socket {
14671468 target_os = "openbsd" ,
14681469 target_os = "redox" ,
14691470 target_os = "solaris" ,
1471+ target_os = "haiku" ,
14701472 ) ) ) ]
14711473 pub fn recv_tos ( & self ) -> io:: Result < bool > {
14721474 unsafe {
@@ -1679,6 +1681,7 @@ impl Socket {
16791681 target_os = "openbsd" ,
16801682 target_os = "redox" ,
16811683 target_os = "solaris" ,
1684+ target_os = "haiku" ,
16821685 ) ) ) ]
16831686 pub fn recv_tclass_v6 ( & self ) -> io:: Result < bool > {
16841687 unsafe {
@@ -1700,6 +1703,7 @@ impl Socket {
17001703 target_os = "openbsd" ,
17011704 target_os = "redox" ,
17021705 target_os = "solaris" ,
1706+ target_os = "haiku" ,
17031707 ) ) ) ]
17041708 pub fn set_recv_tclass_v6 ( & self , recv_tclass : bool ) -> io:: Result < ( ) > {
17051709 unsafe {
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ pub(crate) use libc::{MSG_TRUNC, SO_OOBINLINE};
8484 target_os = "openbsd" ,
8585 target_os = "redox" ,
8686 target_os = "solaris" ,
87+ target_os = "haiku" ,
8788) ) ) ]
8889pub ( crate ) use libc:: IPV6_RECVTCLASS ;
8990#[ cfg( all( feature = "all" , not( target_os = "redox" ) ) ) ]
@@ -96,6 +97,7 @@ pub(crate) use libc::IP_HDRINCL;
9697 target_os = "openbsd" ,
9798 target_os = "redox" ,
9899 target_os = "solaris" ,
100+ target_os = "haiku" ,
99101) ) ) ]
100102pub ( crate ) use libc:: IP_RECVTOS ;
101103#[ cfg( not( any(
You can’t perform that action at this time.
0 commit comments