diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-09-29 12:57:12 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-09-29 12:57:12 +0200 |
commit | e684cb72f4ac5092f83e3949248799dc0af8a5f2 (patch) | |
tree | 92001cd25312108297c4084228e733b5d0091e87 /pcapplusplus.h | |
parent | f0e0d55e0616ecf8fe3676664cda7683fae100cc (diff) |
Change IP addresses manually.
* non-editable table items (temporary)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'pcapplusplus.h')
-rw-r--r-- | pcapplusplus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pcapplusplus.h b/pcapplusplus.h index 04756e6..9b18351 100644 --- a/pcapplusplus.h +++ b/pcapplusplus.h @@ -22,6 +22,7 @@ public: std::vector<pcpp::Packet>::iterator parsedPacketsBegin(); std::vector<pcpp::Packet>::iterator parsedPacketsEnd(); bool randomizeIp(size_t index, bool isSourceIp); + bool setIp(size_t index, const std::string & ip, bool isSourceIp); bool getPcapStatistics(pcpp::IFileDevice::PcapStats & stats); static const pcpp::Layer *getFirstLayer(const pcpp::Packet & packet); |