A Discrete-Event Network Simulator
API
Public Attributes | List of all members
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"

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 331 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 334 of file openflow-interface.h.

◆ dst

Address ns3::ofi::SwitchPacketMetadata::dst

Destination Address of the Packet when the Packet is received.

Definition at line 337 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 333 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 335 of file openflow-interface.h.

◆ src

Address ns3::ofi::SwitchPacketMetadata::src

Source Address of the Packet when the Packet is received.

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

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


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