Trait netstack3_ip::nud::NudSenderContext
source · pub trait NudSenderContext<I: Ip, D: LinkDevice, BC>: NudConfigContext<I> + DeviceIdContext<D> {
// Required method
fn send_ip_packet_to_neighbor_link_addr<S>(
&mut self,
bindings_ctx: &mut BC,
neighbor_link_addr: D::Address,
body: S,
) -> Result<(), SendFrameError<S>>
where S: Serializer,
S::Buffer: BufferMut;
}
Expand description
The execution context for NUD for a link device that allows sending IP packets to specific neighbors.
Required Methods§
sourcefn send_ip_packet_to_neighbor_link_addr<S>(
&mut self,
bindings_ctx: &mut BC,
neighbor_link_addr: D::Address,
body: S,
) -> Result<(), SendFrameError<S>>where
S: Serializer,
S::Buffer: BufferMut,
fn send_ip_packet_to_neighbor_link_addr<S>(
&mut self,
bindings_ctx: &mut BC,
neighbor_link_addr: D::Address,
body: S,
) -> Result<(), SendFrameError<S>>where
S: Serializer,
S::Buffer: BufferMut,
Send an IP frame to the neighbor with the specified link address.
Object Safety§
This trait is not object safe.