INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:198
by nedtool.
More...
#include <UDPControlInfo_m.h>
Protected Member Functions | |
bool | operator== (const UDPSetTypeOfServiceCommand &) |
Protected Member Functions inherited from inet::UDPSetOptionCommand | |
bool | operator== (const UDPSetOptionCommand &) |
Protected Member Functions inherited from inet::UDPControlInfo | |
bool | operator== (const UDPControlInfo &) |
Protected Attributes | |
char | tos |
Protected Attributes inherited from inet::UDPControlInfo | |
int | sockId |
Private Member Functions | |
void | copy (const UDPSetTypeOfServiceCommand &other) |
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:198
by nedtool.
// // Control info for setting the Type of Service (IPv4) or Traffic Class (IPv6) // header field on outgoing IPv4/IPv6 packets sent from an UDP socket. // This is an 8-bit field, the lowest 6 bits are the DSCP (DiffServ Code Point) // and the highest 2 bits are the ECN (Explicit Congestion Notification). // To set the option, send a message to the ~UDP module with kind=UDP_C_SETOPTION // and an and instance of this control info class attached. // // @see ~UDPCommandCode // class UDPSetTypeOfServiceCommand extends UDPSetOptionCommand { char tos; // ToS byte for IPv4/IPv6 }
inet::UDPSetTypeOfServiceCommand::UDPSetTypeOfServiceCommand | ( | ) |
inet::UDPSetTypeOfServiceCommand::UDPSetTypeOfServiceCommand | ( | const UDPSetTypeOfServiceCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::UDPSetOptionCommand.
|
virtual |
UDPSetTypeOfServiceCommand& inet::UDPSetTypeOfServiceCommand::operator= | ( | const UDPSetTypeOfServiceCommand & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::UDPSetOptionCommand.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::UDPSetOptionCommand.
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::UDPSocket::setTypeOfService().
|
protected |