SYMBOL INDEX (574 symbols across 7 files) FILE: src/lib.rs type Domain (line 218) | pub struct Domain(c_int); constant IPV4 (line 222) | pub const IPV4: Domain = Domain(sys::AF_INET); constant IPV6 (line 225) | pub const IPV6: Domain = Domain(sys::AF_INET6); constant UNIX (line 229) | pub const UNIX: Domain = Domain(sys::AF_UNIX); method for_address (line 232) | pub const fn for_address(address: SocketAddr) -> Domain { method from (line 241) | fn from(d: c_int) -> Domain { method from (line 247) | fn from(d: Domain) -> c_int { type Type (line 262) | pub struct Type(c_int); constant STREAM (line 268) | pub const STREAM: Type = Type(sys::SOCK_STREAM); constant DGRAM (line 273) | pub const DGRAM: Type = Type(sys::SOCK_DGRAM); constant DCCP (line 279) | pub const DCCP: Type = Type(sys::SOCK_DCCP); constant SEQPACKET (line 286) | pub const SEQPACKET: Type = Type(sys::SOCK_SEQPACKET); constant RAW (line 298) | pub const RAW: Type = Type(sys::SOCK_RAW); method from (line 302) | fn from(t: c_int) -> Type { method from (line 308) | fn from(t: Type) -> c_int { type Protocol (line 321) | pub struct Protocol(c_int); constant ICMPV4 (line 326) | pub const ICMPV4: Protocol = Protocol(sys::IPPROTO_ICMP); constant ICMPV6 (line 330) | pub const ICMPV6: Protocol = Protocol(sys::IPPROTO_ICMPV6); constant TCP (line 333) | pub const TCP: Protocol = Protocol(sys::IPPROTO_TCP); constant UDP (line 336) | pub const UDP: Protocol = Protocol(sys::IPPROTO_UDP); constant MPTCP (line 340) | pub const MPTCP: Protocol = Protocol(sys::IPPROTO_MPTCP); constant DCCP (line 344) | pub const DCCP: Protocol = Protocol(sys::IPPROTO_DCCP); constant SCTP (line 348) | pub const SCTP: Protocol = Protocol(sys::IPPROTO_SCTP); constant UDPLITE (line 360) | pub const UDPLITE: Protocol = Protocol(sys::IPPROTO_UDPLITE); constant DIVERT (line 364) | pub const DIVERT: Protocol = Protocol(sys::IPPROTO_DIVERT); method from (line 368) | fn from(p: c_int) -> Protocol { method from (line 374) | fn from(p: Protocol) -> c_int { type RecvFlags (line 384) | pub struct RecvFlags(c_int); method is_truncated (line 396) | pub const fn is_truncated(self) -> bool { type MaybeUninitSlice (line 405) | pub struct MaybeUninitSlice<'a>(sys::MaybeUninitSlice<'a>); function fmt (line 408) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { function new (line 419) | pub fn new(buf: &'a mut [MaybeUninit]) -> MaybeUninitSlice<'a> { type Target (line 425) | type Target = [MaybeUninit]; method deref (line 427) | fn deref(&self) -> &[MaybeUninit] { method deref_mut (line 433) | fn deref_mut(&mut self) -> &mut [MaybeUninit] { type TcpKeepalive (line 442) | pub struct TcpKeepalive { method new (line 475) | pub const fn new() -> TcpKeepalive { method with_time (line 514) | pub const fn with_time(self, time: Duration) -> Self { method with_interval (line 545) | pub const fn with_interval(self, interval: Duration) -> Self { method with_retries (line 576) | pub const fn with_retries(self, retries: u32) -> Self { type MsgHdr (line 590) | pub struct MsgHdr<'addr, 'bufs, 'control> { function new (line 600) | pub fn new() -> MsgHdr<'addr, 'bufs, 'control> { function with_addr (line 612) | pub fn with_addr(mut self, addr: &'addr SockAddr) -> Self { function with_buffers (line 621) | pub fn with_buffers(mut self, bufs: &'bufs [IoSlice<'_>]) -> Self { function with_control (line 631) | pub fn with_control(mut self, buf: &'control [u8]) -> Self { function with_flags (line 640) | pub fn with_flags(mut self, flags: sys::c_int) -> Self { function fmt (line 648) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { type MsgHdrMut (line 662) | pub struct MsgHdrMut<'addr, 'bufs, 'control> { function new (line 676) | pub fn new() -> MsgHdrMut<'addr, 'bufs, 'control> { function with_addr (line 689) | pub fn with_addr(mut self, addr: &'addr mut SockAddr) -> Self { function with_buffers (line 698) | pub fn with_buffers(mut self, bufs: &'bufs mut [MaybeUninitSlice<'_>]) -... function with_control (line 707) | pub fn with_control(mut self, buf: &'control mut [MaybeUninit]) -> S... function flags (line 713) | pub fn flags(&self) -> RecvFlags { function control_len (line 722) | pub fn control_len(&self) -> usize { function fmt (line 729) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/sockaddr.rs type socklen_t (line 18) | pub type socklen_t = crate::sys::socklen_t; type sa_family_t (line 22) | pub type sa_family_t = crate::sys::sa_family_t; type SockAddrStorage (line 32) | pub struct SockAddrStorage { method zeroed (line 39) | pub fn zeroed() -> Self { method size_of (line 46) | pub fn size_of(&self) -> socklen_t { method view_as (line 73) | pub unsafe fn view_as(&mut self) -> &mut T { method fmt (line 82) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type SockAddr (line 94) | pub struct SockAddr { method new (line 145) | pub const unsafe fn new(storage: SockAddrStorage, len: socklen_t) -> S... method try_init (line 197) | pub unsafe fn try_init(init: F) -> io::Result<(T, SockAddr)> method unix (line 219) | pub fn unix

(path: P) -> io::Result method set_length (line 232) | pub unsafe fn set_length(&mut self, length: socklen_t) { method family (line 237) | pub const fn family(&self) -> sa_family_t { method domain (line 242) | pub const fn domain(&self) -> Domain { method len (line 247) | pub const fn len(&self) -> socklen_t { method as_ptr (line 252) | pub const fn as_ptr(&self) -> *const SockAddrStorage { method as_storage (line 257) | pub const fn as_storage(self) -> SockAddrStorage { method is_ipv4 (line 264) | pub const fn is_ipv4(&self) -> bool { method is_ipv6 (line 270) | pub const fn is_ipv6(&self) -> bool { method is_unix (line 277) | pub fn is_unix(&self) -> bool { method as_socket (line 283) | pub fn as_socket(&self) -> Option { method as_socket_ipv4 (line 315) | pub fn as_socket_ipv4(&self) -> Option { method as_socket_ipv6 (line 324) | pub fn as_socket_ipv6(&self) -> Option { method as_bytes (line 332) | fn as_bytes(&self) -> &[u8] { method from (line 341) | fn from(addr: SocketAddr) -> SockAddr { method from (line 350) | fn from(addr: SocketAddrV4) -> SockAddr { method from (line 387) | fn from(addr: SocketAddrV6) -> SockAddr { method fmt (line 431) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { method eq (line 456) | fn eq(&self, other: &Self) -> bool { method hash (line 464) | fn hash(&self, state: &mut H) { function ipv4 (line 474) | fn ipv4() { function ipv6 (line 503) | fn ipv6() { function ipv4_eq (line 532) | fn ipv4_eq() { function ipv4_hash (line 546) | fn ipv4_hash() { function ipv6_eq (line 560) | fn ipv6_eq() { function ipv6_hash (line 574) | fn ipv6_hash() { function ipv4_ipv6_eq (line 588) | fn ipv4_ipv6_eq() { function ipv4_ipv6_hash (line 609) | fn ipv4_ipv6_hash() { function test_eq (line 630) | fn test_eq(a0: SockAddr, a1: SockAddr, b: SockAddr) { function test_hash (line 638) | fn test_hash(a0: SockAddr, a1: SockAddr, b: SockAddr) { function calculate_hash (line 645) | fn calculate_hash(x: &SockAddr) -> u64 { FILE: src/socket.rs type Socket (line 75) | pub struct Socket { method from_raw (line 86) | pub(crate) fn from_raw(raw: sys::RawSocket) -> Socket { method as_raw (line 96) | pub(crate) fn as_raw(&self) -> sys::RawSocket { method into_raw (line 100) | pub(crate) fn into_raw(self) -> sys::RawSocket { method new (line 115) | pub fn new(domain: Domain, ty: Type, protocol: Option) -> io... method new_raw (line 124) | pub fn new_raw(domain: Domain, ty: Type, protocol: Option) -... method pair (line 137) | pub fn pair( method pair_raw (line 153) | pub fn pair_raw( method bind (line 168) | pub fn bind(&self, address: &SockAddr) -> io::Result<()> { method connect (line 192) | pub fn connect(&self, address: &SockAddr) -> io::Result<()> { method connect_timeout (line 215) | pub fn connect_timeout(&self, addr: &SockAddr, timeout: Duration) -> i... method listen (line 240) | pub fn listen(&self, backlog: c_int) -> io::Result<()> { method accept (line 259) | pub fn accept(&self) -> io::Result<(Socket, SockAddr)> { method accept_raw (line 301) | pub fn accept_raw(&self) -> io::Result<(Socket, SockAddr)> { method local_addr (line 317) | pub fn local_addr(&self) -> io::Result { method peer_addr (line 332) | pub fn peer_addr(&self) -> io::Result { method r#type (line 338) | pub fn r#type(&self) -> io::Result { method try_clone (line 356) | pub fn try_clone(&self) -> io::Result { method nonblocking (line 372) | pub fn nonblocking(&self) -> io::Result { method set_nonblocking (line 384) | pub fn set_nonblocking(&self, nonblocking: bool) -> io::Result<()> { method shutdown (line 393) | pub fn shutdown(&self, how: Shutdown) -> io::Result<()> { method recv (line 418) | pub fn recv(&self, buf: &mut [MaybeUninit]) -> io::Result { method recv_out_of_band (line 431) | pub fn recv_out_of_band(&self, buf: &mut [MaybeUninit]) -> io::Res... method recv_with_flags (line 439) | pub fn recv_with_flags( method recv_vectored (line 474) | pub fn recv_vectored( method recv_vectored_with_flags (line 493) | pub fn recv_vectored_with_flags( method peek (line 514) | pub fn peek(&self, buf: &mut [MaybeUninit]) -> io::Result { method recv_from (line 528) | pub fn recv_from(&self, buf: &mut [MaybeUninit]) -> io::Result<(us... method recv_from_with_flags (line 536) | pub fn recv_from_with_flags( method recv_from_vectored (line 558) | pub fn recv_from_vectored( method recv_from_vectored_with_flags (line 577) | pub fn recv_from_vectored_with_flags( method peek_from (line 614) | pub fn peek_from(&self, buf: &mut [MaybeUninit]) -> io::Result<(us... method peek_sender (line 624) | pub fn peek_sender(&self) -> io::Result { method recvmsg (line 636) | pub fn recvmsg(&self, msg: &mut MsgHdrMut<'_, '_, '_>, flags: sys::c_i... method send (line 647) | pub fn send(&self, buf: &[u8]) -> io::Result { method send_with_flags (line 655) | pub fn send_with_flags(&self, buf: &[u8], flags: c_int) -> io::Result<... method send_vectored (line 661) | pub fn send_vectored(&self, bufs: &[IoSlice<'_>]) -> io::Result { method send_vectored_with_flags (line 671) | pub fn send_vectored_with_flags( method send_out_of_band (line 688) | pub fn send_out_of_band(&self, buf: &[u8]) -> io::Result { method send_to (line 697) | pub fn send_to(&self, buf: &[u8], addr: &SockAddr) -> io::Result { method send_to_with_flags (line 705) | pub fn send_to_with_flags( method send_to_vectored (line 718) | pub fn send_to_vectored(&self, bufs: &[IoSlice<'_>], addr: &SockAddr) ... method send_to_vectored_with_flags (line 727) | pub fn send_to_vectored_with_flags( method sendmsg (line 739) | pub fn sendmsg(&self, msg: &MsgHdr<'_, '_, '_>, flags: sys::c_int) -> ... method broadcast (line 878) | pub fn broadcast(&self) -> io::Result { method set_broadcast (line 889) | pub fn set_broadcast(&self, broadcast: bool) -> io::Result<()> { method take_error (line 905) | pub fn take_error(&self) -> io::Result> { method keepalive (line 918) | pub fn keepalive(&self) -> io::Result { method set_keepalive (line 928) | pub fn set_keepalive(&self, keepalive: bool) -> io::Result<()> { method linger (line 944) | pub fn linger(&self) -> io::Result> { method set_linger (line 965) | pub fn set_linger(&self, linger: Option) -> io::Result<()> { method out_of_band_inline (line 976) | pub fn out_of_band_inline(&self) -> io::Result { method set_out_of_band_inline (line 990) | pub fn set_out_of_band_inline(&self, oob_inline: bool) -> io::Result<(... method passcred (line 1007) | pub fn passcred(&self) -> io::Result { method set_passcred (line 1019) | pub fn set_passcred(&self, passcred: bool) -> io::Result<()> { method priority (line 1039) | pub fn priority(&self) -> io::Result { method set_priority (line 1054) | pub fn set_priority(&self, priority: u32) -> io::Result<()> { method recv_buffer_size (line 1070) | pub fn recv_buffer_size(&self) -> io::Result { method set_recv_buffer_size (line 1081) | pub fn set_recv_buffer_size(&self, size: usize) -> io::Result<()> { method read_timeout (line 1096) | pub fn read_timeout(&self) -> io::Result> { method set_read_timeout (line 1104) | pub fn set_read_timeout(&self, duration: Option) -> io::Resu... method reuse_address (line 1113) | pub fn reuse_address(&self) -> io::Result { method set_reuse_address (line 1125) | pub fn set_reuse_address(&self, reuse: bool) -> io::Result<()> { method send_buffer_size (line 1141) | pub fn send_buffer_size(&self) -> io::Result { method set_send_buffer_size (line 1152) | pub fn set_send_buffer_size(&self, size: usize) -> io::Result<()> { method write_timeout (line 1167) | pub fn write_timeout(&self) -> io::Result> { method set_write_timeout (line 1175) | pub fn set_write_timeout(&self, duration: Option) -> io::Res... method header_included_v4 (line 1221) | pub fn header_included_v4(&self) -> io::Result { method set_header_included_v4 (line 1252) | pub fn set_header_included_v4(&self, included: bool) -> io::Result<()> { method ip_transparent_v4 (line 1269) | pub fn ip_transparent_v4(&self) -> io::Result { method set_ip_transparent_v4 (line 1292) | pub fn set_ip_transparent_v4(&self, transparent: bool) -> io::Result<(... method join_multicast_v4 (line 1310) | pub fn join_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4... method leave_multicast_v4 (line 1323) | pub fn leave_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv... method join_multicast_v4_n (line 1359) | pub fn join_multicast_v4_n( method leave_multicast_v4_n (line 1395) | pub fn leave_multicast_v4_n( method join_ssm_v4 (line 1432) | pub fn join_ssm_v4( method leave_ssm_v4 (line 1472) | pub fn leave_ssm_v4( method multicast_all_v4 (line 1499) | pub fn multicast_all_v4(&self) -> io::Result { method set_multicast_all_v4 (line 1517) | pub fn set_multicast_all_v4(&self, all: bool) -> io::Result<()> { method multicast_if_v4 (line 1534) | pub fn multicast_if_v4(&self) -> io::Result { method set_multicast_if_v4 (line 1544) | pub fn set_multicast_if_v4(&self, interface: &Ipv4Addr) -> io::Result<... method multicast_loop_v4 (line 1561) | pub fn multicast_loop_v4(&self) -> io::Result { method set_multicast_loop_v4 (line 1572) | pub fn set_multicast_loop_v4(&self, loop_v4: bool) -> io::Result<()> { method multicast_ttl_v4 (line 1588) | pub fn multicast_ttl_v4(&self) -> io::Result { method set_multicast_ttl_v4 (line 1602) | pub fn set_multicast_ttl_v4(&self, ttl: u32) -> io::Result<()> { method ttl_v4 (line 1618) | pub fn ttl_v4(&self) -> io::Result { method set_ttl_v4 (line 1628) | pub fn set_ttl_v4(&self, ttl: u32) -> io::Result<()> { method set_tos_v4 (line 1647) | pub fn set_tos_v4(&self, tos: u32) -> io::Result<()> { method tos_v4 (line 1667) | pub fn tos_v4(&self) -> io::Result { method set_recv_tos_v4 (line 1696) | pub fn set_recv_tos_v4(&self, recv_tos: bool) -> io::Result<()> { method recv_tos_v4 (line 1730) | pub fn recv_tos_v4(&self) -> io::Result { method original_dst_v4 (line 1747) | pub fn original_dst_v4(&self) -> io::Result { method header_included_v6 (line 1776) | pub fn header_included_v6(&self) -> io::Result { method set_header_included_v6 (line 1808) | pub fn set_header_included_v6(&self, included: bool) -> io::Result<()> { method ip_transparent_v6 (line 1828) | pub fn ip_transparent_v6(&self) -> io::Result { method set_ip_transparent_v6 (line 1851) | pub fn set_ip_transparent_v6(&self, transparent: bool) -> io::Result<(... method join_multicast_v6 (line 1870) | pub fn join_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) ... method leave_multicast_v6 (line 1894) | pub fn leave_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32)... method multicast_hops_v6 (line 1916) | pub fn multicast_hops_v6(&self) -> io::Result { method set_multicast_hops_v6 (line 1929) | pub fn set_multicast_hops_v6(&self, hops: u32) -> io::Result<()> { method multicast_all_v6 (line 1946) | pub fn multicast_all_v6(&self) -> io::Result { method set_multicast_all_v6 (line 1964) | pub fn set_multicast_all_v6(&self, all: bool) -> io::Result<()> { method multicast_if_v6 (line 1981) | pub fn multicast_if_v6(&self) -> io::Result { method set_multicast_if_v6 (line 1994) | pub fn set_multicast_if_v6(&self, interface: u32) -> io::Result<()> { method multicast_loop_v6 (line 2010) | pub fn multicast_loop_v6(&self) -> io::Result { method set_multicast_loop_v6 (line 2021) | pub fn set_multicast_loop_v6(&self, loop_v6: bool) -> io::Result<()> { method unicast_hops_v6 (line 2035) | pub fn unicast_hops_v6(&self) -> io::Result { method set_unicast_hops_v6 (line 2045) | pub fn set_unicast_hops_v6(&self, hops: u32) -> io::Result<()> { method only_v6 (line 2061) | pub fn only_v6(&self) -> io::Result { method set_only_v6 (line 2076) | pub fn set_only_v6(&self, only_v6: bool) -> io::Result<()> { method recv_tclass_v6 (line 2107) | pub fn recv_tclass_v6(&self) -> io::Result { method set_recv_tclass_v6 (line 2134) | pub fn set_recv_tclass_v6(&self, recv_tclass: bool) -> io::Result<()> { method recv_hoplimit_v6 (line 2170) | pub fn recv_hoplimit_v6(&self) -> io::Result { method set_recv_hoplimit_v6 (line 2201) | pub fn set_recv_hoplimit_v6(&self, recv_hoplimit: bool) -> io::Result<... method original_dst_v6 (line 2217) | pub fn original_dst_v6(&self) -> io::Result { method tcp_keepalive_time (line 2241) | pub fn tcp_keepalive_time(&self) -> io::Result { method tcp_keepalive_interval (line 2269) | pub fn tcp_keepalive_interval(&self) -> io::Result { method tcp_keepalive_retries (line 2301) | pub fn tcp_keepalive_retries(&self) -> io::Result { method set_tcp_keepalive (line 2346) | pub fn set_tcp_keepalive(&self, params: &TcpKeepalive) -> io::Result<(... method tcp_nodelay (line 2356) | pub fn tcp_nodelay(&self) -> io::Result { method set_tcp_nodelay (line 2370) | pub fn set_tcp_nodelay(&self, nodelay: bool) -> io::Result<()> { method set_tcp_ack_frequency (line 2385) | pub fn set_tcp_ack_frequency(&self, frequency: u8) -> io::Result<()> { method fmt (line 2455) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function set_common_type (line 747) | const fn set_common_type(ty: Type) -> Type { function set_common_flags (line 773) | fn set_common_flags(socket: Socket) -> io::Result { function set_common_accept_flags (line 823) | fn set_common_accept_flags(socket: Socket) -> io::Result { type InterfaceIndexOrAddress (line 860) | pub enum InterfaceIndexOrAddress { function from_linger (line 1180) | const fn from_linger(linger: sys::linger) -> Option { function into_linger (line 1188) | const fn into_linger(duration: Option) -> sys::linger { method read (line 2391) | fn read(&mut self, buf: &mut [u8]) -> io::Result { method read_vectored (line 2399) | fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result io::Result { method read_vectored (line 2417) | fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result io::Result { method write_vectored (line 2430) | fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result { method flush (line 2434) | fn flush(&mut self) -> io::Result<()> { method write (line 2440) | fn write(&mut self, buf: &[u8]) -> io::Result { method write_vectored (line 2445) | fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result { method flush (line 2449) | fn flush(&mut self) -> io::Result<()> { FILE: src/sockref.rs type SockRef (line 61) | pub struct SockRef<'s> { type Target (line 72) | type Target = Socket; method deref (line 74) | fn deref(&self) -> &Self::Target { function from (line 86) | fn from(socket: &'s S) -> Self { function from (line 103) | fn from(socket: &'s S) -> Self { function fmt (line 114) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/sys/unix.rs type Bool (line 321) | pub(crate) type Bool = c_int; constant MAX_BUF_LEN (line 367) | const MAX_BUF_LEN: usize = ssize_t::MAX as usize; constant MAX_BUF_LEN (line 385) | const MAX_BUF_LEN: usize = c_int::MAX as usize - 1; constant TCP_CA_NAME_MAX (line 389) | const TCP_CA_NAME_MAX: usize = 16; type IovLen (line 401) | type IovLen = usize; type IovLen (line 432) | type IovLen = c_int; constant PACKET (line 441) | pub const PACKET: Domain = Domain(libc::AF_PACKET); constant VSOCK (line 445) | pub const VSOCK: Domain = Domain(libc::AF_VSOCK); method nonblocking (line 479) | pub const fn nonblocking(self) -> Type { method cloexec (line 501) | pub const fn cloexec(self) -> Type { method _cloexec (line 519) | pub(crate) const fn _cloexec(self) -> Type { method is_end_of_record (line 612) | pub const fn is_end_of_record(self) -> bool { method is_out_of_band (line 622) | pub const fn is_out_of_band(self) -> bool { method is_confirm (line 634) | pub const fn is_confirm(self) -> bool { method is_dontroute (line 648) | pub const fn is_dontroute(self) -> bool { method fmt (line 655) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type MaybeUninitSlice (line 674) | pub struct MaybeUninitSlice<'a> { function new (line 684) | pub(crate) fn new(buf: &'a mut [MaybeUninit]) -> MaybeUninitSlice<'a> { function as_slice (line 694) | pub(crate) fn as_slice(&self) -> &[MaybeUninit] { function as_mut_slice (line 698) | pub(crate) fn as_mut_slice(&mut self) -> &mut [MaybeUninit] { function offset_of_path (line 705) | pub(crate) fn offset_of_path(storage: &libc::sockaddr_un) -> usize { function unix_sockaddr (line 713) | pub(crate) fn unix_sockaddr(path: &Path) -> io::Result { function set_msghdr_name (line 762) | pub(crate) fn set_msghdr_name(msg: &mut msghdr, name: &SockAddr) { function set_msghdr_iov (line 769) | pub(crate) fn set_msghdr_iov(msg: &mut msghdr, ptr: *mut libc::iovec, le... function set_msghdr_control (line 775) | pub(crate) fn set_msghdr_control(msg: &mut msghdr, ptr: *mut libc::c_voi... function set_msghdr_flags (line 781) | pub(crate) fn set_msghdr_flags(msg: &mut msghdr, flags: c_int) { function msghdr_flags (line 786) | pub(crate) fn msghdr_flags(msg: &msghdr) -> RecvFlags { function msghdr_control_len (line 791) | pub(crate) fn msghdr_control_len(msg: &msghdr) -> usize { method vsock (line 805) | pub fn vsock(cid: u32, port: u32) -> SockAddr { method as_vsock_address (line 820) | pub fn as_vsock_address(&self) -> Option<(u32, u32)> { method is_unnamed (line 836) | pub fn is_unnamed(&self) -> bool { method as_sockaddr_un (line 852) | pub(crate) fn as_sockaddr_un(&self) -> Option<&libc::sockaddr_un> { method path_len (line 864) | fn path_len(&self, storage: &libc::sockaddr_un) -> usize { method path_bytes (line 872) | fn path_bytes(&self, storage: &libc::sockaddr_un, abstract_name: bool) -... method as_unix (line 891) | pub fn as_unix(&self) -> Option { method as_pathname (line 900) | pub fn as_pathname(&self) -> Option<&Path> { method as_abstract_namespace (line 914) | pub fn as_abstract_namespace(&self) -> Option<&[u8]> { type Socket (line 929) | pub(crate) type Socket = std::os::fd::OwnedFd; type RawSocket (line 930) | pub(crate) type RawSocket = c_int; function socket_from_raw (line 932) | pub(crate) unsafe fn socket_from_raw(socket: RawSocket) -> Socket { function socket_as_raw (line 936) | pub(crate) fn socket_as_raw(socket: &Socket) -> RawSocket { function socket_into_raw (line 940) | pub(crate) fn socket_into_raw(socket: Socket) -> RawSocket { function socket (line 944) | pub(crate) fn socket(family: c_int, ty: c_int, protocol: c_int) -> io::R... function socketpair (line 949) | pub(crate) fn socketpair(family: c_int, ty: c_int, protocol: c_int) -> i... function bind (line 954) | pub(crate) fn bind(fd: RawSocket, addr: &SockAddr) -> io::Result<()> { function connect (line 958) | pub(crate) fn connect(fd: RawSocket, addr: &SockAddr) -> io::Result<()> { function poll_connect (line 962) | pub(crate) fn poll_connect(socket: &crate::Socket, timeout: Duration) ->... function listen (line 1004) | pub(crate) fn listen(fd: RawSocket, backlog: c_int) -> io::Result<()> { function accept (line 1008) | pub(crate) fn accept(fd: RawSocket) -> io::Result<(RawSocket, SockAddr)> { function getsockname (line 1013) | pub(crate) fn getsockname(fd: RawSocket) -> io::Result { function getpeername (line 1019) | pub(crate) fn getpeername(fd: RawSocket) -> io::Result { function try_clone (line 1026) | pub(crate) fn try_clone(fd: RawSocket) -> io::Result { function nonblocking (line 1035) | pub(crate) fn nonblocking(fd: RawSocket) -> io::Result { function nonblocking (line 1041) | pub(crate) fn nonblocking(fd: RawSocket) -> io::Result { function set_nonblocking (line 1048) | pub(crate) fn set_nonblocking(fd: RawSocket, nonblocking: bool) -> io::R... function set_nonblocking (line 1057) | pub(crate) fn set_nonblocking(fd: RawSocket, nonblocking: bool) -> io::R... function shutdown (line 1068) | pub(crate) fn shutdown(fd: RawSocket, how: Shutdown) -> io::Result<()> { function recv (line 1077) | pub(crate) fn recv(fd: RawSocket, buf: &mut [MaybeUninit], flags: c_... function recv_from (line 1087) | pub(crate) fn recv_from( function peek_sender (line 1108) | pub(crate) fn peek_sender(fd: RawSocket) -> io::Result { function recv_vectored (line 1118) | pub(crate) fn recv_vectored( function recv_from_vectored (line 1129) | pub(crate) fn recv_from_vectored( function recvmsg (line 1151) | pub(crate) fn recvmsg( function send (line 1159) | pub(crate) fn send(fd: RawSocket, buf: &[u8], flags: c_int) -> io::Resul... function send_vectored (line 1170) | pub(crate) fn send_vectored( function send_to (line 1179) | pub(crate) fn send_to( function send_to_vectored (line 1197) | pub(crate) fn send_to_vectored( function sendmsg (line 1208) | pub(crate) fn sendmsg(fd: RawSocket, msg: &MsgHdr<'_, '_, '_>, flags: c_... function timeout_opt (line 1213) | pub(crate) fn timeout_opt(fd: RawSocket, opt: c_int, val: c_int) -> io::... function from_timeval (line 1217) | const fn from_timeval(duration: libc::timeval) -> Option { function set_timeout_opt (line 1228) | pub(crate) fn set_timeout_opt( function into_timeval (line 1238) | fn into_timeval(duration: Option) -> libc::timeval { function tcp_keepalive_time (line 1257) | pub(crate) fn tcp_keepalive_time(fd: RawSocket) -> io::Result { function set_tcp_keepalive (line 1265) | pub(crate) fn set_tcp_keepalive(fd: RawSocket, keepalive: &TcpKeepalive)... function into_secs (line 1321) | fn into_secs(duration: Duration) -> c_int { function fcntl_get (line 1327) | fn fcntl_get(fd: RawSocket, cmd: c_int) -> io::Result { function fcntl_add (line 1333) | fn fcntl_add(fd: RawSocket, get_cmd: c_int, set_cmd: c_int, flag: c_int)... function fcntl_remove (line 1346) | fn fcntl_remove(fd: RawSocket, get_cmd: c_int, set_cmd: c_int, flag: c_i... function getsockopt (line 1358) | pub(crate) unsafe fn getsockopt(fd: RawSocket, opt: c_int, val: c_int... function setsockopt (line 1376) | pub(crate) unsafe fn setsockopt( function to_in_addr (line 1393) | pub(crate) const fn to_in_addr(addr: &Ipv4Addr) -> in_addr { function from_in_addr (line 1402) | pub(crate) fn from_in_addr(in_addr: in_addr) -> Ipv4Addr { function to_in6_addr (line 1406) | pub(crate) const fn to_in6_addr(addr: &Ipv6Addr) -> in6_addr { function from_in6_addr (line 1412) | pub(crate) fn from_in6_addr(addr: in6_addr) -> Ipv6Addr { function to_mreqn (line 1431) | pub(crate) const fn to_mreqn( function original_dst_v4 (line 1453) | pub(crate) fn original_dst_v4(fd: RawSocket) -> io::Result { function original_dst_v6 (line 1474) | pub(crate) fn original_dst_v6(fd: RawSocket) -> io::Result { function accept4 (line 1514) | pub fn accept4(&self, flags: c_int) -> io::Result<(crate::Socket, SockAd... function _accept4 (line 1529) | pub(crate) fn _accept4(&self, flags: c_int) -> io::Result<(crate::Socket... function set_cloexec (line 1557) | pub fn set_cloexec(&self, close_on_exec: bool) -> io::Result<()> { function _set_cloexec (line 1562) | pub(crate) fn _set_cloexec(&self, close_on_exec: bool) -> io::Result<()> { function set_no_peercred (line 1594) | pub fn set_no_peercred(&self) -> io::Result<()> { function set_nosigpipe (line 1616) | pub fn set_nosigpipe(&self, nosigpipe: bool) -> io::Result<()> { function _set_nosigpipe (line 1627) | pub(crate) fn _set_nosigpipe(&self, nosigpipe: bool) -> io::Result<()> { function tcp_mss (line 1644) | pub fn tcp_mss(&self) -> io::Result { function set_tcp_mss (line 1656) | pub fn set_tcp_mss(&self, mss: u32) -> io::Result<()> { function is_listener (line 1680) | pub fn is_listener(&self) -> io::Result { function domain (line 1699) | pub fn domain(&self) -> io::Result { function protocol (line 1714) | pub fn protocol(&self) -> io::Result> { function mark (line 1734) | pub fn mark(&self) -> io::Result { function set_mark (line 1752) | pub fn set_mark(&self, mark: u32) -> io::Result<()> { function tcp_cork (line 1772) | pub fn tcp_cork(&self) -> io::Result { function set_tcp_cork (line 1789) | pub fn set_tcp_cork(&self, cork: bool) -> io::Result<()> { function tcp_quickack (line 1814) | pub fn tcp_quickack(&self) -> io::Result { function set_tcp_quickack (line 1836) | pub fn set_tcp_quickack(&self, quickack: bool) -> io::Result<()> { function tcp_thin_linear_timeouts (line 1856) | pub fn tcp_thin_linear_timeouts(&self) -> io::Result { function set_tcp_thin_linear_timeouts (line 1876) | pub fn set_tcp_thin_linear_timeouts(&self, timeouts: bool) -> io::Result... function tcp_notsent_lowat (line 1893) | pub fn tcp_notsent_lowat(&self) -> io::Result { function set_tcp_notsent_lowat (line 1905) | pub fn set_tcp_notsent_lowat(&self, lowat: u32) -> io::Result<()> { function device (line 1923) | pub fn device(&self) -> io::Result>> { function bind_device (line 1955) | pub fn bind_device(&self, interface: Option<&[u8]>) -> io::Result<()> { function set_fib (line 1975) | pub fn set_fib(&self, fib: u32) -> io::Result<()> { function bind_device_by_index_v4 (line 2010) | pub fn bind_device_by_index_v4(&self, interface: Option) -> ... function bind_device_by_index_v6 (line 2061) | pub fn bind_device_by_index_v6(&self, interface: Option) -> ... function device_index_v4 (line 2107) | pub fn device_index_v4(&self) -> io::Result> { function device_index_v6 (line 2147) | pub fn device_index_v6(&self) -> io::Result> { function cpu_affinity (line 2175) | pub fn cpu_affinity(&self) -> io::Result { function set_cpu_affinity (line 2186) | pub fn set_cpu_affinity(&self, cpu: usize) -> io::Result<()> { function reuse_port (line 2211) | pub fn reuse_port(&self) -> io::Result { function set_reuse_port (line 2232) | pub fn set_reuse_port(&self, reuse: bool) -> io::Result<()> { function reuse_port_lb (line 2249) | pub fn reuse_port_lb(&self) -> io::Result { function set_reuse_port_lb (line 2261) | pub fn set_reuse_port_lb(&self, reuse: bool) -> io::Result<()> { function freebind_v4 (line 2281) | pub fn freebind_v4(&self) -> io::Result { function set_freebind_v4 (line 2299) | pub fn set_freebind_v4(&self, freebind: bool) -> io::Result<()> { function freebind_v6 (line 2318) | pub fn freebind_v6(&self) -> io::Result { function set_freebind_v6 (line 2356) | pub fn set_freebind_v6(&self, freebind: bool) -> io::Result<()> { function sendfile (line 2400) | pub fn sendfile( function _sendfile (line 2422) | fn _sendfile( function _sendfile (line 2447) | fn _sendfile( function _sendfile (line 2463) | fn _sendfile( function _sendfile (line 2488) | fn _sendfile( function set_tcp_user_timeout (line 2537) | pub fn set_tcp_user_timeout(&self, timeout: Option) -> io::Res... function tcp_user_timeout (line 2565) | pub fn tcp_user_timeout(&self) -> io::Result> { function attach_filter (line 2585) | pub fn attach_filter(&self, filters: &[SockFilter]) -> io::Result<()> { function detach_filter (line 2608) | pub fn detach_filter(&self) -> io::Result<()> { function cookie (line 2619) | pub fn cookie(&self) -> io::Result { function tclass_v6 (line 2642) | pub fn tclass_v6(&self) -> io::Result { function set_tclass_v6 (line 2667) | pub fn set_tclass_v6(&self, tclass: u32) -> io::Result<()> { function tcp_congestion (line 2684) | pub fn tcp_congestion(&self) -> io::Result> { function set_tcp_congestion (line 2704) | pub fn set_tcp_congestion(&self, tcp_ca_name: &[u8]) -> io::Result<()> { function set_dccp_service (line 2726) | pub fn set_dccp_service(&self, code: u32) -> io::Result<()> { function dccp_service (line 2743) | pub fn dccp_service(&self) -> io::Result { function set_dccp_ccid (line 2751) | pub fn set_dccp_ccid(&self, ccid: u8) -> io::Result<()> { function dccp_tx_ccid (line 2761) | pub fn dccp_tx_ccid(&self) -> io::Result { function dccp_xx_ccid (line 2771) | pub fn dccp_xx_ccid(&self) -> io::Result { function set_dccp_server_timewait (line 2780) | pub fn set_dccp_server_timewait(&self, hold_timewait: bool) -> io::Resul... function dccp_server_timewait (line 2797) | pub fn dccp_server_timewait(&self) -> io::Result { function set_dccp_send_cscov (line 2815) | pub fn set_dccp_send_cscov(&self, level: u32) -> io::Result<()> { function dccp_send_cscov (line 2832) | pub fn dccp_send_cscov(&self) -> io::Result { function set_dccp_recv_cscov (line 2842) | pub fn set_dccp_recv_cscov(&self, level: u32) -> io::Result<()> { function dccp_recv_cscov (line 2859) | pub fn dccp_recv_cscov(&self) -> io::Result { function set_dccp_qpolicy_txqlen (line 2868) | pub fn set_dccp_qpolicy_txqlen(&self, length: u32) -> io::Result<()> { function dccp_qpolicy_txqlen (line 2885) | pub fn dccp_qpolicy_txqlen(&self) -> io::Result { function dccp_available_ccids (line 2905) | pub fn dccp_available_ccids(&self) -> io::Result io::Result { function busy_poll (line 2937) | pub fn busy_poll(&self) -> io::Result { function set_busy_poll (line 2945) | pub fn set_busy_poll(&self, busy_poll: u32) -> io::Result<()> { type SockFilter (line 2964) | pub struct SockFilter { method new (line 2974) | pub const fn new(code: u16, jt: u8, jf: u8, k: u32) -> SockFilter { method fmt (line 2983) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type CcidEndpoints (line 2993) | pub struct CcidEndpoints { type Target (line 3000) | type Target = [u8]; function deref (line 3002) | fn deref(&self) -> &[u8] { method as_fd (line 3008) | fn as_fd(&self) -> BorrowedFd<'_> { method as_raw_fd (line 3015) | fn as_raw_fd(&self) -> RawFd { method from (line 3021) | fn from(sock: crate::Socket) -> OwnedFd { method into_raw_fd (line 3028) | fn into_raw_fd(self) -> c_int { function from (line 3034) | fn from(fd: OwnedFd) -> crate::Socket { method from_raw_fd (line 3041) | unsafe fn from_raw_fd(fd: c_int) -> crate::Socket { function in_addr_convertion (line 3060) | fn in_addr_convertion() { function in6_addr_convertion (line 3076) | fn in6_addr_convertion() { FILE: src/sys/windows.rs type c_int (line 45) | pub(crate) type c_int = std::ffi::c_int; constant MSG_TRUNC (line 51) | pub(crate) const MSG_TRUNC: c_int = 0x01; constant AF_INET (line 54) | pub(crate) const AF_INET: c_int = windows_sys::Win32::Networking::WinSoc... constant AF_INET6 (line 55) | pub(crate) const AF_INET6: c_int = windows_sys::Win32::Networking::WinSo... constant AF_UNIX (line 56) | pub(crate) const AF_UNIX: c_int = windows_sys::Win32::Networking::WinSoc... constant AF_UNSPEC (line 57) | pub(crate) const AF_UNSPEC: c_int = windows_sys::Win32::Networking::WinS... constant SOCK_STREAM (line 59) | pub(crate) const SOCK_STREAM: c_int = windows_sys::Win32::Networking::Wi... constant SOCK_DGRAM (line 60) | pub(crate) const SOCK_DGRAM: c_int = windows_sys::Win32::Networking::Win... constant SOCK_RAW (line 61) | pub(crate) const SOCK_RAW: c_int = windows_sys::Win32::Networking::WinSo... constant SOCK_RDM (line 62) | const SOCK_RDM: c_int = windows_sys::Win32::Networking::WinSock::SOCK_RD... constant SOCK_SEQPACKET (line 63) | pub(crate) const SOCK_SEQPACKET: c_int = type sa_family_t (line 78) | pub(crate) type sa_family_t = windows_sys::Win32::Networking::WinSock::A... type socklen_t (line 80) | pub(crate) type socklen_t = windows_sys::Win32::Networking::WinSock::soc... constant IPPROTO_IP (line 94) | pub(crate) const IPPROTO_IP: c_int = windows_sys::Win32::Networking::Win... constant SOL_SOCKET (line 95) | pub(crate) const SOL_SOCKET: c_int = windows_sys::Win32::Networking::Win... type Bool (line 103) | pub(crate) type Bool = bool; constant MAX_BUF_LEN (line 106) | const MAX_BUF_LEN: usize = c_int::MAX as usize; constant NO_INHERIT (line 133) | const NO_INHERIT: c_int = 1 << ((size_of::() * 8) - 1); constant REGISTERED_IO (line 135) | const REGISTERED_IO: c_int = 1 << ((size_of::() * 8) - 2); method no_inherit (line 139) | pub const fn no_inherit(self) -> Type { method registered_io (line 145) | pub const fn registered_io(self) -> Type { method _no_inherit (line 149) | pub(crate) const fn _no_inherit(self) -> Type { method fmt (line 172) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type MaybeUninitSlice (line 180) | pub struct MaybeUninitSlice<'a> { function new (line 190) | pub fn new(buf: &'a mut [MaybeUninit]) -> MaybeUninitSlice<'a> { function as_slice (line 201) | pub fn as_slice(&self) -> &[MaybeUninit] { function as_mut_slice (line 205) | pub fn as_mut_slice(&mut self) -> &mut [MaybeUninit] { function set_msghdr_name (line 213) | pub(crate) fn set_msghdr_name(msg: &mut msghdr, name: &SockAddr) { function set_msghdr_iov (line 218) | pub(crate) fn set_msghdr_iov(msg: &mut msghdr, ptr: *mut WSABUF, len: us... function set_msghdr_control (line 223) | pub(crate) fn set_msghdr_control(msg: &mut msghdr, ptr: *mut u8, len: us... function set_msghdr_flags (line 228) | pub(crate) fn set_msghdr_flags(msg: &mut msghdr, flags: c_int) { function msghdr_flags (line 232) | pub(crate) fn msghdr_flags(msg: &msghdr) -> RecvFlags { function msghdr_control_len (line 236) | pub(crate) fn msghdr_control_len(msg: &msghdr) -> usize { function init (line 240) | fn init() { type Socket (line 251) | pub(crate) type Socket = std::os::windows::io::OwnedSocket; type RawSocket (line 252) | pub(crate) type RawSocket = windows_sys::Win32::Networking::WinSock::SOC... function socket_from_raw (line 254) | pub(crate) unsafe fn socket_from_raw(socket: RawSocket) -> Socket { function socket_as_raw (line 258) | pub(crate) fn socket_as_raw(socket: &Socket) -> RawSocket { function socket_into_raw (line 262) | pub(crate) fn socket_into_raw(socket: Socket) -> RawSocket { function socket (line 266) | pub(crate) fn socket(family: c_int, mut ty: c_int, protocol: c_int) -> i... function bind (line 297) | pub(crate) fn bind(socket: RawSocket, addr: &SockAddr) -> io::Result<()> { function connect (line 306) | pub(crate) fn connect(socket: RawSocket, addr: &SockAddr) -> io::Result<... function poll_connect (line 315) | pub(crate) fn poll_connect(socket: &crate::Socket, timeout: Duration) ->... function clamp (line 365) | fn clamp(value: T, min: T, max: T) -> T function listen (line 378) | pub(crate) fn listen(socket: RawSocket, backlog: c_int) -> io::Result<()> { function accept (line 382) | pub(crate) fn accept(socket: RawSocket) -> io::Result<(RawSocket, SockAd... function getsockname (line 395) | pub(crate) fn getsockname(socket: RawSocket) -> io::Result { function getpeername (line 409) | pub(crate) fn getpeername(socket: RawSocket) -> io::Result { function try_clone (line 423) | pub(crate) fn try_clone(socket: RawSocket) -> io::Result { function set_nonblocking (line 448) | pub(crate) fn set_nonblocking(socket: RawSocket, nonblocking: bool) -> i... function shutdown (line 453) | pub(crate) fn shutdown(socket: RawSocket, how: Shutdown) -> io::Result<(... function recv (line 462) | pub(crate) fn recv( function recv_vectored (line 484) | pub(crate) fn recv_vectored( function recv_from (line 514) | pub(crate) fn recv_from( function peek_sender (line 543) | pub(crate) fn peek_sender(socket: RawSocket) -> io::Result { function recv_from_vectored (line 575) | pub(crate) fn recv_from_vectored( function send (line 615) | pub(crate) fn send(socket: RawSocket, buf: &[u8], flags: c_int) -> io::R... function send_vectored (line 629) | pub(crate) fn send_vectored( function send_to (line 664) | pub(crate) fn send_to( function send_to_vectored (line 685) | pub(crate) fn send_to_vectored( function sendmsg (line 711) | pub(crate) fn sendmsg( function timeout_opt (line 733) | pub(crate) fn timeout_opt(fd: RawSocket, lvl: c_int, name: i32) -> io::R... function from_ms (line 737) | fn from_ms(duration: u32) -> Option { function set_timeout_opt (line 748) | pub(crate) fn set_timeout_opt( function into_ms (line 758) | fn into_ms(duration: Option) -> u32 { function set_tcp_keepalive (line 771) | pub(crate) fn set_tcp_keepalive(socket: RawSocket, keepalive: &TcpKeepal... function set_tcp_ack_frequency (line 808) | pub(crate) fn set_tcp_ack_frequency(socket: RawSocket, frequency: u8) ->... function getsockopt (line 834) | pub(crate) unsafe fn getsockopt(socket: RawSocket, level: c_int, optn... function setsockopt (line 857) | pub(crate) unsafe fn setsockopt( function ioctlsocket (line 877) | fn ioctlsocket(socket: RawSocket, cmd: i32, payload: &mut u32) -> io::Re... function to_in_addr (line 886) | pub(crate) fn to_in_addr(addr: &Ipv4Addr) -> IN_ADDR { function from_in_addr (line 897) | pub(crate) fn from_in_addr(in_addr: IN_ADDR) -> Ipv4Addr { function to_in6_addr (line 901) | pub(crate) fn to_in6_addr(addr: &Ipv6Addr) -> IN6_ADDR { function from_in6_addr (line 909) | pub(crate) fn from_in6_addr(addr: IN6_ADDR) -> Ipv6Addr { function to_mreqn (line 913) | pub(crate) fn to_mreqn( function original_dst_v4 (line 940) | pub(crate) fn original_dst_v4(socket: RawSocket) -> io::Result { function original_dst_v6 (line 960) | pub(crate) fn original_dst_v6(socket: RawSocket) -> io::Result { function unix_sockaddr (line 980) | pub(crate) fn unix_sockaddr(path: &Path) -> io::Result { function set_no_inherit (line 1027) | pub fn set_no_inherit(&self, no_inherit: bool) -> io::Result<()> { function _set_no_inherit (line 1031) | pub(crate) fn _set_no_inherit(&self, no_inherit: bool) -> io::Result<()> { function protocol (line 1054) | pub fn protocol(&self) -> io::Result> { method as_socket (line 1066) | fn as_socket(&self) -> BorrowedSocket<'_> { method as_raw_socket (line 1073) | fn as_raw_socket(&self) -> StdRawSocket { method from (line 1079) | fn from(sock: crate::Socket) -> OwnedSocket { method into_raw_socket (line 1086) | fn into_raw_socket(self) -> StdRawSocket { function from (line 1092) | fn from(fd: OwnedSocket) -> crate::Socket { method from_raw_socket (line 1099) | unsafe fn from_raw_socket(socket: StdRawSocket) -> crate::Socket { function in_addr_convertion (line 1105) | fn in_addr_convertion() { function in6_addr_convertion (line 1121) | fn in6_addr_convertion() { FILE: tests/socket.rs function domain_for_address (line 65) | fn domain_for_address() { function domain_fmt_debug (line 76) | fn domain_fmt_debug() { function type_fmt_debug (line 100) | fn type_fmt_debug() { function protocol_fmt_debug (line 121) | fn protocol_fmt_debug() { function from_invalid_raw_fd_should_panic (line 150) | fn from_invalid_raw_fd_should_panic() { function socket_address_unix (line 157) | fn socket_address_unix() { function socket_address_unix_unnamed (line 178) | fn socket_address_unix_unnamed() { function socket_address_unix_abstract_namespace (line 200) | fn socket_address_unix_abstract_namespace() { function socket_address_vsock (line 216) | fn socket_address_vsock() { function set_nonblocking (line 225) | fn set_nonblocking() { function assert_common_flags (line 236) | fn assert_common_flags(socket: &Socket, expected: bool) { function common_flags (line 259) | fn common_flags() { function no_common_flags (line 274) | fn no_common_flags() { function type_nonblocking (line 301) | fn type_nonblocking() { function assert_nonblocking (line 310) | pub fn assert_nonblocking(socket: &Socket, want: bool) { function assert_nonblocking (line 344) | pub fn assert_nonblocking(_: &Socket, _: bool) { function set_cloexec (line 350) | fn set_cloexec() { function type_cloexec (line 375) | fn type_cloexec() { function assert_close_on_exec (line 384) | pub fn assert_close_on_exec(socket: &S, want: bool) function set_no_inherit (line 394) | fn set_no_inherit() { function type_no_inherit (line 407) | fn type_no_inherit() { function assert_flag_no_inherit (line 416) | pub fn assert_flag_no_inherit(socket: &S, want: bool) function type_registered_io (line 434) | fn type_registered_io() { function assert_registered_io (line 443) | pub fn assert_registered_io(socket: &S) function set_nosigpipe (line 485) | fn set_nosigpipe() { function assert_flag_no_sigpipe (line 505) | pub fn assert_flag_no_sigpipe(socket: &S, want: bool) constant DATA (line 528) | const DATA: &[u8] = b"hello world"; function connect_timeout_unrouteable (line 532) | fn connect_timeout_unrouteable() { function connect_timeout_unbound (line 548) | fn connect_timeout_unbound() { function connect_timeout_valid (line 568) | fn connect_timeout_valid() { function pair (line 585) | fn pair() { function unix_sockets_supported (line 595) | fn unix_sockets_supported() -> bool { function unix (line 620) | fn unix() { function unix_accept (line 653) | fn unix_accept() { function vsock (line 679) | fn vsock() { function out_of_band (line 701) | fn out_of_band() { function udp_peek_sender (line 732) | fn udp_peek_sender() { function send_recv_vectored (line 747) | fn send_recv_vectored() { function send_from_recv_to_vectored (line 794) | fn send_from_recv_to_vectored() { function sendmsg (line 847) | fn sendmsg() { function recv_vectored_truncated (line 865) | fn recv_vectored_truncated() { function recv_from_vectored_truncated (line 885) | fn recv_from_vectored_truncated() { function udp_pair_unconnected (line 911) | fn udp_pair_unconnected() -> (Socket, Socket) { function udp_pair_connected (line 939) | fn udp_pair_connected() -> (Socket, Socket) { function tcp_keepalive (line 952) | fn tcp_keepalive() { function device (line 1050) | fn device() { function device (line 1094) | fn device() { function device_v6 (line 1142) | fn device_v6() { function sendfile (line 1191) | fn sendfile() { function is_listener (line 1265) | fn is_listener() { function domain (line 1284) | fn domain() { function protocol (line 1306) | fn protocol() { function r#type (line 1326) | fn r#type() { function cpu_affinity (line 1358) | fn cpu_affinity() { function niche (line 1370) | fn niche() { function any_ipv4 (line 1376) | fn any_ipv4() -> SockAddr { function assume_init (line 1383) | unsafe fn assume_init(buf: &[MaybeUninit]) -> &[u8] { constant SET_BUF_SIZE (line 1434) | const SET_BUF_SIZE: usize = 4096; constant GET_BUF_SIZE (line 1438) | const GET_BUF_SIZE: usize = SET_BUF_SIZE; constant GET_BUF_SIZE (line 1440) | const GET_BUF_SIZE: usize = 2 * SET_BUF_SIZE; function join_leave_multicast_v4_n (line 1655) | fn join_leave_multicast_v4_n() { function join_leave_ssm_v4 (line 1687) | fn join_leave_ssm_v4() { function header_included (line 1698) | fn header_included() { function header_included_ipv6 (line 1733) | fn header_included_ipv6() { function original_dst_v4 (line 1765) | fn original_dst_v4() { function original_dst_v6 (line 1789) | fn original_dst_v6() { function tcp_congestion (line 1814) | fn tcp_congestion() { function tcp_set_ack_frequency (line 1866) | fn tcp_set_ack_frequency() { function dccp (line 1886) | fn dccp() { function cookie (line 1916) | fn cookie() { function set_passcred (line 1934) | fn set_passcred() { function set_priority (line 1950) | fn set_priority() { function set_busy_poll (line 1963) | fn set_busy_poll() {