Home
last modified time | relevance | path

Searched refs:socket_new (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
H A Dsocket.rs24 use crate::sys::socket::socket_new;
30 let socket = socket_new(AF_UNIX, libc::SOCK_STREAM)?; in bind()
44 let socket = socket_new(AF_UNIX, libc::SOCK_STREAM)?; in connect()
53 let socket = socket_new(AF_UNIX, libc::SOCK_DGRAM)?; in unbound()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/udp/
H A Dsocket.rs21 use crate::sys::socket::socket_new;
38 let socket = socket_new(domain, socket_type)?; in create_socket()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/
H A Dsocket.rs28 use crate::sys::unix::socket::socket_new;
44 let socket = socket_new(domain, socket_type)?; in create_socket()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Dsource_fd.rs53 let sock = socket::socket_new(libc::AF_UNIX, libc::SOCK_STREAM).unwrap(); in ut_source_fd_debug_info()
H A Dsocket.rs18 pub(crate) fn socket_new(domain: c_int, socket_type: c_int) -> io::Result<c_int> { in socket_new() function
H A Depoll.rs180 let sock = socket::socket_new(libc::AF_UNIX, libc::SOCK_STREAM).unwrap(); in ut_epoll_reregister()