A Discrete-Event Network Simulator
API
ns3::TrafficControlLayer::ProtocolHandlerEntry Struct Reference

Protocol handler entry. More...

+ Collaboration diagram for ns3::TrafficControlLayer::ProtocolHandlerEntry:

Public Attributes

Ptr< NetDevicedevice
 the NetDevice More...
 
Node::ProtocolHandler handler
 the protocol handler More...
 
bool promiscuous
 true if it is a promiscuous handler More...
 
uint16_t protocol
 the protocol number More...
 

Detailed Description

Protocol handler entry.

This structure is used to demultiplex all the protocols.

Definition at line 218 of file traffic-control-layer.h.

Member Data Documentation

◆ device

Ptr<NetDevice> ns3::TrafficControlLayer::ProtocolHandlerEntry::device

◆ handler

Node::ProtocolHandler ns3::TrafficControlLayer::ProtocolHandlerEntry::handler

the protocol handler

Definition at line 220 of file traffic-control-layer.h.

Referenced by ns3::TrafficControlLayer::RegisterProtocolHandler().

◆ promiscuous

bool ns3::TrafficControlLayer::ProtocolHandlerEntry::promiscuous

true if it is a promiscuous handler

Definition at line 223 of file traffic-control-layer.h.

Referenced by ns3::TrafficControlLayer::RegisterProtocolHandler().

◆ protocol

uint16_t ns3::TrafficControlLayer::ProtocolHandlerEntry::protocol

the protocol number

Definition at line 222 of file traffic-control-layer.h.

Referenced by ns3::TrafficControlLayer::RegisterProtocolHandler().


The documentation for this struct was generated from the following file: