Home
last modified time | relevance | path

Searched refs:SocketType (Results 1 - 25 of 25) sorted by relevance

/third_party/rust/crates/rustix/tests/net/
H A Dconnect_bind_send.rs3 SocketAddrV6, SocketType,
13 rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default())?; in net_v4_connect_any()
18 let sender = rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default())?; in net_v4_connect_any()
46 SocketType::STREAM, in net_v6_connect_any()
55 SocketType::STREAM, in net_v6_connect_any()
84 rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default())?; in net_v4_connect()
93 let sender = rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default())?; in net_v4_connect()
121 SocketType::STREAM, in net_v6_connect()
134 SocketType::STREAM, in net_v6_connect()
163 rustix::net::socket(AddressFamily::INET, SocketType in net_v4_bind_any()
[all...]
H A Dunix.rs20 SocketType,
33 SocketType::SEQPACKET, in server()
87 SocketType::SEQPACKET, in client()
107 SocketType::SEQPACKET, in client()
H A Dv6.rs9 Protocol, RecvFlags, SendFlags, SocketAddrAny, SocketAddrV6, SocketType,
19 SocketType::STREAM, in server()
64 SocketType::STREAM, in client()
H A Dv4.rs9 Protocol, RecvFlags, SendFlags, SocketAddrAny, SocketAddrV4, SocketType,
18 socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in server()
58 let data_socket = socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in client()
H A Dpoll.rs8 Protocol, RecvFlags, SendFlags, SocketAddrAny, SocketAddrV6, SocketType,
18 SocketType::STREAM, in server()
76 SocketType::STREAM, in client()
H A Dsockopt.rs3 use rustix::net::{AddressFamily, Protocol, SocketType}; in test_sockopts()
7 rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in test_sockopts()
17 SocketType::STREAM in test_sockopts()
/third_party/rust/crates/rustix/src/net/
H A Dsocketpair.rs2 use crate::net::{AddressFamily, Protocol, SocketFlags, SocketType};
16 type_: SocketType, in socketpair()
H A Dsocket.rs9 AcceptFlags, AddressFamily, Protocol, Shutdown, SocketFlags, SocketType,
38 pub fn socket(domain: AddressFamily, type_: SocketType, protocol: Protocol) -> io::Result<OwnedFd> { in socket()
65 type_: SocketType, in socket_with()
H A Dmod.rs30 socket_with, AcceptFlags, AddressFamily, Protocol, Shutdown, SocketFlags, SocketType,
H A Dsockopt.rs9 use crate::net::{Ipv4Addr, Ipv6Addr, SocketType};
34 pub fn get_socket_type<Fd: AsFd>(fd: Fd) -> io::Result<SocketType> { in get_socket_type()
/third_party/node/src/
H A Dpipe_wrap.h37 enum SocketType { enum in node::PipeWrap
45 SocketType type);
H A Dtcp_wrap.h37 enum SocketType { enum in node::TCPWrap
44 SocketType type);
H A Dpipe_wrap.cc52 PipeWrap::SocketType type) { in Instantiate()
131 PipeWrap::SocketType type = static_cast<PipeWrap::SocketType>(type_value); in New()
H A Dudp_wrap.h122 enum SocketType { enum in node::final
177 SocketType type);
H A Dtcp_wrap.cc58 TCPWrap::SocketType type) { in Instantiate()
159 TCPWrap::SocketType type = static_cast<TCPWrap::SocketType>(type_value); in New()
H A Dudp_wrap.cc781 UDPWrap::SocketType type) { in Instantiate()
/third_party/rust/crates/rustix/tests/io/
H A Depoll.rs8 SocketAddrAny, SocketAddrV4, SocketType,
17 let listen_sock = socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in server()
77 socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in client()
/third_party/rust/crates/rustix/src/backend/libc/net/
H A Dsyscalls.rs15 use super::types::{AcceptFlags, AddressFamily, Protocol, Shutdown, SocketFlags, SocketType};
146 type_: SocketType,
161 type_: SocketType,
374 type_: SocketType,
397 use crate::net::{Ipv4Addr, Ipv6Addr, SocketType};
466 pub(crate) fn get_socket_type(fd: BorrowedFd<'_>) -> io::Result<SocketType> {
H A Dtypes.rs13 pub struct SocketType(pub(crate) RawSocketType); structure names
16 impl SocketType { impls
33 /// Constructs a `SocketType` from a raw integer.
39 /// Returns the raw integer for this `SocketType`.
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
H A Dsyscalls.rs16 use super::types::{AcceptFlags, AddressFamily, Protocol, Shutdown, SocketFlags, SocketType};
38 type_: SocketType,
62 type_: SocketType,
92 type_: SocketType,
755 use crate::net::{Ipv4Addr, Ipv6Addr, SocketType};
859 pub(crate) fn get_socket_type(fd: BorrowedFd<'_>) -> io::Result<SocketType> {
H A Dtypes.rs13 pub struct SocketType(pub(crate) RawSocketType); structure names
16 impl SocketType { impls
32 /// Constructs a `SocketType` from a raw integer.
38 /// Returns the raw integer for this `SocketType`.
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dvms_term_sock.c286 int SocketType, in CreateSocketPair()
315 SockDesc1 = socket (SocketFamily, SocketType, 0); in CreateSocketPair()
405 SockDesc2 = socket (SocketFamily, SocketType, 0); in CreateSocketPair()
282 CreateSocketPair(int SocketFamily, int SocketType, int SocketProtocol, int *SocketPair) CreateSocketPair() argument
/third_party/openssl/apps/lib/
H A Dvms_term_sock.c286 int SocketType, in CreateSocketPair()
315 SockDesc1 = socket (SocketFamily, SocketType, 0); in CreateSocketPair()
405 SockDesc2 = socket (SocketFamily, SocketType, 0); in CreateSocketPair()
282 CreateSocketPair(int SocketFamily, int SocketType, int SocketProtocol, int *SocketPair) CreateSocketPair() argument
/third_party/rust/crates/rustix/src/backend/linux_raw/
H A Dconv.rs618 impl<'a, Num: ArgNumber> From<(crate::net::SocketType, crate::net::SocketFlags)>
622 fn from(pair: (crate::net::SocketType, crate::net::SocketFlags)) -> Self { in from()
646 impl<'a, Num: ArgNumber> From<crate::net::SocketType> for ArgReg<'a, Num> {
648 fn from(type_: crate::net::SocketType) -> Self { in from()
/third_party/python/Lib/test/
H A Dtest_socket.py832 self.assertTrue(socket.SocketType is _socket.socket)
834 self.assertIsInstance(s, socket.SocketType)

Completed in 23 milliseconds