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

Implement IPv6::recv_response

This commit is contained in:
Matias Fontanini
2018-02-25 10:42:16 -08:00
parent e4f747164c
commit f29566d6d9
4 changed files with 17 additions and 6 deletions

View File

@@ -298,6 +298,14 @@ public:
* \sa PDU::send()
*/
void send(PacketSender& sender, const NetworkInterface &);
/**
* \brief Receives a matching response for this packet.
*
* \sa PDU::recv_response
* \param sender The packet sender which will receive the packet.
*/
PDU* recv_response(PacketSender& sender, const NetworkInterface &);
#endif
/**

View File

@@ -131,6 +131,7 @@ public:
ARP_SOCKET,
ICMP_SOCKET,
IPV6_SOCKET,
ICMPV6_SOCKET,
SOCKETS_END
};