From e684cb72f4ac5092f83e3949248799dc0af8a5f2 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Fri, 29 Sep 2023 12:57:12 +0200 Subject: Change IP addresses manually. * non-editable table items (temporary) Signed-off-by: Toni Uhlig --- pcapplusplus.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pcapplusplus.h') 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::iterator parsedPacketsBegin(); std::vector::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); -- cgit v1.2.3