]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Adjust terminology related to DSCP 16146/head
authorDavid Ward <david.ward@ll.mit.edu>
Sun, 2 Jun 2024 10:42:23 +0000 (06:42 -0400)
committerDavid Ward <david.ward@ll.mit.edu>
Sun, 2 Jun 2024 10:44:59 +0000 (06:44 -0400)
commit172dd682d907c1e694db7e6d9d7d2023b3b566c5
treea16c8f0bdc58045bd4f06ebb908e906ea077c96a
parent8954dd3a6b291cc2f778a322aad18418a13675f6
bgpd: Adjust terminology related to DSCP

The default DSCP used for BGP connections is CS6. The DSCP value is
not part of the TCP header.

When setting the IP_TOS or IPV6_TCLASS socket options, the argument
is not the 6-bit DSCP value, but an 8-bit value for the former IPv4
Type of Service field or IPv6 Traffic Class field, respectively.

Fixes: 425bd64be847 ("bgpd: Allow bgp to control the DSCP session TOS value")
Signed-off-by: David Ward <david.ward@ll.mit.edu>
bgpd/bgp_network.c
bgpd/bgp_vty.c
bgpd/bgpd.c
bgpd/bgpd.h
doc/user/bgp.rst