summaryrefslogtreecommitdiff
path: root/sbin/ping
AgeCommit message (Expand)Author
2016-09-17ping6(8) is now a hardlink to ping(8).Florian Obser
2016-09-17The final merge ping6 into ping.Florian Obser
2016-09-17Use ECHOTMLEN define; no functional change.Florian Obser
2016-09-17iov_base is already set in this case; reduce diff to ping6(8).Florian Obser
2016-09-17MAXPAYLOAD is different between ping and ping6.Florian Obser
2016-09-17Just use AF_INET like everywhere else.Florian Obser
2016-09-17malloc sets errno; use err not errxFlorian Obser
2016-09-17whitespaceFlorian Obser
2016-09-17Make getting source address more AF independent.Florian Obser
2016-09-17If -I was not given hoist getting source address up.Florian Obser
2016-09-17Make source address selection more AF independent.Florian Obser
2016-09-17Introduce AF independent from.Florian Obser
2016-09-17Use AF independent dst where possible.Florian Obser
2016-09-17Blindly s/dst/dst4/ or s/dst/dst6/, AF independent dst will beFlorian Obser
2016-09-17We will need the variable name "from" soon, so free it up by renamingFlorian Obser
2016-09-17Reduce diff in pinger().Florian Obser
2016-09-17styleFlorian Obser
2016-09-17Move more AF independent initialization around to reduce diff.Florian Obser
2016-09-17Normalize receive packet allocation.Florian Obser
2016-09-17Use ECHOTMLEN define.Florian Obser
2016-09-17ping(8): The IPv6 header has a payload length field while IPv4 has aFlorian Obser
2016-09-17Bring over includes, we will need them in a merge anyway.Florian Obser
2016-09-17If no source address is specified and we are running in verbose modeFlorian Obser
2016-09-13Rearange option handling to reduce diff between ping(8) and ping6(8).Florian Obser
2016-09-13Make the raw socket non-global and pass it to retransmit()/pinger().Florian Obser
2016-09-13No need to have the destination global.Florian Obser
2016-09-13No need to have this global.Florian Obser
2016-09-13timinginfo is a global flag that we got at least one packet back withFlorian Obser
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