A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::Node::ProtocolHandlerEntry Struct Reference

Protocol handler entry. More...

+ Collaboration diagram for ns3::Node::ProtocolHandlerEntry:

Public Attributes

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

Detailed Description

Protocol handler entry.

This structure is used to demultiplex all the protocols.

Definition at line 277 of file node.h.

Member Data Documentation

◆ device

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

the NetDevice

Definition at line 280 of file node.h.

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

◆ handler

ProtocolHandler ns3::Node::ProtocolHandlerEntry::handler

the protocol handler

Definition at line 279 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 282 of file node.h.

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

◆ protocol

uint16_t ns3::Node::ProtocolHandlerEntry::protocol

the protocol number

Definition at line 281 of file node.h.

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


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