A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::Node::ProtocolHandlerEntry Struct Reference

Protocol handler entry. More...

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

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 262 of file node.h.

Member Data Documentation

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

the NetDevice

Definition at line 264 of file node.h.

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

ProtocolHandler ns3::Node::ProtocolHandlerEntry::handler

the protocol handler

Definition at line 263 of file node.h.

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

bool ns3::Node::ProtocolHandlerEntry::promiscuous

true if it is a promiscuous handler

Definition at line 266 of file node.h.

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

uint16_t ns3::Node::ProtocolHandlerEntry::protocol

the protocol number

Definition at line 265 of file node.h.

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


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