SDNSim
A software-defined network simulator in C++
Loading...
Searching...
No Matches
Packet.h
Go to the documentation of this file.
1
#pragma once
2
#include <string>
9
class
Packet
{
10
public
:
11
std::string
source
;
12
std::string
destination
;
13
std::string
payload
;
22
Packet
(
const
std::string& src,
const
std::string& dest,
const
std::string& data);
23
};
Packet
Represents a data packet in the SDN simulation.
Definition
Packet.h:9
Packet::payload
std::string payload
Definition
Packet.h:13
Packet::destination
std::string destination
Definition
Packet.h:12
Packet::source
std::string source
Definition
Packet.h:11
Generated by
1.9.7