1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Don't allow receiving l2 packets on windows.

This commit is contained in:
Matias Fontanini
2015-04-18 18:56:16 -07:00
parent 2fa4c2ade3
commit 147c1a4315
4 changed files with 13 additions and 3 deletions

View File

@@ -159,12 +159,14 @@ namespace Tins {
*/
bool matches_response(const uint8_t *ptr, uint32_t total_sz) const;
#ifndef WIN32
/**
* \brief Receives a matching response for this packet.
*
* \sa PDU::recv_response
*/
PDU *recv_response(PacketSender &sender, const NetworkInterface &iface);
#endif // WIN32
/**
* \brief Getter for the PDU's type.