A Discrete-Event Network Simulator
API
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 373 of file openflow-interface.h.

Member Data Documentation

◆ buffer

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

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

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

◆ dst

Address ns3::ofi::SwitchPacketMetadata::dst

Destination Address of the Packet when the Packet is received.

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

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

◆ packet

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

The Packet itself.

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

◆ protocolNumber

uint16_t ns3::ofi::SwitchPacketMetadata::protocolNumber

Protocol type of the Packet when the Packet is received.

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

◆ src

Address ns3::ofi::SwitchPacketMetadata::src

Source Address of the Packet when the Packet is received.

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

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


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