Move IpEndpoint to socket/ip/addr.rs

This commit is contained in:
Ruihan Li
2024-07-26 15:43:13 +08:00
committed by Tate, Hongliang Tian
parent b11628b9ce
commit d814603504
16 changed files with 69 additions and 55 deletions

View File

@ -15,9 +15,9 @@ use super::{
any_socket::{AnyBoundSocketInner, AnyRawSocket, AnyUnboundSocket, SocketFamily},
time::get_network_timestamp,
util::BindPortConfig,
AnyBoundSocket, Iface, Ipv4Address,
AnyBoundSocket, Iface,
};
use crate::prelude::*;
use crate::{net::socket::ip::Ipv4Address, prelude::*};
pub struct IfaceCommon {
interface: SpinLock<smoltcp::iface::Interface>,