Bugzilla – Attachment 3256 Details for
Bug 2986
Add codepoints for LE PHB draft
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
LE Patch
0002-Added-Lower-Effort-PHB-Support-https-tools.ietf.org-.patch (text/plain), 1.50 KB, created by
veegish
on 2019-03-22 23:20:12 AEDT
(
hide
)
Description:
LE Patch
Filename:
MIME Type:
Creator:
veegish
Created:
2019-03-22 23:20:12 AEDT
Size:
1.50 KB
patch
obsolete
>From 25f00a99cd5a56b0854ef34ccdfedf571f648682 Mon Sep 17 00:00:00 2001 >From: veegishx <veegish@cyberstorm.mu> >Date: Fri, 22 Mar 2019 14:59:41 +0400 >Subject: [PATCH 2/2] Added Lower Effort PHB Support: > https://tools.ietf.org/html/draft-ietf-tsvwg-le-phb-09 > >Signed-off-by: veegishx <veegish@cyberstorm.mu> >Signed-off-by: yashveer <yashveer@cyberstorm.mu> > >--- > defines.h | 1 + > misc.c | 1 + > regress/netcat.c | 1 + > 3 files changed, 3 insertions(+) > >diff --git a/defines.h b/defines.h >index 8f42130..954d84e 100644 >--- a/defines.h >+++ b/defines.h >@@ -85,6 +85,7 @@ enum > #endif /* IPTOS_DSCP_AF11 */ > #ifndef IPTOS_DSCP_CS0 > # define IPTOS_DSCP_CS0 0x00 >+# define IPTOS_LE 0x01 > # define IPTOS_DSCP_CS1 0x20 > # define IPTOS_DSCP_CS2 0x40 > # define IPTOS_DSCP_CS3 0x60 >diff --git a/misc.c b/misc.c >index 009e02b..06d8e9e 100644 >--- a/misc.c >+++ b/misc.c >@@ -1503,6 +1503,7 @@ static const struct { > { "af42", IPTOS_DSCP_AF42 }, > { "af43", IPTOS_DSCP_AF43 }, > { "cs0", IPTOS_DSCP_CS0 }, >+ { "le", IPTOS_LE }, > { "cs1", IPTOS_DSCP_CS1 }, > { "cs2", IPTOS_DSCP_CS2 }, > { "cs3", IPTOS_DSCP_CS3 }, >diff --git a/regress/netcat.c b/regress/netcat.c >index 56bd09d..c622dce 100644 >--- a/regress/netcat.c >+++ b/regress/netcat.c >@@ -1220,6 +1220,7 @@ map_tos(char *s, int *val) > { "af43", IPTOS_DSCP_AF43 }, > { "critical", IPTOS_PREC_CRITIC_ECP }, > { "cs0", IPTOS_DSCP_CS0 }, >+ { "le", IPTOS_LE }, > { "cs1", IPTOS_DSCP_CS1 }, > { "cs2", IPTOS_DSCP_CS2 }, > { "cs3", IPTOS_DSCP_CS3 }, >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2986
: 3256