Skip to contentSkip to conversation

: report outstanding packets before sending next packet

PATCH YOSHIFUJI Hideaki 1 participant 1 message Jan 9, 2012 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

YOSHIFUJI Hideaki

author Applied
#1 lore raw
Quoted 24 lines · Ole Bj�rn Hessen

Hello,

please accept following patch to ping to let ping report outstanding packets before sending next packet. This is a sorely missed feature from the old sun ping. Very useful together with the -D option:

      ping -DO 10.122.145.180>  file
      # wait next day
      ^C
      grep "no answer yet" file

      [1325752664.026900] 64 bytes from 10.122.145.180: icmp_req=20 ttl=64 time=0.695 ms
      [1325752665.026926] 64 bytes from 10.122.145.180: icmp_req=21 ttl=64 time=0.695 ms
      [1325752666.026917] 64 bytes from 10.122.145.180: icmp_req=22 ttl=64 time=0.682 ms
      [1325752667.026922] 64 bytes from 10.122.145.180: icmp_req=23 ttl=64 time=0.695 ms
      [1325752669.026217] no answer yet for icmp_seq=24
      [1325752670.026207] no answer yet for icmp_seq=25
      ...
      [1325752697.026206] no answer yet for icmp_seq=52
      [1325752698.026205] no answer yet for icmp_seq=53
      [1325752698.026962] 64 bytes from 10.122.145.180: icmp_req=54 ttl=64 time=0.717 ms
      [1325752699.026930] 64 bytes from 10.122.145.180: icmp_req=55 ttl=64 time=0.690 ms
      [1325752700.026928] 64 bytes from 10.122.145.180: icmp_req=56 ttl=64 time=0.695 ms
Quoted 4 lines

Kind regards,

Ole Bjørn Hessen,
Telenor

Applied, thanks.

Please provide the "signed-off-by" line, next time.

--yoshfuji