Adding SCTP support (Linux/FreeBSD)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 69
Description
I'm looking at adding SCTP support to the socket2 crate, and it would be useful to have definitions of constants and structs from netinet/sctp.h to do so. It seems like this crate is the most appropriate place to have those defined, given that definitions for similar protocols (TCP/UDP, or even the Linux-specific Netlink) are found here.
I would be happy to add the appropriate bindings and submit a PR for it here; I just wanted to check to see if such an addition would be desired.
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 inspecting the socket2 crate's existing TCP, UDP, and Linux Netlink definitions, then compare them with the platform header netinet/sctp.h on Linux and FreeBSD. Done means adding the requested SCTP constants and structs for both platforms; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- networking, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100