microsoft / microsoft/demikernel

[inetstack] Compute Default MSS from MTU

Open
#221 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug confirmed good first issue
Dominant language
Rust
Stars
1.2k
Forks
151
PR merge metrics
No merged PRs in 30d

Description

Description

The fallback MSS value is hard-code.

https://github.com/demikernel/demikernel/blob/bce10726908aa20b0bdf897731e9acbd2d79614e/src/rust/runtime/network/consts.rs#L17-L20

Proposed Solution

We should compute the fallback MSS value based on the value of the MTU, IP and TCP headers.

Related Issues

  • demikernel/demikernel#178

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 with src/rust/runtime/network/consts.rs at lines 17-20 and review related issue #178 for context. Trace how the fallback MSS is used, then make the result derive from the MTU and IP/TCP header values; it is done when the hard-coded fallback is replaced by that computation.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.