pub trait IcmpEchoBindingsContext<I: IpExt, D: StrongDeviceIdentifier>: IcmpEchoBindingsTypes + ReferenceNotifiers + RngContext {
// Required method
fn receive_icmp_echo_reply<B: BufferMut>(
&mut self,
conn: &IcmpSocketId<I, D::Weak, Self>,
device_id: &D,
src_ip: I::Addr,
dst_ip: I::Addr,
id: u16,
data: B,
);
}
Expand description
The context required by the ICMP layer in order to deliver events related to ICMP sockets.
Required Methods§
sourcefn receive_icmp_echo_reply<B: BufferMut>(
&mut self,
conn: &IcmpSocketId<I, D::Weak, Self>,
device_id: &D,
src_ip: I::Addr,
dst_ip: I::Addr,
id: u16,
data: B,
)
fn receive_icmp_echo_reply<B: BufferMut>( &mut self, conn: &IcmpSocketId<I, D::Weak, Self>, device_id: &D, src_ip: I::Addr, dst_ip: I::Addr, id: u16, data: B, )
Receives an ICMP echo reply.
Object Safety§
This trait is not object safe.