pub async fn write_message<B: ByteSlice + Debug, M: IcmpMessage<Ipv6, Code = IcmpUnusedCode> + Debug>(
    src_mac: Mac,
    dst_mac: Mac,
    src_ip: Ipv6Addr,
    dst_ip: Ipv6Addr,
    message: M,
    options: &[NdpOptionBuilder<'_>],
    ep: &TestFakeEndpoint<'_>
) -> Result
Expand description

Write an NDP message to the provided fake endpoint.

Given the source and destination MAC and IP addresses, NDP message and options, the full NDP packet (including IPv6 and Ethernet headers) will be transmitted to the fake endpoint’s network.