rust-lang / rust-lang/socket2

Add Layer2 protocols

Open
#522 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
870
Forks
305
PR merge metrics
No merged PRs in 30d

Description

The AF_PACKET domain has already been added.
But without ETH_P_ALL or other eth protocols, we still can't receive or send datalink layer packets.
Is it possilbe to add L2 protocols?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing AF_PACKET support and reviewing how protocol values are represented. Determine the intended ETH_P_ALL and other Ethernet protocol scope, then verify that the completed change supports receiving and sending datalink-layer packets; the issue names no tests or files to run.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.