#include <boost/asio.hpp>
#include <boost/program_options.hpp>
#include <iostream>
#include <memory>
#include <net/ethernet.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <pcap.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
void | processNextDataInPcapFile (const boost::system::error_code &errocode) |
deadline_timer | timer (service) |
ip::udp::socket | UDPSocket (service) |
Variables | |
ip::udp::endpoint | endPoint |
pcap_t * | pcapDescriptor = nullptr |
std::string | pcapFile |
long | period_ms |
io_service | service |
bool | shouldRepeat = false |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 82 of file packets_replayer.cpp.
void processNextDataInPcapFile | ( | const boost::system::error_code & | errocode | ) |
Definition at line 23 of file packets_replayer.cpp.
deadline_timer timer | ( | service | ) |
ip::udp::socket UDPSocket | ( | service | ) |
ip::udp::endpoint endPoint |
Definition at line 18 of file packets_replayer.cpp.
pcap_t* pcapDescriptor = nullptr |
Definition at line 13 of file packets_replayer.cpp.
std::string pcapFile |
Definition at line 21 of file packets_replayer.cpp.
long period_ms |
Definition at line 20 of file packets_replayer.cpp.
io_service service |
Definition at line 16 of file packets_replayer.cpp.
bool shouldRepeat = false |
Definition at line 14 of file packets_replayer.cpp.