Searched defs:SocketAddrAny (Results 1 – 9 of 9) sorted by relevance
/third_party/rust/crates/rustix/src/net/ |
D | socket_addr_any.rs | 25 pub enum SocketAddrAny { enum 35 impl From<SocketAddrV4> for SocketAddrAny { implementation 42 impl From<SocketAddrV6> for SocketAddrAny { implementation 50 impl From<SocketAddrUnix> for SocketAddrAny { implementation 57 impl SocketAddrAny { implementation 94 impl fmt::Debug for SocketAddrAny { implementation
|
D | socket.rs | 366 pub fn acceptfrom<Fd: AsFd>(sockfd: Fd) -> io::Result<(OwnedFd, Option<SocketAddrAny>)> { in acceptfrom() 387 ) -> io::Result<(OwnedFd, Option<SocketAddrAny>)> { in acceptfrom_with() 421 pub fn getsockname<Fd: AsFd>(sockfd: Fd) -> io::Result<SocketAddrAny> { in getsockname() 439 pub fn getpeername<Fd: AsFd>(sockfd: Fd) -> io::Result<Option<SocketAddrAny>> { in getpeername()
|
D | send_recv.rs | 63 ) -> io::Result<(usize, Option<SocketAddrAny>)> { in recvfrom() 118 addr: &SocketAddrAny, in sendto_any() 127 addr: &SocketAddrAny, in _sendto_any()
|
/third_party/rust/crates/rustix/src/backend/libc/net/ |
D | read_sockaddr.rs | 97 ) -> io::Result<SocketAddrAny> { in read_sockaddr() 177 ) -> Option<SocketAddrAny> { in maybe_read_sockaddr_os() 194 ) -> SocketAddrAny { in read_sockaddr_os() 204 ) -> SocketAddrAny { in inner_read_sockaddr_os()
|
D | syscalls.rs | 58 ) -> io::Result<(usize, Option<SocketAddrAny>)> { in recvfrom() 274 pub(crate) fn acceptfrom(sockfd: BorrowedFd<'_>) -> io::Result<(OwnedFd, Option<SocketAddrAny>)> { in acceptfrom() 301 ) -> io::Result<(OwnedFd, Option<SocketAddrAny>)> { in acceptfrom_with() 331 ) -> io::Result<(OwnedFd, Option<SocketAddrAny>)> { in acceptfrom_with() 341 pub(crate) fn getsockname(sockfd: BorrowedFd<'_>) -> io::Result<SocketAddrAny> { in getsockname() 355 pub(crate) fn getpeername(sockfd: BorrowedFd<'_>) -> io::Result<Option<SocketAddrAny>> { in getpeername()
|
D | write_sockaddr.rs | 13 addr: &SocketAddrAny, in write_sockaddr()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/net/ |
D | read_sockaddr.rs | 55 ) -> io::Result<SocketAddrAny> { in read_sockaddr() 116 ) -> Option<SocketAddrAny> { in maybe_read_sockaddr_os() 129 pub(crate) unsafe fn read_sockaddr_os(storage: *const c::sockaddr, len: usize) -> SocketAddrAny { in read_sockaddr_os()
|
D | write_sockaddr.rs | 10 addr: &SocketAddrAny, in write_sockaddr()
|
D | syscalls.rs | 164 pub(crate) fn acceptfrom(fd: BorrowedFd<'_>) -> io::Result<(OwnedFd, Option<SocketAddrAny>)> { in acceptfrom() 204 ) -> io::Result<(OwnedFd, Option<SocketAddrAny>)> { in acceptfrom_with() 468 ) -> io::Result<(usize, Option<SocketAddrAny>)> { in recvfrom() 512 pub(crate) fn getpeername(fd: BorrowedFd<'_>) -> io::Result<Option<SocketAddrAny>> { in getpeername() 549 pub(crate) fn getsockname(fd: BorrowedFd<'_>) -> io::Result<SocketAddrAny> { in getsockname()
|