Home
last modified time | relevance | path

Searched refs:npackets (Results 1 – 7 of 7) sorted by relevance

/freebsd-12-stable/sbin/ping/
Dping.c187 static long npackets; /* max packets to transmit */ variable
324 npackets = (long)ltmp; in main()
808 if (npackets > 0) { in main()
809 snpackets = npackets; in main()
810 npackets = 0; in main()
903 if (npackets != 0 && preload > npackets) in main()
904 preload = npackets; in main()
969 (npackets && nreceived >= npackets)) in main()
982 if (!npackets || ntransmitted < npackets) in main()
/freebsd-12-stable/tools/regression/netinet/ipmulticast/
Dipmulticast.c659 size_t npackets; in recv_loop_with_match() local
695 npackets = 0; in recv_loop_with_match()
707 npackets++; in recv_loop_with_match()
712 "non-blocked sources: %d\n", (int)npackets); in recv_loop_with_match()
/freebsd-12-stable/sbin/ping6/
Dping6.c238 static long npackets; /* max packets to transmit */ variable
416 npackets = strtol(optarg, &e, 10); in main()
417 if (npackets <= 0 || *optarg == '\0' || *e != '\0') in main()
1123 if (npackets != 0 && preload > npackets) in main()
1124 preload = npackets; in main()
1221 (npackets > 0 && nreceived >= npackets)) in main()
1225 if (npackets == 0 || ntransmitted < npackets) in main()
1322 if (npackets && ntransmitted >= npackets) in pinger()
/freebsd-12-stable/sbin/routed/
Doutput.c60 int npackets; member
328 ws.npackets++; in supply_write()
699 ws.npackets = 0; in supply()
804 if (ws.npackets == 0 in supply()
/freebsd-12-stable/usr.sbin/fwcontrol/
Dfwdv.c73 int npackets[] = { variable
348 header = (packets == 0 || packets % npackets[system] == 0); in dvsend()
/freebsd-12-stable/tools/tools/netmap/
Dpkt-gen.c267 uint64_t npackets; /* total packets to send */ member
1314 uint64_t sent = 0, n = targ->g->npackets; in ping_body()
1506 uint64_t sent = 0, n = targ->g->npackets; in pong_body()
1602 uint64_t n = targ->g->npackets / targ->g->nthreads; in sender_body()
1974 if (targ->g->npackets > 0) { in txseq_body()
2901 g.npackets = strtoull(optarg, NULL, 10); in main()
/freebsd-12-stable/sys/dev/bxe/
Decore_hsi.h3853 uint16_t npackets /* number of data bytes that were added in the doorbell */; member
3871 uint16_t npackets /* number of data bytes that were added in the doorbell */;