1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-05-04 02:36:17 +02:00
fastnetmon-rewritten/src/simple_packet_parser_ng.hpp

17 lines
1.2 KiB
C++

#include "fastnetmon_simple_packet.hpp"
#include "network_data_structures.hpp"
network_data_stuctures::parser_code_t parse_raw_packet_to_simple_packet_full_ng(const uint8_t* pointer,
int length_before_sampling,
int captured_length,
simple_packet_t& packet,
bool unpack_gre,
bool use_packet_length_from_wire);
network_data_stuctures::parser_code_t parse_raw_ipv4_packet_to_simple_packet_full_ng(const uint8_t* pointer,
int length_before_sampling,
int captured_length,
simple_packet_t& packet,
bool read_packet_length_from_ip_header);