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

Modified IP, ARP, ICMP and EthernetII's clone_packet.

This commit is contained in:
Matias Fontanini
2011-09-15 09:17:35 -03:00
parent 6b88a9a944
commit 4d8fb5a4e5
8 changed files with 23 additions and 66 deletions

View File

@@ -309,12 +309,6 @@ namespace Tins {
} un;
} __attribute__((__packed__));
/** \brief Creates an instance of ICMP from a icmphdr pointer.
*
* \param ptr The icmphdr to clone.
*/
ICMP(const icmphdr *ptr);
void copy_fields(const ICMP *other);
/** \brief Serialices this ICMP PDU.