Module capsules_extra::net::ipv6::ipv6_send

source ·
Expand description

This file contains the interface definition for sending an IPv6 packet. The IP6Sender trait provides an interface for sending IPv6 packets, while the IP6SendClient trait must be implemented by upper layers to receive the send_done callback when a transmission has completed.

This file also includes an implementation of the IP6Sender trait, which sends an IPv6 packet using 6LoWPAN.

Structs§

  • This struct is a specific implementation of the IP6Sender trait. This struct sends the packet using 6LoWPAN over a generic MacDevice object.

Traits§

  • This trait must be implemented by upper layers in order to receive the send_done callback when a transmission has completed. The upper layer must then call IP6Sender.set_client in order to receive this callback.
  • This trait provides a basic IPv6 sending interface. It exposes basic configuration information for the IPv6 layer (setting the source address, setting the gateway MAC address), as well as a way to send an IPv6 packet.