Home
last modified time | relevance | path

Searched defs:SocketAddrV4 (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/rust/library/core/src/net/
Dsocket_addr.rs68 pub struct SocketAddrV4 { struct
69 ip: Ipv4Addr,
70 port: u16,
264 impl SocketAddrV4 { implementation
280 pub const fn new(ip: Ipv4Addr, port: u16) -> SocketAddrV4 { in new()
589 impl fmt::Display for SocketAddrV4 { implementation
608 impl fmt::Debug for SocketAddrV4 { implementation
649 impl PartialOrd for SocketAddrV4 { implementation
665 impl Ord for SocketAddrV4 { implementation
681 impl hash::Hash for SocketAddrV4 { implementation
Dparser.rs245 fn read_socket_addr_v4(&mut self) -> Option<SocketAddrV4> { in read_socket_addr_v4()
359 impl SocketAddrV4 { impl
378 impl FromStr for SocketAddrV4 { implementation
380 fn from_str(s: &str) -> Result<SocketAddrV4, AddrParseError> { in from_str()
/third_party/rust/crates/rustix/src/net/
Daddr.rs76 pub struct SocketAddrV4 { struct
77 ip: Ipv4Addr,
78 port: u16,
280 impl SocketAddrV4 { implementation
298 pub const fn new(ip: Ipv4Addr, port: u16) -> SocketAddrV4 { in new()
601 impl PartialOrd for SocketAddrV4 { implementation
615 impl Ord for SocketAddrV4 { implementation
633 impl hash::Hash for SocketAddrV4 { implementation
Dsend_recv.rs156 addr: &SocketAddrV4, in sendto_v4()
/third_party/rust/rust/library/std/src/net/
Dsocket_addr.rs19 impl FromInner<c::sockaddr_in> for SocketAddrV4 { implementation
20 fn from_inner(addr: c::sockaddr_in) -> SocketAddrV4 { in from_inner()
36 impl IntoInner<c::sockaddr_in> for SocketAddrV4 { implementation
194 impl ToSocketAddrs for SocketAddrV4 { implementation
/third_party/rust/crates/rustix/src/backend/libc/net/
Dwrite_sockaddr.rs46 unsafe fn write_sockaddr_v4(v4: &SocketAddrV4, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_v4()
Dsyscalls.rs88 addr: &SocketAddrV4, in sendto_v4()
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
Dwrite_sockaddr.rs31 unsafe fn write_sockaddr_v4(v4: &SocketAddrV4, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_v4()
Dsyscalls.rs308 addr: &SocketAddrV4, in sendto_v4()
/third_party/rust/crates/serde/serde/src/ser/
Dimpls.rs915 impl Serialize for net::SocketAddrV4 { implementation
/third_party/rust/crates/nix/src/sys/socket/
Daddr.rs1390 impl From<SockaddrIn> for net::SocketAddrV4 { implementation