1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-30 05:24:26 +01:00

Added PacketSender::recv_l2. Ethernet packets can now expect a response packet. ARP response is working now.

This commit is contained in:
matias
2011-08-16 00:36:59 -03:00
parent 5b851a9142
commit a489eab8b9
9 changed files with 190 additions and 29 deletions

View File

@@ -66,7 +66,7 @@ namespace Tins {
* The input buffer must be at least 6 bytes long.
* \param array The input buffer.
*/
std::string hwaddr_to_string(uint8_t *array);
std::string hwaddr_to_string(const uint8_t *array);
/** \brief Resolves a domain name and returns its corresponding ip address.
*