File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -543,15 +543,19 @@ pub enum ControlMessageOwned {
543
543
target_os = "android" ,
544
544
target_os = "ios" ,
545
545
target_os = "linux" ,
546
- target_os = "macos"
546
+ target_os = "macos" ,
547
+ target_os = "netbsd" ,
547
548
) ) ]
548
549
Ipv4PacketInfo ( libc:: in_pktinfo ) ,
549
550
#[ cfg( any(
550
551
target_os = "android" ,
552
+ target_os = "dragonfly" ,
551
553
target_os = "freebsd" ,
552
554
target_os = "ios" ,
553
555
target_os = "linux" ,
554
- target_os = "macos"
556
+ target_os = "macos" ,
557
+ target_os = "openbsd" ,
558
+ target_os = "netbsd" ,
555
559
) ) ]
556
560
Ipv6PacketInfo ( libc:: in6_pktinfo ) ,
557
561
#[ cfg( any(
@@ -625,7 +629,8 @@ impl ControlMessageOwned {
625
629
target_os = "android" ,
626
630
target_os = "ios" ,
627
631
target_os = "linux" ,
628
- target_os = "macos"
632
+ target_os = "macos" ,
633
+ target_os = "netbsd" ,
629
634
) ) ]
630
635
( libc:: IPPROTO_IP , libc:: IP_PKTINFO ) => {
631
636
let info = ptr:: read_unaligned ( p as * const libc:: in_pktinfo ) ;
You can’t perform that action at this time.
0 commit comments