receive of icmp work, needs statistics and missing settings
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/24 22:49:22 by tomoron #+# #+# */
|
||||
/* Updated: 2025/04/29 19:09:11 by tomoron ### ########.fr */
|
||||
/* Updated: 2025/04/30 17:53:19 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
#include "includes/ft_ping.h"
|
||||
@ -23,7 +23,7 @@ static void set_packet_data(uint8_t *packet_data)
|
||||
}
|
||||
}
|
||||
|
||||
static uint16_t calc_checksum(void *ptr, size_t len)
|
||||
uint16_t calc_checksum(void *ptr, size_t len)
|
||||
{
|
||||
uint32_t res;
|
||||
uint16_t *data;
|
||||
|
Reference in New Issue
Block a user