Home
last modified time | relevance | path

Searched refs:IpAddr (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/
H A Daddr.rs15 use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6};
106 impl ToSocketAddrs for (IpAddr, u16) {
112 IpAddr::V4(ip_type) => (ip_type, port).to_socket_addrs(), in to_socket_addrs()
113 IpAddr::V6(ip_type) => (ip_type, port).to_socket_addrs(), in to_socket_addrs()
204 use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr};
297 let addr_str = (IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)), 8080); in ut_to_socket_addrs_ipaddr_u16()
306 let addr_str = (IpAddr::V6(Ipv6Addr::new(0, 0, 0, 0, 0, 0, 0, 1)), 8080); in ut_to_socket_addrs_ipaddr_u16()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dproxy.rs17 use std::net::IpAddr;
184 Address(IpAddr),
211 match address.host().unwrap().as_str().parse::<IpAddr>() { in from_str()
223 match proxy_host.parse::<IpAddr>() { in contain()
229 fn contains_ip(&self, ip: IpAddr) -> bool { in contains_ip()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Dx509.rs17 use std::net::IpAddr;
257 pub(crate) fn set_ip(&mut self, ip_addr: IpAddr) -> Result<(), ErrorStack> { in set_ip()
260 IpAddr::V4(addr) => { in set_ip()
264 IpAddr::V6(addr) => { in set_ip()
H A Dadapter.rs14 use std::net::IpAddr;
474 if self.use_sni && domain.parse::<IpAddr>().is_err() { in ssl_new()
/ohos5.0/foundation/communication/dsoftbus/interfaces/kits/common/
H A Dsoftbus_common.h292 struct IpAddr { struct
/ohos5.0/foundation/communication/dsoftbus/
H A DREADME_zh.md145 struct IpAddr {
H A DREADME.md139 struct IpAddr {