Namespace inet
NetworkProtocolInd
classThis indication specifies the network protocol that was used to receive the packet. It may be present from the network protocol to the application.
Extends
| Name | Type | Description |
|---|---|---|
| ProtocolTagBase | (unknown -- not in documented files) |
Fields
| Name | Type | Description |
|---|---|---|
| networkProtocolHeader | ChunkPtr |
Shared Tagging operations (observed)
| tagAction | module |
|---|---|
| addTag | Tun |
| addTagIfAbsent | DscpMarker, Flooding, Ipv4, Ipv6, NextHopForwarding, AdaptiveProbabilisticBroadcast, ProbabilisticBroadcast, WiseRoute, RedDropper, Gpsr |
| findTag | MultiFieldClassifier, Aodv, Dymo, Gpsr, SctpCrcInsertion, TcpCrcInsertionHook, UdpCrcInsertionHook |
| getTag | Tun, EchoProtocol, Tcp, Udp |
| removeTagIfPresent | DscpMarker, Ipv4, Ipv6, NextHopForwarding, RedDropper, Gpsr |
Source code
// // This indication specifies the network protocol that was used to receive the // packet. It may be present from the network protocol to the application. // class NetworkProtocolInd extends ProtocolTagBase { ChunkPtr networkProtocolHeader; }File: src/inet/common/ProtocolTag.msg