Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

DSCP and ECN Header Byte

Combine valid DSCP and ECN numbers into the differentiated-services byte.

Networking workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaHeader byte decimal = dscp*4+ecn

Made for real tasks

  • Combine valid DSCP and ECN numbers into the differentiated-services byte.
Explore step-by-step workflows →

Worked example

Inputs

DSCP value
46 integer
ECN value
2 integer

Expected results

Header byte decimal
186 integer

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter dscp value, ecn value in the displayed units.
  2. Calculate the scenario, then compare it with measurements before changing a system.

Try this example

{
  "dscp": 46,
  "ecn": 2
}

Accuracy and scope

Numeric construction only; does not assign forwarding policy or change network traffic.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.