History log of /iperf/src/dscp.c (Results 1 – 4 of 4)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 3.11
# d424be34 15-Nov-2021 Preston Hunt <[email protected]>

Fix --dscp (#1162)

TOS = DSCP * 4; so shift DSCP << 2


Revision tags: 3.10.1, 3.10, 3.9, 3.8.1, 3.8
# 666040bd 16-Nov-2019 Xiang Xiao <[email protected]>

fix hotn?, strcasecmp and timeval isn't defined error

by including arpa/inet.h, strings.h and sys/timer.h

Part of #935.

Change-Id: Ibac8d3a992457f2a7cc10f74b144e3ebe69976d8
Signed-off-by: Xiang Xi

fix hotn?, strcasecmp and timeval isn't defined error

by including arpa/inet.h, strings.h and sys/timer.h

Part of #935.

Change-Id: Ibac8d3a992457f2a7cc10f74b144e3ebe69976d8
Signed-off-by: Xiang Xiao <[email protected]>
(cherry picked from commit b9aa6cef43b338666a72bf6425fc88ed7602bce5)
Signed-off-by: Bruce A. Mah <[email protected]>

show more ...


# 407a5ba8 16-Nov-2019 Xiang Xiao <[email protected]>

fix warning: "HAVE_NETINET_IN_SYSTM_H"/"HAVE_NETINET_IP_H" is not defined

Part of #935.

Change-Id: Ibcc4ad4370a6f99b030ca2c44f151c4550695957
Signed-off-by: Xiang Xiao <[email protected]>
(cherry

fix warning: "HAVE_NETINET_IN_SYSTM_H"/"HAVE_NETINET_IP_H" is not defined

Part of #935.

Change-Id: Ibcc4ad4370a6f99b030ca2c44f151c4550695957
Signed-off-by: Xiang Xiao <[email protected]>
(cherry picked from commit 6c10c3e6e65ffca32d97b3f2ef4db839c049a85c)
Signed-off-by: Bruce A. Mah <[email protected]>

show more ...


Revision tags: 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.2rc1
# 97c95c3b 14-Apr-2017 Dave Täht <[email protected]>

add support for specifying --dscp symbolically and numerically (#508)

Using a command line adding dscp (instead of tos) you can:

--dscp EF,CS1,etc.
--dscp 0x08
--dscp 63

These will provide t

add support for specifying --dscp symbolically and numerically (#508)

Using a command line adding dscp (instead of tos) you can:

--dscp EF,CS1,etc.
--dscp 0x08
--dscp 63

These will provide the correct shifted left 2 tos value for these, and
for people that think in terms of dscp values, this is a goodness.

Having this option available lets an enduser clearly distinguish between
an old version of iperf with a non-working --tos facility, vs a
version where it works, with something saner that lets just specify
the dscp.

I did not come up with a good -? option for it, and used -5 internally.

show more ...