Searched refs:UdpSocket (Results 1 – 6 of 6) sorted by relevance
158 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 …]
30 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() argument469 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() argument494 match std::net::UdpSocket::bind(addr) { in bind_udp_socket_retry()
29 use tokio::net::UdpSocket;61 fn mark_socket(socket: &std::net::UdpSocket, socket_mark: u32) -> io::Result<()> { in mark_socket() argument88 ) -> io::Result<UdpSocket> { in build_socket() argument94 let socket = UdpSocket::bind(bind_addr).await?; in build_socket()99 let socket = UdpSocket::from_std(std_socket)?; in build_socket()
29 use tokio::net::UdpSocket;129 socket: UdpSocket,170 socket: UdpSocket, in drive() argument182 socket: UdpSocket, in new() argument
82 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()
40 pub type SocketTagger = Arc<dyn Fn(&std::net::UdpSocket) -> BoxFuture<()> + Send + Sync>;