InitVersionTrafficClassFlow()
Initializes the Version to 6 and sets Traffic Class and Flow fields to zero. The other fields in the IPv6 header remain unchanged.
IsValid() const
Indicates whether or not the header appears to be well-formed.
IsVersion6() const
Indicates whether or not the IPv6 Version is set to 6.
GetVerionTrafficClassFlow() const
Gets the combination of Version, Traffic Class, and Flow fields as a 32-bit value.
SetVerionTrafficClassFlow()
Sets the combination of Version, Traffic Class, and Flow fields as a 32-bit value.
GetTrafficClass() const
Gets the Traffic Class field.
SetTrafficClass()
Sets the Traffic Class filed.
GetDscp() const
Gets the 6-bit Differentiated Services Code Point (DSCP) from Traffic Class field.
SetDscp()
Sets 6-bit Differentiated Services Code Point (DSCP) in IPv6 header.
GetEcn() const
Gets the 2-bit Explicit Congestion Notification (ECN) from Traffic Class field.
SetEcn()
Sets the 2-bit Explicit Congestion Notification (ECN) in IPv6 header..
GetFlow() const
Gets the 20-bit Flow field.
SetFlow()
Sets the 20-bit Flow field in IPv6 header.
GetPayloadLength() const
Returns the IPv6 Payload Length value.
SetPayloadLength()
Sets the IPv6 Payload Length value.
Returns the IPv6 Next Header value.
Sets the IPv6 Next Header value.
GetHopLimit() const
Returns the IPv6 Hop Limit value.
SetHopLimit()
Sets the IPv6 Hop Limit value.
GetSource()
Returns the IPv6 Source address.
GetSource() const
Returns the IPv6 Source address.
SetSource()
Sets the IPv6 Source address.
GetDestination()
Returns the IPv6 Destination address.
GetDestination() const
Returns the IPv6 Destination address.
SetDestination()
Sets the IPv6 Destination address.
ParseFrom()
Parses and validates the IPv6 header from a given message. The header is read from @p aMessage at offset zero.