Bug 10789 - netinet/ip.h lacks DSCP definitions
Summary: netinet/ip.h lacks DSCP definitions
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.9
: P3 minor
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-16 18:19 UTC by Philip Prindeville
Modified: 2014-07-01 05:40 UTC (History)
1 user (show)

See Also:
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu
Last reconfirmed:
fweimer: security-


Attachments
Patch for netinet/ip.h to add DSCP definitions (405 bytes, patch)
2009-10-16 18:22 UTC, Philip Prindeville
Details | Diff
Patch for netinet/ip.h to add DSCP definitions (750 bytes, patch)
2009-10-16 20:06 UTC, Philip Prindeville
Details | Diff
Patch for netinet/ip.h to add DSCP definitions (634 bytes, patch)
2009-10-16 20:19 UTC, Philip Prindeville
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Prindeville 2009-10-16 18:19:41 UTC
TOS and Precedence are obsolete, and most of the Internet uses DSCP marking.

For programs to more easily be modified to use DSCP markings, standard header
definitions should be added to include these.
Comment 1 Philip Prindeville 2009-10-16 18:22:07 UTC
Created attachment 4292 [details]
Patch for netinet/ip.h to add DSCP definitions
Comment 2 Philip Prindeville 2009-10-16 20:06:14 UTC
Created attachment 4294 [details]
Patch for netinet/ip.h to add DSCP definitions

Includes Copyright update.
Comment 3 Philip Prindeville 2009-10-16 20:19:27 UTC
Created attachment 4295 [details]
Patch for netinet/ip.h to add DSCP definitions

Hopefully the last.  :-)  Added ECN definitions as well, though ECN isn't very
useful in user-space, except perhaps to tcpdump, etc.
Comment 4 Philip Prindeville 2009-10-28 21:53:47 UTC
See also:

http://sourceware.org/ml/libc-alpha/2009-10/msg00038.html
Comment 5 Ulrich Drepper 2009-10-29 17:41:29 UTC
I've applied the patch.