Home
last modified time | relevance | path

Searched refs:ntransmitted (Results 1 – 3 of 3) sorted by relevance

/external/ping/
Dping_common.h84 extern long ntransmitted; /* sequence # for outbound packets = #sent */
154 if (npackets && ntransmitted >= npackets && !deadline) in schedule_exit()
161 __u16 diff = (__u16)ntransmitted - acked; in in_flight()
162 return (diff<=0x7FFF) ? diff : ntransmitted-nreceived-nerrors; in in_flight()
167 __u16 diff = (__u16)ntransmitted - seq; in acknowledge()
172 (__u16)ntransmitted - acked > 0x7FFF) in acknowledge()
179 ntransmitted++; in advance_ntransmitted()
181 if ((__u16)ntransmitted - acked > 0x7FFF) in advance_ntransmitted()
182 acked = (__u16)ntransmitted + 1; in advance_ntransmitted()
Dping.c89 long ntransmitted; /* sequence # for outbound packets = #sent */ variable
357 if (exiting || (npackets && ntransmitted >= npackets && !deadline)) in pinger()
858 printf("%ld packets transmitted, ", ntransmitted); in finish()
866 if (ntransmitted) { in finish()
868 (int) ((((long long)(ntransmitted - nreceived)) * 100) / in finish()
869 ntransmitted)); in finish()
890 if (ntransmitted > 1 && (!interval || (options&(F_FLOOD|F_ADAPTIVE)))) { in finish()
891 int ipg = (1000000*(long long)tv.tv_sec+tv.tv_usec)/(ntransmitted-1); in finish()
907 if (ntransmitted) in status()
908 loss = (((long long)(ntransmitted - nreceived)) * 100) / ntransmitted; in status()
[all …]
/external/ping6/
Dping6.c242 long ntransmitted; /* sequence # for outbound packets = #sent */ variable
1052 if (ntransmitted == 0) in main()
1237 if (npackets && ntransmitted >= npackets) in pinger()
1244 seq = ntransmitted++; in pinger()
2142 (void)printf("%ld packets transmitted, ", ntransmitted); in summary()
2146 if (ntransmitted) { in summary()
2147 if (nreceived > ntransmitted) in summary()
2151 ((((double)ntransmitted - nreceived) * 100.0) / in summary()
2152 ntransmitted)); in summary()