1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 04:11:35 +01:00

Added ICMP class. It was tested and it's working.

This commit is contained in:
Matias
2011-08-14 11:17:38 -03:00
parent a49a88d636
commit 1215ae135c
7 changed files with 295 additions and 3 deletions

View File

@@ -155,6 +155,7 @@ void Tins::TCP::write_serialization(uint8_t *buffer, uint32_t total_sz, const PD
_tcp.check = Utils::net_to_host_s(~checksum);
}
memcpy(tcp_start, &_tcp, sizeof(tcphdr));
_tcp.check = 0;
}