summaryrefslogtreecommitdiff
path: root/sbin/ping6
AgeCommit message (Expand)Author
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-13Like in ping(8) there is no need to have the destination global. InFlorian Obser
2016-09-13These functions are fundamentally AF dependent.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-12Use ECHOLEN/ECHOTMLEN defines.Florian Obser
2016-09-11use ECHOLEN to define DEFDATALENFlorian Obser
2016-09-11The lenght of our payload is AF independent;Florian Obser
2016-09-11The lenght of an icmp echo packet is AF independent;Florian Obser
2016-09-11Crank default packetsize to ping(8) levels.Florian Obser
2016-09-11WhitespaceFlorian Obser
2016-09-11Do not pretend that we can send more than IPV6_MAXPACKET bytesFlorian Obser
2016-09-11style; no obj changeFlorian Obser
2016-09-11With the if a few lines above, this can never be true.Florian Obser
2016-09-11In this day and age use tcpdump to figure out to whom an ICMP echoFlorian Obser
2016-09-11The canonical way to find out if we can have timing stats is timinginfo.Florian Obser
2016-09-11adapt output to pingFlorian Obser
2016-09-11Normalize variable declarations in pr_pack. While here introduce seqFlorian Obser
2016-09-11Sync to ping: ring bell later.Florian 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-11whitespaceFlorian Obser
2016-09-11WhitespaceFlorian Obser
2016-09-11Move smsghdr initialization into main, another step towards AFFlorian Obser
2016-09-11Remove useless comment.Florian Obser
2016-09-11sync to ping(8), no functional changeFlorian Obser
2016-09-11Shuffle pinger() initialization around to reduce diff to ping(8).Florian 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-11remove useless comment; reduces diff to ping; no obj changeFlorian Obser
2016-09-11safeputc is unused ever since we nuked RFC 4620 supportFlorian Obser
2016-09-10according to netinet6/in6.h IPV6_MULTICAST_LOOP setsockopt takes aFlorian Obser
2016-09-10move IPv6 specific structs up; no obj changeFlorian Obser
2016-09-10reorder main variables, reduces diffFlorian Obser
2016-09-10reorder main variables; no obj changeFlorian 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-07whitespaceFlorian Obser
2016-09-07normalize code to send preload packetsFlorian Obser
2016-09-04move to ping's getaddrinfo version to reduce diff; no functional changeFlorian Obser
2016-09-03get to the target the same way as ping; no functional changeFlorian Obser
2016-09-03Correct default values.Michal Mazurek
2016-09-03Mention the maximum value for the -s option.Michal Mazurek
2016-09-03Remove mention of nonexistent flagsMichal Mazurek
2016-09-02Wording improvment from jmc@ long time ago.Florian Obser
2016-09-02Bring over 1.117 from ping:Florian Obser
2016-09-02Reduce ping/ping6 difference in summary().Florian Obser
2016-08-30summary() is no longer called from a signal handler, so it can useTheo de Raadt