Home
last modified time | relevance | path

Searched defs:Loopback (Results 1 – 2 of 2) sorted by relevance

/smoltcp-0.9.1/src/phy/
Dloopback.rs9 pub struct Loopback { struct
15 impl Loopback { implementation
20 pub fn new(medium: Medium) -> Loopback { in new()
28 impl Device for Loopback { implementation
/smoltcp-0.9.1/src/iface/interface/
Dtests.rs25 fn create<'a>(medium: Medium) -> (Interface, SocketSet<'a>, Loopback) { in create() argument
38 fn create_ip<'a>() -> (Interface, SocketSet<'a>, Loopback) { in create_ip() argument
63 fn create_ethernet<'a>() -> (Interface, SocketSet<'a>, Loopback) { in create_ethernet() argument
89 fn create_ieee802154<'a>() -> (Interface, SocketSet<'a>, Loopback) { in create_ieee802154() argument
111 fn recv_all(device: &mut Loopback, timestamp: Instant) -> Vec<Vec<u8>> { in recv_all()
1106 fn recv_igmp(device: &mut Loopback, timestamp: Instant) -> Vec<(Ipv4Repr, IgmpRepr)> { in test_handle_igmp()