Trait capsules_extra::net::ipv6::ipv6_recv::IP6Receiver

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

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>