You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/inet/networklayer/ipv6/Ipv6Header.msg
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -34,10 +34,10 @@ class Ipv6Header extends NetworkHeaderBase
34
34
Ipv6Address srcAddress;
35
35
Ipv6Address destAddress;
36
36
B payloadLength = B(-1); // The size of the payload in octets, including any extension headers. The length is set to zero when a Hop-by-Hop extension header carries a Jumbo Payload option.
37
-
short trafficClass; // @bits(8) Traffic Class
38
-
// OMNeT++ 6.0:
39
-
// short __dscp @custom @getter(getDscp) @setter(setDscp); // @bit(6), maps to bits 0-5 of trafficClass
40
-
// short __ecn @custom @getter(getEcn) @setter(setEcn); // @bit(2), maps to bits 6-7 of trafficClass
37
+
short trafficClass@bit(8); // Traffic Class
38
+
39
+
shortdscp@custom@getter(getDscp) @setter(setDscp)@bit(6); // maps to bits 0-5 of trafficClass
40
+
shortecn@custom@getter(getEcn) @setter(setEcn)@bit(2); // maps to bits 6-7 of trafficClass
0 commit comments