pasring start
This commit is contained in:
@ -13,12 +13,22 @@
|
||||
|
||||
#define PACKET_DATA_LENGTH 40
|
||||
|
||||
#define HELP_MESSAGE " [OPTION...] HOST ...\n\
|
||||
Send ICMP ECHO_REQUEST packets to network hosts.\n"
|
||||
|
||||
|
||||
typedef struct s_settings
|
||||
{
|
||||
char *host;
|
||||
int count;
|
||||
int ttl;
|
||||
int count; // -c (--count)
|
||||
int timeout; // -w (--timeout)
|
||||
short flood; // -f (--flood)
|
||||
short no_resolve; //-n (--numeric)
|
||||
int ttl; // --ttl
|
||||
|
||||
short stop;
|
||||
short err;
|
||||
|
||||
} t_settings;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user