Module capsules_extra::net::ipv6
source · Modules§
- This file implements various utilities used by the different components of the IP stack. Note that this file also contains the definition for the IPAddr struct and associated helper functions.
- 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.
Structs§
- This is the struct definition for an IPv6 header. It contains (in order) the same fields as a normal IPv6 header.
- This struct defines the
IP6Packet
format, and contains anIP6Header
and anIPPayload
. - The
IPPayload
struct contains aTransportHeader
and a mutable buffer (the payload).
Enums§
- This defines the currently supported
TransportHeader
types. The contents of each header is encapsulated by the enum type. Note that this definition ofTransportHeader
s means that recursive headers are not supported. As of now, there is no support for sending raw IP packets without a transport header. Currently we accept the overhead of copying these structs in/out of an OptionalCell inudp_send.rs
.