Package: inet.linklayer.common
ExampleQosClassifier
simple moduleAn example QoS classifier that assigns a User Priority based on the transport protocol and port numbers.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Properties
Name | Value | Description |
---|---|---|
display | i=block/classifier |
Gates
Name | Direction | Size | Description |
---|---|---|---|
in | input | ||
out | output |
Direct method calls (observed)
call to | function | info |
---|---|---|
Ieee80211LlcLpd | inet::ieee80211::Ieee80211LlcLpd::handleRegisterProtocol | handleRegisterProtocol |
Ieee80211LlcLpd | inet::ieee80211::Ieee80211LlcLpd::handleRegisterService | handleRegisterService |
Called methods (observed)
function | info | call from |
---|---|---|
inet::ExampleQosClassifier::handleRegisterProtocol | handleRegisterProtocol | MessageDispatcher |
inet::ExampleQosClassifier::handleRegisterService | handleRegisterService | MessageDispatcher |
Incoming messages (observed)
gate | msg | kind | ctrl | srcModule | tags |
---|---|---|---|---|---|
in | Packet | 0 | Arp | InterfaceReq, MacAddressReq, PacketProtocolTag | |
in | Packet | 0 | Ipv4 | DispatchProtocolInd, InterfaceReq, MacAddressReq, MulticastReq, NetworkProtocolInd, PacketProtocolTag, TransportProtocolInd |
Outgoing messages (observed)
gate | msg | kind | ctrl | destModule | tags |
---|---|---|---|---|---|
out | Packet | 0 | Ieee80211LlcLpd | InterfaceReq, MacAddressReq, PacketProtocolTag, UserPriorityReq, DispatchProtocolInd?, MulticastReq?, NetworkProtocolInd?, TransportProtocolInd? |
Packet operations (observed)
chunkType | packetAction |
---|---|
Ipv4Header | peekDataAt |
UdpHeader | peekDataAt |
Shared Tagging operations (observed)
tagType | tagAction |
---|---|
PacketProtocolTag | getTag |
UserPriorityReq | addTagIfAbsent |
Source code
// // An example QoS classifier that assigns a User Priority based on // the transport protocol and port numbers. // simple ExampleQosClassifier like IIeee8021dQosClassifier { parameters: @display("i=block/classifier"); gates: input in; output out; }File: src/inet/linklayer/common/ExampleQosClassifier.ned