Home
last modified time | relevance | path

Searched refs:ntransmitted (Results 1 – 2 of 2) 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.c87 long ntransmitted; /* sequence # for outbound packets = #sent */ variable
355 if (exiting || (npackets && ntransmitted >= npackets && !deadline)) in pinger()
856 printf("%ld packets transmitted, ", ntransmitted); in finish()
864 if (ntransmitted) { in finish()
866 (int) ((((long long)(ntransmitted - nreceived)) * 100) / in finish()
867 ntransmitted)); in finish()
888 if (ntransmitted > 1 && (!interval || (options&(F_FLOOD|F_ADAPTIVE)))) { in finish()
889 int ipg = (1000000*(long long)tv.tv_sec+tv.tv_usec)/(ntransmitted-1); in finish()
905 if (ntransmitted) in status()
906 loss = (((long long)(ntransmitted - nreceived)) * 100) / ntransmitted; in status()
[all …]