A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
Address dst
 Destination Address of the Packet when the Packet is received.
 
Ptr< Packetpacket
 The Packet itself.
 
uint16_t protocolNumber
 Protocol type of the Packet when the Packet is received.
 
Address src
 Source Address of the Packet when the Packet is received.
 

Detailed Description

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

Definition at line 384 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 387 of file openflow-interface.h.

◆ dst

Address ns3::ofi::SwitchPacketMetadata::dst

Destination Address of the Packet when the Packet is received.

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

◆ packet

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

The Packet itself.

Definition at line 386 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 388 of file openflow-interface.h.

◆ src

Address ns3::ofi::SwitchPacketMetadata::src

Source Address of the Packet when the Packet is received.

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


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