capsules_extra::net::ipv6::ipv6_recv

Trait IP6Receiver

Source
pub trait IP6Receiver<'a> {
    // Required method
    fn set_client(&self, client: &'a dyn IP6RecvClient);
}
Expand description

Receiver trait for IPv6.

Currently only one implementation of this trait should exist, as we do not multiplex received packets based on the address. The receiver receives IP packets destined for any local address. The receiver should drop any packets with destination addresses that are not among the local addresses of this device.

Required Methods§

Source

fn set_client(&self, client: &'a dyn IP6RecvClient)

Implementors§

Source§

impl<'a> IP6Receiver<'a> for IP6RecvStruct<'a>