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

Packet Metadata, allows us to track the packet's metadata as it passes through the switch. More...

#include <openflow-interface.h>

+ Collaboration diagram for ns3::ofi::SwitchPacketMetadata:

Public Attributes

ofpbuf * buffer
 The OpenFlow buffer as created from the Packet, with its data and headers. More...
 
Address dst
 Destination Address of the Packet when the Packet is received. More...
 
Ptr< Packetpacket
 The Packet itself. More...
 
uint16_t protocolNumber
 Protocol type of the Packet when the Packet is received. More...
 
Address src
 Source Address of the Packet when the Packet is received. More...
 

Detailed Description

Packet Metadata, allows us to track the packet's metadata as it passes through the switch.

Definition at line 332 of file openflow-interface.h.

Member Data Documentation

ofpbuf* ns3::ofi::SwitchPacketMetadata::buffer

The OpenFlow buffer as created from the Packet, with its data and headers.

Definition at line 335 of file openflow-interface.h.

Address ns3::ofi::SwitchPacketMetadata::dst

Destination Address of the Packet when the Packet is received.

Definition at line 338 of file openflow-interface.h.

Referenced by check-style.PatchChunk::dst_len().

Ptr<Packet> ns3::ofi::SwitchPacketMetadata::packet

The Packet itself.

Definition at line 334 of file openflow-interface.h.

uint16_t ns3::ofi::SwitchPacketMetadata::protocolNumber

Protocol type of the Packet when the Packet is received.

Definition at line 336 of file openflow-interface.h.

Address ns3::ofi::SwitchPacketMetadata::src

Source Address of the Packet when the Packet is received.

Definition at line 337 of file openflow-interface.h.

Referenced by check-style.PatchChunk::src_len().


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