/external/rust/crates/nix/src/sys/socket/ |
D | addr.rs | 34 pub enum AddressFamily { enum 222 impl AddressFamily { implementation 228 pub fn from_i32(family: i32) -> Option<AddressFamily> { in from_i32() argument 230 libc::AF_UNIX => Some(AddressFamily::Unix), in from_i32() 231 libc::AF_INET => Some(AddressFamily::Inet), in from_i32() 232 libc::AF_INET6 => Some(AddressFamily::Inet6), in from_i32() 234 libc::AF_NETLINK => Some(AddressFamily::Netlink), in from_i32() 236 libc::AF_SYSTEM => Some(AddressFamily::System), in from_i32() 238 libc::AF_PACKET => Some(AddressFamily::Packet), in from_i32() 245 libc::AF_LINK => Some(AddressFamily::Link), in from_i32() [all …]
|
D | sockopt.rs | 648 … let (a, b) = socketpair(AddressFamily::Unix, SockType::Stream, None, SockFlag::empty()).unwrap(); in can_get_peercred_on_unix_socket() 660 … let (a, b) = socketpair(AddressFamily::Unix, SockType::Stream, None, SockFlag::empty()).unwrap(); in is_socket_type_unix() 672 let s = socket(AddressFamily::Inet, SockType::Datagram, SockFlag::empty(), None).unwrap(); in is_socket_type_dgram() 686 let s = socket(AddressFamily::Inet, SockType::Stream, SockFlag::empty(), None).unwrap(); in can_get_listen_on_tcp_socket()
|
D | mod.rs | 23 AddressFamily, 1410 pub fn socket<T: Into<Option<SockProtocol>>>(domain: AddressFamily, ty: SockType, flags: SockFlag, … in socket() argument 1430 pub fn socketpair<T: Into<Option<SockProtocol>>>(domain: AddressFamily, ty: SockType, protocol: T, in socketpair() argument
|
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 1 use nix::sys::socket::{AddressFamily, InetAddr, UnixAddr, getsockname}; 138 use nix::sys::socket::{socket, AddressFamily, SockType, SockFlag}; in test_getsockname() 143 let sock = socket(AddressFamily::Unix, SockType::Stream, SockFlag::empty(), None) in test_getsockname() 154 use nix::sys::socket::{socketpair, AddressFamily, SockType, SockFlag}; in test_socketpair() 156 let (fd1, fd2) = socketpair(AddressFamily::Unix, SockType::Stream, None, SockFlag::empty()) in test_socketpair() 202 let (fd2, fd1) = socketpair(AddressFamily::Unix, SockType::Stream, in stream() 215 let rsock = socket(AddressFamily::Inet, in udp() 222 AddressFamily::Inet, in udp() 231 assert_eq!(AddressFamily::Inet, from.unwrap().family()); in udp() 255 let rsock = socket(AddressFamily::Inet, in gso() [all …]
|
D | test_sockopt.rs | 2 use nix::sys::socket::{socket, sockopt, getsockopt, setsockopt, AddressFamily, SockType, SockFlag, … 13 let s = socket(AddressFamily::Inet, SockType::Stream, SockFlag::empty(), None).unwrap(); in is_so_mark_functional() 21 let fd = socket(AddressFamily::Inet, SockType::Datagram, SockFlag::empty(), SockProtocol::Udp) in test_so_buf() 44 let fd = socket(AddressFamily::Inet, SockType::Stream, SockFlag::empty(), None).unwrap(); in test_tcp_congestion() 62 let fd = socket(AddressFamily::Inet, SockType::Stream, SockFlag::empty(), None).unwrap(); in test_bindtodevice() 75 …let fd = socket(AddressFamily::Inet, SockType::Stream, SockFlag::empty(), SockProtocol::Tcp).unwra… in test_so_tcp_keepalive()
|
/external/libnl/python/doc/ |
D | core.rst | 137 done with a string or a :py:class:`AddressFamily` object. 139 :rtype: :py:class:`AddressFamily` 148 AddressFamily chapter 151 .. py:class:: AddressFamily 155 af = netlink.AddressFamily('inet6') 162 print repr(af) # => AddressFamily('inet6')
|
/external/libnl/python/netlink/route/ |
D | address.py | 177 return netlink.AddressFamily(fam) 181 if not isinstance(value, netlink.AddressFamily): 182 value = netlink.AddressFamily(value)
|
/external/libnl/python/netlink/ |
D | core.py | 623 class AddressFamily(object): class 757 return AddressFamily(f) 764 if not isinstance(value, AddressFamily): 765 value = AddressFamily(value)
|
/external/openssh/ |
D | ssh_config | 29 # AddressFamily any
|
D | sshd_config | 14 #AddressFamily any
|
/external/webrtc/logging/rtc_event_log/ |
D | rtc_event_log.proto | 359 enum AddressFamily { enum 390 optional AddressFamily local_address_family = 6; 396 optional AddressFamily remote_address_family = 8;
|
D | rtc_event_log2.proto | 567 enum AddressFamily { enum 601 optional AddressFamily local_address_family = 7; 607 optional AddressFamily remote_address_family = 9;
|
D | rtc_event_log_parser.h | 246 rtclog2::IceCandidatePairConfig::AddressFamily address_family); in RTC_POP_IGNORING_WUNDEF()
|
D | rtc_event_log_parser.cc | 247 rtclog::IceCandidatePairConfig::AddressFamily address_family) { in GetRuntimeIceCandidatePairAddressFamily() 865 rtclog2::IceCandidatePairConfig::AddressFamily address_family) { in GetRuntimeIceCandidatePairAddressFamily()
|
/external/rust/crates/tokio/tests/ |
D | io_async_fd.rs | 139 use nix::sys::socket::{self, AddressFamily, SockFlag, SockType}; in socketpair() 142 AddressFamily::Unix, in socketpair()
|
/external/python/cpython3/Lib/ |
D | socket.py | 517 return _intenum_converter(super().family, AddressFamily) 955 addrlist.append((_intenum_converter(af, AddressFamily),
|
/external/openssh/regress/ |
D | test-exec.sh | 445 AddressFamily inet
|
/external/scapy/test/ |
D | mock_windows.uts | 58 # 'Get-NetRoute -AddressFamily IPV6 | select ifIndex, DestinationPrefix, NextHop'
|
/external/webrtc/logging/rtc_event_log/encoder/ |
D | rtc_event_log_encoder_legacy.cc | 173 rtclog::IceCandidatePairConfig::AddressFamily
|
D | rtc_event_log_encoder_new_format.cc | 213 rtclog2::IceCandidatePairConfig::AddressFamily ConvertToProtoFormat( in ConvertToProtoFormat()
|
/external/rust/crates/nix/ |
D | CHANGELOG.md | 306 - Added `AF_VSOCK` to `AddressFamily`. 468 - Added `AF_UNSPEC` wrapper to `AddressFamily` ([#948](https://github.com/nix-rust/nix/pull/948)) 584 - Added protocol families in `AddressFamily` enum.
|
/external/python/cpython3/Doc/library/ |
D | socket.rst | 299 The AF_* and SOCK_* constants are now :class:`AddressFamily` and 780 [(<AddressFamily.AF_INET6: 10>, <SocketType.SOCK_STREAM: 1>, 782 (<AddressFamily.AF_INET: 2>, <SocketType.SOCK_STREAM: 1>,
|
/external/python/cpython3/Lib/test/ |
D | test_socket.py | 1823 unknown_family = max(socket.AddressFamily.__members__.values()) + 1
|