@@ -14,23 +14,20 @@ use crate::io;
1414use crate :: net:: sockopt:: Timeout ;
1515#[ cfg( target_os = "linux" ) ]
1616use crate :: net:: xdp:: { XdpMmapOffsets , XdpOptionsFlags , XdpRingOffset , XdpStatistics , XdpUmemReg } ;
17- use crate :: net:: SocketAddrBuf ;
1817use crate :: net:: {
19- AddressFamily , Ipv4Addr , Ipv6Addr , Protocol , RawProtocol , SocketAddrV4 , SocketAddrV6 ,
20- SocketType , UCred ,
18+ AddressFamily , Ipv4Addr , Ipv6Addr , Protocol , RawProtocol , SocketAddrBuf , SocketAddrV4 ,
19+ SocketAddrV6 , SocketType , UCred ,
2120} ;
2221#[ cfg( feature = "alloc" ) ]
2322use alloc:: borrow:: ToOwned ;
2423#[ cfg( feature = "alloc" ) ]
2524use alloc:: string:: String ;
2625use core:: mem:: MaybeUninit ;
2726use core:: time:: Duration ;
27+ use linux_raw_sys:: general:: { __kernel_old_timeval, __kernel_sock_timeval} ;
28+ use linux_raw_sys:: net:: { IPV6_MTU , IPV6_MULTICAST_IF , IP_MTU , IP_MULTICAST_IF } ;
2829#[ cfg( target_os = "linux" ) ]
2930use linux_raw_sys:: xdp:: { xdp_mmap_offsets, xdp_statistics, xdp_statistics_v1} ;
30- use linux_raw_sys:: {
31- general:: { __kernel_old_timeval, __kernel_sock_timeval} ,
32- net:: { IPV6_MTU , IPV6_MULTICAST_IF , IP_MTU , IP_MULTICAST_IF } ,
33- } ;
3431#[ cfg( target_arch = "x86" ) ]
3532use {
3633 crate :: backend:: conv:: { slice_just_addr, x86_sys} ,
0 commit comments