Expand description
Shared data types module.
Contains all #[repr(C)] structures that are shared between Rust and ASM, as well as other common type definitions.
§Reference
NETWORK_IMPL_GUIDE.md §2.6, ARCHITECTURE_V3.md
Re-exports§
pub use ethernet::EthernetHeader;pub use ethernet::MacAddress;pub use ethernet::ETH_ALEN;pub use ethernet::ETH_FRAME_MAX;pub use ethernet::ETH_HLEN;pub use ethernet::ETH_MTU;pub use repr_c::DriverState;pub use repr_c::RxPollResult;pub use repr_c::RxResult;pub use repr_c::TxPollResult;pub use repr_c::VirtqDesc;pub use repr_c::VirtqueueState;pub use result::AsmResult;pub use virtio_hdr::VirtioNetHdr;pub use virtio_hdr::VIRTIO_NET_HDR_GSO_NONE;
Modules§
- Ethernet frame types and helpers.
- #[repr(C)] structures for ASM interop.
- ASM result and error code types.
- VirtIO network header definitions.
Enums§
- HTTP method.
Type Aliases§
- Progress callback type for download operations. Simple function pointer type (bytes_downloaded, total_bytes_or_none).
- Progress callback with message type for operations with status messages. Parameters: (bytes_downloaded, total_bytes, message)