Constructor
GioIPTosMessagenew
unstable since: 2.88
Declaration [src]
GSocketControlMessage*
g_ip_tos_message_new (
guint8 dscp,
GEcnCodePoint ecn
)
Description [src]
Creates a new type-of-service message with given DSCP and ECN values.
Available since: 2.88
Parameters
dscp-
Type:
guint8The DSCP value of the message.
ecn-
Type:
GEcnCodePointThe ECN value of the message.
Return value
Type: GSocketControlMessage
A new type-of-service message.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |