oxidecomputer / oxidecomputer/ingot
Want to unconditionally create `Valid{}` packets over given buffer
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 13
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
We have a few places in tests where we need to preset values in a buffer in order to successfully create a zero-copy view for a given packet type if the length computation of variable length elements depends on existing state -- for instance, Ipv6 packets. It would be useful in such cases to bypass nested subparsing, or to force a minimum-sized repr in a given buffer.
Contributor guide
No contributing guide indexed for this repository
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 existing tests that preset buffer values and the packet-construction entry points used for zero-copy views, especially for Ipv6. Compare the desired Valid{} behavior with the current nested subparsing and minimum-size handling. Done means tests can create the requested Valid packet over a supplied buffer without requiring preexisting variable-length state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100