#ip #udp-packet #no-alloc #parser #async #ip-address #networking

no-std edge-raw

Async + no_std + no-alloc implementation of IP and UDP packet creation and parsing

3 releases (breaking)

0.3.0 Sep 10, 2024
0.2.0 Feb 1, 2024
0.1.0 Jan 27, 2024

#18 in #udp-packet

Download history 77/week @ 2024-07-27 60/week @ 2024-08-03 22/week @ 2024-08-10 16/week @ 2024-08-17 12/week @ 2024-08-24 36/week @ 2024-08-31 121/week @ 2024-09-07 108/week @ 2024-09-14 33/week @ 2024-09-21 19/week @ 2024-09-28 16/week @ 2024-10-05 13/week @ 2024-10-12 12/week @ 2024-10-19 21/week @ 2024-10-26 17/week @ 2024-11-02 16/week @ 2024-11-09

67 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

34KB
809 lines

edge-raw

CI crates.io Documentation

Async + no_std + no-alloc implementation of IP and UDP packet creation and parsing.

The edge_raw::io module contains implementations of the edge_nal::RawBind trait, as well as of the edge_nal::RawReceive and edge_nal::RawSend traits.

These are useful in the context of protocols like DHCP, which - while working on top of UDP - need to be capable of receiving and sending packets to peers that do not have an IP address assigned yet.

For other protocols, look at the edge-net aggregator crate documentation.

Examples

Look at the edge-dhcp crate as to how to utilize the capabilities of edge-raw.

Dependencies

~95KB