oxidecomputer / oxidecomputer/opte
Replace ethernet header code with smoltcp
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 77
- Forks
- 11
- Avg merge
- 9d 20h
- Merged PRs (30d)
- 8
Description
Replace EtherHdrRaw/EtherHdr with smoltcp's EthernetFrame/EthernetRepr. We may be able to replace some of the other bits in there too as well, but I'd start with replacing the header types and go from there.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the definitions and uses of EtherHdrRaw and EtherHdr, then compare them with smoltcp's EthernetFrame and EthernetRepr APIs. Replace the existing ethernet header types first, and check whether the surrounding header-related code can also use smoltcp. Done means the old header types are no longer needed and the project still handles ethernet packets correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100