SDNSim
A software-defined network simulator in C++
Loading...
Searching...
No Matches
Packet.cpp
Go to the documentation of this file.
1
#include "
Packet.h
"
2
12
Packet::Packet
(
const
std::string& src,
const
std::string& dest,
const
std::string& data)
13
: source(src), destination(dest), payload(data) {
14
}
Packet.h
Packet::Packet
Packet(const std::string &src, const std::string &dest, const std::string &data)
Constructs a packet with specified source, destination, and payload.
Definition
Packet.cpp:12
Generated by
1.9.7