Searched refs:ntransmitted (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/ping/
H A Dping.c187 static int ntransmitted; /* output sequence # = #sent */ variable
706 if (ntransmitted < npackets && d_last > 0) {
841 opack_icmp.icmp_seq = htons((u_int16_t)(ntransmitted));
908 CLR(ntransmitted);
909 ntransmitted++;
1013 if (icp->icmp_seq == htons((u_int16_t)(ntransmitted-1)))
1325 (void)printf("%d packets transmitted, ", ntransmitted);
1329 if (ntransmitted) {
1330 if (nreceived > ntransmitted)
1334 (((ntransmitted
[all...]
/netbsd-6-1-5-RELEASE/sbin/ping6/
H A Dping6.c227 static long ntransmitted; /* sequence # for outbound packets = #sent */ variable
1011 if (ntransmitted == 0)
1196 if (npackets && ntransmitted >= npackets)
1203 seq = ntransmitted++;
2083 (void)printf("%ld packets transmitted, ", ntransmitted);
2087 if (ntransmitted) {
2088 if (nreceived > ntransmitted)
2092 ((((double)ntransmitted - nreceived) * 100.0) /
2093 ntransmitted));

Completed in 116 milliseconds