aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorLoganaden Velvindron <logan@cyberstorm.mu>2019-03-16 11:19:00 +0400
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2019-03-21 16:35:16 +0000
commitd98d221865064e127eebe9daedb1794149876c29 (patch)
treed89cd12ac7b6abd72cf55ac873cb9e86801fccc2 /epan/dissectors
parent9cf77ec5e12e24f1a8c6eb9fa14c015b830f066b (diff)
packet-ip: Add codepoint LE as per draft-ietf-tsvwg-le-phb.
From the I-D: This document defines a Differentiated Services per-hop behavior [RFC2474] called "Lower Effort" (LE), which is intended for traffic of sufficiently low urgency that all other traffic takes precedence over the LE traffic in consumption of network link bandwidth [snip] Example uses for the LE PHB: o For traffic caused by world-wide web search engines while they gather information from web servers. o For software updates or dissemination of new releases of operating systems. o For reporting errors or telemetry data from operating systems or applications. o For backup traffic or non-time critical synchronization or mirroring traffic. o For content distribution transfers between caches. o For preloading or prefetching objects from web sites. o For network news and other "bulk mail" of the Internet. o For "downgraded" traffic from some other PHB when this does not violate the operational objectives of the other PHB. o For multicast traffic from untrusted (e.g., non-local) sources. Change-Id: I90b2a08332943daf8349826eaa0862f0c12d6a05 Reviewed-on: https://code.wireshark.org/review/32427 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-ip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c
index a579f68436..4dc7623f04 100644
--- a/epan/dissectors/packet-ip.c
+++ b/epan/dissectors/packet-ip.c
@@ -335,6 +335,7 @@ const value_string ip_version_vals[] = {
/* Differentiated Services Field. See RFCs 2474, 2597, 2598 and 3168. */
#define IPDSFIELD_DSCP_DEFAULT 0x00
+#define IPDSFIELD_DSCP_LE 0x01
#define IPDSFIELD_DSCP_CS1 0x08
#define IPDSFIELD_DSCP_AF11 0x0A
#define IPDSFIELD_DSCP_AF12 0x0C
@@ -1717,6 +1718,7 @@ local_network_control_block_addr_valid_ttl(guint32 addr)
static const value_string dscp_short_vals[] = {
{ IPDSFIELD_DSCP_DEFAULT, "CS0" },
+ { IPDSFIELD_DSCP_LE, "LE" },
{ IPDSFIELD_DSCP_CS1, "CS1" },
{ IPDSFIELD_DSCP_AF11, "AF11" },
{ IPDSFIELD_DSCP_AF12, "AF12" },
@@ -1743,6 +1745,7 @@ value_string_ext dscp_short_vals_ext = VALUE_STRING_EXT_INIT(dscp_short_vals);
static const value_string dscp_vals[] = {
{ IPDSFIELD_DSCP_DEFAULT, "Default" },
+ { IPDSFIELD_DSCP_LE, "Lower Effort" },
{ IPDSFIELD_DSCP_CS1, "Class Selector 1" },
{ IPDSFIELD_DSCP_AF11, "Assured Forwarding 11" },
{ IPDSFIELD_DSCP_AF12, "Assured Forwarding 12" },