summaryrefslogtreecommitdiff
path: root/sbin/ping
AgeCommit message (Expand)Author
2016-09-12Bring over KAME copyright, there is now code from ping in ping6. WhileFlorian Obser
2016-09-12No need for have this unsigned, reduces diff to ping6(8).Florian Obser
2016-09-12Use ECHOLEN/ECHOTMLEN defines.Florian Obser
2016-09-11bring over LEN defines from ping6(8)Florian Obser
2016-09-11The canonical way to find out if we can have timing stats is timinginfo.Florian Obser
2016-09-11Normalize variable declarations in pr_pack. While here introduce seqFlorian Obser
2016-09-11use fputc to put in sync with ping6Florian Obser
2016-09-11Introduce pr_ipopt() to remove IPv4 specifics from pr_pack(); smallFlorian Obser
2016-09-11Hoist pr_addr() up, it's AF independent; no obj change.Florian Obser
2016-09-11Hoist summary() up, it's AF independent; no obj change.Florian Obser
2016-09-11Hoist fill() up, it's AF independent; no obj change.Florian Obser
2016-09-11Pass from around as struct sockaddr.Florian Obser
2016-09-11Get rid of check_icmph(), it's just a convoluted way of saying: IsFlorian Obser
2016-09-11Move smsghdr initialization into main, another step towards AFFlorian Obser
2016-09-11Switch to sendmsg like ping6(8).Florian Obser
2016-09-11pinger() is no longer called in a sighandler since some time, justFlorian Obser
2016-09-11Remove destination IP from mac, it's not helping anything.Florian Obser
2016-09-11normalize seq handling in pinger; little step to make this AFFlorian Obser
2016-09-11Correctly initialize source address for multicast pings. This gotFlorian Obser
2016-09-10The getopt while loop is very long, put the body in {}.Florian Obser
2016-09-10reorder main variables, no object change, reduces diff to ping6Florian Obser
2016-09-10reorder main variables, reduces diffFlorian Obser
2016-09-10reorder main variables; no obj changeFlorian Obser
2016-09-10packet is actually u_char, pass it around as oneFlorian Obser
2016-09-10reorder function declaration to reduce diff between ping and ping6; noFlorian Obser
2016-09-08normalize option defines; reduces diff between ping(8) and ping6(8)Florian Obser
2016-09-08We need this for struct iovec; reduces diff to ping6(8)Florian Obser
2016-09-07whitespaceFlorian Obser
2016-09-07normalize code to send preload packetsFlorian Obser
2016-09-07move header printing down; reduces diff to ping6Florian Obser
2016-09-07move arc4random down; reduces diff to ping6Florian Obser
2016-09-04Switch ping to getaddrinfo while retaining inet_aton functionality asFlorian Obser
2016-09-03How can this not be AF_INET?!Florian Obser
2016-09-03s/to/dst/Florian Obser
2016-09-03s/whereto/dst/Florian Obser
2016-09-03Mention the maximum value for the -s option.Michal Mazurek
2016-09-02In preparation for merging of ping(8) and ping6(8) the -n flag needs toFlorian Obser
2016-09-02timinginfo is a flag to track if the received icmp packet is bigFlorian Obser
2016-08-30summary() is no longer called from a signal handler, so it can useTheo de Raadt
2016-08-30Avoid calling summary() from a signal handler. This will allow usTodd C. Miller
2016-08-30usage() is __dead.Florian Obser
2016-03-03ping(8) and ping6(8) use different types for packet counters. InFlorian Obser
2016-01-30ping, ping6: corrects -E (audible beep when no packet is received before theSebastien Marie
2015-11-29use ping6(8)'s engine; next step in unificationFlorian Obser
2015-11-29Reimplement source address selection. Inspired by the previousFlorian Obser
2015-11-29Doubles are not reals. Imprecision might lead to trying toFlorian Obser
2015-11-10Reduce diff between ping and ping6.Florian Obser
2015-11-05Reorder #includes to reduce diff between ping and ping6.Florian Obser
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-10-30Use double variables and sqrt(3) from libm to calculate statistics likeFlorian Obser