2021-04-23 11:49:19 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <iosfwd>
|
|
|
|
|
|
|
|
bool tfeReceiveOnePacket(const uint8_t * mac, BYTE * buffer, int & len);
|
|
|
|
void tfeTransmitOnePacket(const BYTE * buffer, const int len);
|
|
|
|
|
|
|
|
std::ostream & as_hex(std::ostream & s, const size_t value, const size_t width);
|
|
|
|
std::ostream & stream_mac(std::ostream & s, const uint8_t * mac);
|
2021-04-24 08:06:00 +01:00
|
|
|
std::ostream & stream_ip(std::ostream & s, const uint8_t * ip);
|