|
Bugzilla – Full Text Bug Listing |
| Summary: | DSCP Set/Get are using 8 bit values instead of 6 | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tommaso Pecorella <tommaso.pecorella> |
| Component: | internet | Assignee: | Tommaso Pecorella <tommaso.pecorella> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | ns-bugs, tomh |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | patch | ||
Fixed in changeset 11927:f901e232a153 |
Created attachment 2287 [details] patch The IPv{4,6}Header DSCP enum is defined as xxxxxx00, i.e., 6 bits and two MBZ bits. Although not wrong per-se, this could create a bit of confusion to the users because in the RFC the 6-bits notation is used. The patch changes the enum values and the Get/Set functions accordingly.