「🏗️」 wip: added all the flag for bonus
This commit is contained in:
@ -19,14 +19,16 @@ static options_t options[] = {
|
|||||||
{"verbose", 'v', "verbose output", 0, GRP},
|
{"verbose", 'v', "verbose output", 0, GRP},
|
||||||
#undef GRP
|
#undef GRP
|
||||||
#define GRP 2 // AKA bonus
|
#define GRP 2 // AKA bonus
|
||||||
{"count", 'c', "stop after sending NUMBER packets (--count=NUMBER)", 1,
|
{"count", 'c', "stop after sending NUMBER packets", 1,
|
||||||
GRP},
|
GRP},
|
||||||
{"size", 's', "send NUMBER data octets (--size=NUMBER)", 1, GRP},
|
{"size", 's', "send NUMBER data octets", 1, GRP},
|
||||||
{"timeout", 'w', "stop after N seconds (--timeout=N)", 1, GRP}
|
{"timeout", 'w', "stop after N seconds", 1, GRP},
|
||||||
|
{"ttl", 't', "specify N as time-to-live", 1, GRP},
|
||||||
|
{"ip-timestamp", 'i', "IP timestamp of type FLAG, which is one of \"tsonly\" and \"tsaddr\"", 1, GRP}
|
||||||
#undef GRP
|
#undef GRP
|
||||||
};
|
};
|
||||||
|
|
||||||
#define OPT_NB 7
|
#define OPT_NB 9
|
||||||
|
|
||||||
#define FT_PING_V "0.1"
|
#define FT_PING_V "0.1"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user