A Discrete-Event Network Simulator
API
Public Attributes | List of all members
ns3::Node::ProtocolHandlerEntry Struct Reference

Protocol handler entry. More...

Public Attributes

Ptr< NetDevicedevice
 the NetDevice More...
 
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 273 of file node.h.

Member Data Documentation

◆ device

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

the NetDevice

Definition at line 275 of file node.h.

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

◆ handler

ProtocolHandler ns3::Node::ProtocolHandlerEntry::handler

the protocol handler

Definition at line 274 of file node.h.

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

◆ promiscuous

bool ns3::Node::ProtocolHandlerEntry::promiscuous

true if it is a promiscuous handler

Definition at line 277 of file node.h.

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

◆ protocol

uint16_t ns3::Node::ProtocolHandlerEntry::protocol

the protocol number

Definition at line 276 of file node.h.

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


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