Home
last modified time | relevance | path

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

/packages/modules/adb/client/openscreen/platform/
Dudp_socket.cpp158 class AdbUdpSocket : public UdpSocket {
160 explicit AdbUdpSocket(UdpSocket::Client* client, const IPEndpoint& local_endpoint, unique_fd fd) in AdbUdpSocket()
191 case UdpSocket::Version::kV4: { in GetLocalEndpoint()
205 case UdpSocket::Version::kV6: { in GetLocalEndpoint()
276 case UdpSocket::Version::kV4: { in SetMulticastOutboundInterface()
311 case UdpSocket::Version::kV6: { in SetMulticastOutboundInterface()
336 case UdpSocket::Version::kV4: { in JoinMulticastGroup()
357 case UdpSocket::Version::kV6: { in JoinMulticastGroup()
416 case UdpSocket::Version::kV4: { in JoinMulticastGroup()
427 case UdpSocket::Version::kV6: { in JoinMulticastGroup()
[all …]
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Ddns_https_frontend.rs30 use tokio::net::UdpSocket;
93 frontend_socket: std::net::UdpSocket,
94 backend_socket: std::net::UdpSocket,
239 let backend_socket = std::net::UdpSocket::bind(bind_addr)?; in init_worker_thread_params()
468 fn into_tokio_udp_socket(socket: std::net::UdpSocket) -> Result<UdpSocket> { in into_tokio_udp_socket() argument
469 match UdpSocket::from_std(socket) { in into_tokio_udp_socket()
492 fn bind_udp_socket_retry(addr: std::net::SocketAddr) -> Result<std::net::UdpSocket> { in bind_udp_socket_retry() argument
494 match std::net::UdpSocket::bind(addr) { in bind_udp_socket_retry()
/packages/modules/DnsResolver/doh/connection/
Dmod.rs29 use tokio::net::UdpSocket;
61 fn mark_socket(socket: &std::net::UdpSocket, socket_mark: u32) -> io::Result<()> { in mark_socket() argument
88 ) -> io::Result<UdpSocket> { in build_socket() argument
94 let socket = UdpSocket::bind(bind_addr).await?; in build_socket()
99 let socket = UdpSocket::from_std(std_socket)?; in build_socket()
Ddriver.rs29 use tokio::net::UdpSocket;
129 socket: UdpSocket,
170 socket: UdpSocket, in drive() argument
182 socket: UdpSocket, in new() argument
/packages/modules/DnsResolver/doh/
Dffi.rs82 Arc::new(move |udp_socket: &std::net::UdpSocket| { in wrap_tag_socket_callback()
429 let sock = std::net::UdpSocket::bind("127.0.0.1:0").unwrap(); in wrap_tag_socket_callback_converts_correctly()
/packages/modules/DnsResolver/doh/network/
Dmod.rs40 pub type SocketTagger = Arc<dyn Fn(&std::net::UdpSocket) -> BoxFuture<()> + Send + Sync>;