Lines Matching refs:socket
41 use crate::socket::dns;
42 use crate::socket::*;
803 let socket_poll_at = item.socket.poll_at(inner); in poll_at()
926 let result = match &mut item.socket { in socket_egress()
928 Socket::Raw(socket) => socket.dispatch(&mut self.inner, |inner, response| { in socket_egress()
932 Socket::Icmp(socket) => { in socket_egress()
933 socket.dispatch(&mut self.inner, |inner, response| match response { in socket_egress()
947 Socket::Udp(socket) => socket.dispatch(&mut self.inner, |inner, response| { in socket_egress()
951 Socket::Tcp(socket) => socket.dispatch(&mut self.inner, |inner, response| { in socket_egress()
955 Socket::Dhcpv4(socket) => socket.dispatch(&mut self.inner, |inner, response| { in socket_egress()
959 Socket::Dns(socket) => socket.dispatch(&mut self.inner, |inner, response| { in socket_egress()
1319 .filter_map(|i| raw::Socket::downcast_mut(&mut i.socket)) in raw_socket_filter()
1368 .filter_map(|i| udp::Socket::downcast_mut(&mut i.socket)) in process_udp()
1379 .filter_map(|i| dns::Socket::downcast_mut(&mut i.socket)) in process_udp()
1436 .filter_map(|i| tcp::Socket::downcast_mut(&mut i.socket)) in process_tcp()