AppleWin/source/linux/tfe2.h

11 lines
381 B
C
Raw Normal View History

#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);
std::ostream & stream_ip(std::ostream & s, const uint8_t * ip);