print at end of program
This commit is contained in:
13
ft_ping.h
13
ft_ping.h
@@ -1,18 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stddef.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip_icmp.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
@@ -25,10 +21,3 @@ struct icmp_header
|
||||
uint16_t id;
|
||||
uint16_t seq;
|
||||
};
|
||||
|
||||
struct t_socket
|
||||
{
|
||||
struct sockaddr_in dst, src;
|
||||
int fd;
|
||||
int len;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user