File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1442,6 +1442,7 @@ impl Socket {
1442
1442
target_os = "openbsd" ,
1443
1443
target_os = "redox" ,
1444
1444
target_os = "solaris" ,
1445
+ target_os = "haiku" ,
1445
1446
) ) ) ]
1446
1447
pub fn set_recv_tos ( & self , recv_tos : bool ) -> io:: Result < ( ) > {
1447
1448
unsafe {
@@ -1467,6 +1468,7 @@ impl Socket {
1467
1468
target_os = "openbsd" ,
1468
1469
target_os = "redox" ,
1469
1470
target_os = "solaris" ,
1471
+ target_os = "haiku" ,
1470
1472
) ) ) ]
1471
1473
pub fn recv_tos ( & self ) -> io:: Result < bool > {
1472
1474
unsafe {
@@ -1679,6 +1681,7 @@ impl Socket {
1679
1681
target_os = "openbsd" ,
1680
1682
target_os = "redox" ,
1681
1683
target_os = "solaris" ,
1684
+ target_os = "haiku" ,
1682
1685
) ) ) ]
1683
1686
pub fn recv_tclass_v6 ( & self ) -> io:: Result < bool > {
1684
1687
unsafe {
@@ -1700,6 +1703,7 @@ impl Socket {
1700
1703
target_os = "openbsd" ,
1701
1704
target_os = "redox" ,
1702
1705
target_os = "solaris" ,
1706
+ target_os = "haiku" ,
1703
1707
) ) ) ]
1704
1708
pub fn set_recv_tclass_v6 ( & self , recv_tclass : bool ) -> io:: Result < ( ) > {
1705
1709
unsafe {
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ pub(crate) use libc::{MSG_TRUNC, SO_OOBINLINE};
84
84
target_os = "openbsd" ,
85
85
target_os = "redox" ,
86
86
target_os = "solaris" ,
87
+ target_os = "haiku" ,
87
88
) ) ) ]
88
89
pub ( crate ) use libc:: IPV6_RECVTCLASS ;
89
90
#[ cfg( all( feature = "all" , not( target_os = "redox" ) ) ) ]
@@ -96,6 +97,7 @@ pub(crate) use libc::IP_HDRINCL;
96
97
target_os = "openbsd" ,
97
98
target_os = "redox" ,
98
99
target_os = "solaris" ,
100
+ target_os = "haiku" ,
99
101
) ) ) ]
100
102
pub ( crate ) use libc:: IP_RECVTOS ;
101
103
#[ cfg( not( any(
You can’t perform that action at this time.
0 commit comments