It derives from
<GSocketControlMessage>.
Contains the Traffic Class byte of an IPv6 header.
This consists of the DSCP field as per RFC 2474, and the ECN field as per RFC 3168.
It may be received using Gio.Socket.receive_message over UDP
sockets (i.e. sockets in the ipv6 family
with datagram type). The message is not meant
for sending. To set Traffic Class field to be used in datagrams sent on
a <GSocket> use:
g_socket_set_option (socket, IPPROTO_IPV6, IPV6_TCLASS, <TC value>, &error);
Gets the differentiated services code point stored in self.
Passed: a <GIPv6TclassMessage>.
a traffic class message
Returned: an unsigned 8-bit integer.
A DSCP value as described in RFC 2474.
Gets the Explicit Congestion Notification code point stored in self.
Passed: a <GIPv6TclassMessage>.
a traffic class message
Returned: a <GEcnCodePoint>.
An ECN value as described in RFC 3168.
Creates a new traffic class message with given DSCP and ECN values.
Passed: an unsigned 8-bit integer, or a character.
the DSCP value of the message
Passed: a <GEcnCodePoint>, or one of its
symbols.
the ECN value of the message
Returned: a <GSocketControlMessage>.
a new traffic class message