Home
last modified time | relevance | path

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

/freebsd-13.1/sbin/ping/
H A Dping.c191 static long npackets; /* max packets to transmit */ variable
328 npackets = (long)ltmp; in ping()
813 if (npackets > 0) { in ping()
814 snpackets = npackets; in ping()
815 npackets = 0; in ping()
908 if (npackets != 0 && preload > npackets) in ping()
909 preload = npackets; in ping()
974 (npackets && nreceived >= npackets)) in ping()
987 if (!npackets || ntransmitted < npackets) in ping()
H A Dping6.c242 static long npackets; /* max packets to transmit */ variable
423 npackets = strtol(optarg, &e, 10); in ping6()
424 if (npackets <= 0 || *optarg == '\0' || *e != '\0') in ping6()
1144 if (npackets != 0 && preload > npackets) in ping6()
1145 preload = npackets; in ping6()
1242 (npackets > 0 && nreceived >= npackets)) in ping6()
1246 if (npackets == 0 || ntransmitted < npackets) in ping6()
1348 if (npackets && ntransmitted >= npackets) in pinger()
/freebsd-13.1/tools/regression/netinet/ipmulticast/
H A 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-13.1/sbin/routed/
H A Doutput.c53 int npackets; member
321 ws.npackets++; in supply_write()
692 ws.npackets = 0; in supply()
797 if (ws.npackets == 0 in supply()
/freebsd-13.1/usr.sbin/fwcontrol/
H A Dfwdv.c73 int npackets[] = { variable
348 header = (packets == 0 || packets % npackets[system] == 0); in dvsend()
/freebsd-13.1/sys/dev/hid/
H A Dps4dshock.c688 u_int npackets; member
886 sc->npackets = MIN(PS4DS_MAX_TOUCHPAD_PACKETS,(u_int)ctx.data); in ps4dsmtp_npackets_cb()
997 data < sc->data + PS4DS_NTPUSAGES * sc->npackets; in ps4dsmtp_final_cb()
/freebsd-13.1/tools/tools/netmap/
H A Dpkt-gen.c267 uint64_t npackets; /* total packets to send */ member
1310 uint64_t sent = 0, n = targ->g->npackets; in ping_body()
1498 uint64_t sent = 0, n = targ->g->npackets; in pong_body()
1581 uint64_t n = targ->g->npackets / targ->g->nthreads; in sender_body()
1953 if (targ->g->npackets > 0) { in txseq_body()
2880 g.npackets = strtoull(optarg, NULL, 10); in main()
/freebsd-13.1/sys/dev/bxe/
H A 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 */;