|
Motion Master 6.0.0-alpha.111
Next-generation motion control software
|
#include "capture/pcap.h"#include <array>#include <cstdio>#include <cstring>#include <string>#include <utility>#include <vector>Namespaces | |
| namespace | mm |
| namespace | mm::capture |
Functions | |
| std::expected< std::vector< Record >, std::string > | mm::capture::parsePcap (std::span< const uint8_t > bytes) |
| Reads every record of a pcap file held in memory. | |
| std::expected< std::vector< Record >, std::string > | mm::capture::readPcap (const std::filesystem::path &path) |
Reads every record of a pcap file into memory. See parsePcap for what is accepted. | |