AppleWin/source/linux/tfe2.h
Andrea Odetti 10fcf305b1 Uthernet 2: print some info about IPRAW.
And fix socket number.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-04-24 08:06:00 +01:00

10 lines
381 B
C++

#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);