Skip to content

Commit b1c7297

Browse files
committed
internet: Clarify DSCP codepoint value (Doxygen)
1 parent 29ba086 commit b1c7297

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/internet/model/ipv4-header.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,14 @@ class Ipv4Header : public Header
5858
public:
5959
/**
6060
* \enum DscpType
61-
* \brief DiffServ Code Points
62-
* Code Points defined in
63-
* Assured Forwarding (AF) \RFC{2597}
64-
* Expedited Forwarding (EF) \RFC{2598}
65-
* Default and Class Selector (CS) \RFC{2474}
61+
* \brief DiffServ codepoints
62+
*
63+
* The values correspond to the 6-bit DSCP codepoint within the 8-bit
64+
* DS field defined in \RFC {2474}. ECN bits are separately set with the
65+
* SetEcn() method. Codepoints are defined in
66+
* Assured Forwarding (AF) \RFC{2597},
67+
* Expedited Forwarding (EF) \RFC{2598}, and
68+
* Default and Class Selector (CS) \RFC{2474}.
6669
*/
6770
enum DscpType
6871
{

0 commit comments

Comments
 (0)