/freebsd-10.3-release/tools/tools/mctest/ |
H A D | mctest.cc | 85 // absorb and record packets 90 // @param number ///< number of packets we're expecting 158 timeval packets[number]; local 182 * 1/N packets from each, otherwise the clients will overwhelm 193 gettimeofday(&packets[ntohl(*(int *)packet)], 0); 199 cout << "Missed " << number - n << " packets." << endl; 202 cout << "sec: " << packets[i].tv_sec << " usec: " << 203 packets[i].tv_usec << endl; 205 timersub(&packets[i+1], &packets[ 224 struct timeval *packets; ///< The timestamps of returning packets member in struct:server_args 357 char *packets[number]; local [all...] |
/freebsd-10.3-release/sys/netgraph/ |
H A D | ng_source.c | 47 * a control message it sends the packets out its 'output' hook. In 54 * self-re-enqueue packets (e.g. the if_bge driver could reuse the same 88 struct ifqueue snd_queue; /* packets to send */ 92 uint64_t packets; /* packets to send */ member in struct:privdata 385 uint64_t packets; local 392 packets = *(uint64_t *)msg->data; 394 error = ng_source_start(sc, packets); 622 * to queue a lot of packets to get close to line rate on a gigabit 623 * interface with small packets 676 ng_source_start(sc_p sc, uint64_t packets) argument 722 int packets; local [all...] |
H A D | ng_pipe.c | 80 u_int32_t packets; /* # of packets in this queue */ member in struct:ngp_fifo 653 hash = 0; /* all packets go into a single FIFO queue */ 666 ngp_f->packets = 1; 673 ngp_f->packets++; 685 if (ngp_f1->packets > longest) { 686 longest = ngp_f1->packets; 701 if (--(ngp_f->packets) == 0) { 714 if (ngp_f1->packets > longest) { 715 longest = ngp_f1->packets; [all...] |
/freebsd-10.3-release/contrib/netbsd-tests/kernel/ |
H A D | t_pty.c | 4 * Allocates a pty(4) device, and sends the specified number of packets of the 48 static size_t packets = 2; variable 79 for (i = 0; i < packets; i++) { 254 if (total != buffer_size * packets) 256 "Lost data %zu != %zu\n", total, buffer_size * packets); 270 "Usage: %s [-v] [-q <qsize>] [-s <packetsize>] [-n <packets>]\n", 284 packets = (size_t)atoi(optarg); 302 if (packets < 1 || packets > 100)
|
/freebsd-10.3-release/usr.sbin/spray/ |
H A D | spray.c | 111 * The default value of count is the number of packets required 145 /* Spray server with packets */ 146 printf ("sending %u packets of lnth %d to %s ...", count, length, 171 /* report dropped packets */ 175 printf("\t%d packets (%.2f%%) dropped\n", 179 printf("\tno packets dropped\n"); 193 print_xferstats(u_int packets, int packetlen, double xfertime) argument 196 double pps; /* packets per second */ 199 datalen = packets * packetlen; 200 pps = packets / xfertim [all...] |
/freebsd-10.3-release/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_vport.c | 846 vc->received_errors.packets = 848 out, received_errors.packets); 852 vc->transmit_errors.packets = 854 out, transmit_errors.packets); 858 vc->received_ib_unicast.packets = 860 out, received_ib_unicast.packets); 864 vc->transmitted_ib_unicast.packets = 866 out, transmitted_ib_unicast.packets); 870 vc->received_ib_multicast.packets = 872 out, received_ib_multicast.packets); [all...] |
/freebsd-10.3-release/sbin/pfctl/ |
H A D | pfctl_qstats.c | 328 (unsigned long long)cur.data.cbq_stats.xmit_cnt.packets, 330 (unsigned long long)cur.data.cbq_stats.drop_cnt.packets, 339 printf(" [ measured: %7.1f packets/s, %s/s ]\n", 349 (unsigned long long)cur.data.priq_stats.xmitcnt.packets, 351 (unsigned long long)cur.data.priq_stats.dropcnt.packets, 359 printf(" [ measured: %7.1f packets/s, %s/s ]\n", 369 (unsigned long long)cur.data.hfsc_stats.xmit_cnt.packets, 371 (unsigned long long)cur.data.hfsc_stats.drop_cnt.packets, 379 printf(" [ measured: %7.1f packets/s, %s/s ]\n", 414 p = qs->data.cbq_stats.xmit_cnt.packets; [all...] |
H A D | pf_print_state.c | 299 u_int64_t packets[2]; local 315 bcopy(s->packets[0], &packets[0], sizeof(u_int64_t)); 316 bcopy(s->packets[1], &packets[1], sizeof(u_int64_t)); 320 (uintmax_t )be64toh(packets[0]), 321 (uintmax_t )be64toh(packets[1]),
|
/freebsd-10.3-release/usr.sbin/flowctl/ |
H A D | flowctl.c | 294 fle->packets); 328 fle6->packets); 362 fle->packets, 370 (u_int)(fle->bytes / fle->packets), 405 fle6->packets, 413 (u_int)(fle6->bytes / fle6->packets),
|
/freebsd-10.3-release/sys/contrib/altq/altq/ |
H A D | altq.h | 165 u_int64_t packets; member in struct:pktcntr 170 do { (cntr)->packets++; (cntr)->bytes += len; } while (/*CONSTCOND*/ 0)
|
/freebsd-10.3-release/sys/netgraph/netflow/ |
H A D | netflow.h | 94 uint32_t packets; /* Number of packets in a flow */ member in struct:netflow_v1_record 116 uint32_t packets; /* Number of packets in a flow */ member in struct:netflow_v5_record 149 #define NETFLOW_V9_FIELD_IN_PKTS 2 /* Incoming counter with number of packets associated with an IP Flow. Default 4 */ 166 #define NETFLOW_V9_FIELD_MUL_DST_PKTS 19 /* IP multicast outgoing packet counter for packets associated with IP flow. Default 4 */ 171 #define NETFLOW_V9_FIELD_OUT_PKTS 24 /* Outgoing counter for the number of packets associated with an IP Flow. Default 4 */ 179 #define NETFLOW_V9_FIELD_SAMPLING_INTERVAL 34 /* When using sampled NetFlow, the rate at which packets are sampled; for example, a value of 100 indicates that one of every hundred packets is sampled. 4 */ 186 #define NETFLOW_V9_FIELD_TOTAL_PKTS_EXP 41 /* Counter with for the number of packets exporte [all...] |
H A D | ng_netflow.h | 68 uint32_t nfinfo_packets; /* accounted IPv4 packets */ 70 uint32_t nfinfo_packets6; /* accounted IPv6 packets */ 72 uint32_t nfinfo_spackets; /* skipped IPv4 packets */ 74 uint32_t nfinfo_spackets6; /* skipped IPv6 packets */ 90 uint32_t ifinfo_packets; /* number of packets for this iface */ 136 uint16_t packets; /* max packets between announce */ member in struct:ng_netflow_settemplate 154 uint16_t templ_packets; /* v9 template packets */ 234 u_long packets; member in struct:flow_entry_data 252 u_long packets; member in struct:flow6_entry_data [all...] |
H A D | netflow.c | 67 /* This hash is for TCP or UDP packets. */ 74 /* This hash is for all other IP packets. */ 84 #define ISFREE(fle) (fle->f.packets == 0) 92 #define SMALL(fle) (fle->f.packets <= 4) 356 fle->f.packets = 1; 447 fle6->f.packets = 1; 765 fle->f.packets ++; 888 fle6->f.packets ++; 1091 rec->packets = htonl(fle->f.packets); [all...] |
H A D | netflow_v9.c | 276 rec->i_packets = htonl(fed->packets); 307 rec->i_packets = htonl(fed6->packets);
|
/freebsd-10.3-release/contrib/tcpdump/ |
H A D | print-pfsync.c | 416 uint64_t packets[2]; local 432 bcopy(s->packets[0], &packets[0], sizeof(uint64_t)); 433 bcopy(s->packets[1], &packets[1], sizeof(uint64_t)); 437 be64toh(packets[0]), be64toh(packets[1]),
|
H A D | print-cnfp.c | 70 u_int32_t packets; member in struct:nfrec 187 EXTRACT_32BITS(&nr->packets),
|
/freebsd-10.3-release/usr.sbin/fwcontrol/ |
H A D | fwdv.c | 262 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local 321 packets = 0; 346 header = (packets == 0 || packets % npackets[system] == 0); 378 ciph->dbc = packets++ % 256;
|
/freebsd-10.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-pko.h | 159 uint32_t packets; member in struct:__anon7514 604 * status->packets and status->octets 606 status->packets = 0; 622 status->packets += pko_mem_count0.s.count; 666 * Rate limit a PKO port to a max packets/sec. This function is only 671 * @param burst Maximum number of packets to burst in a row before rate
|
H A D | cvmx-usb.h | 548 * Descriptor for Isochronous packets 949 * Number of sequential packets to transfer. 950 * "packets" is a pointer to an array of this 952 * @param packets Description of each transfer packet as 983 cvmx_usb_iso_packet_t packets[],
|
/freebsd-10.3-release/crypto/openssh/ |
H A D | packet.c | 100 u_int32_t packets; member in struct:packet_state 242 state->p_send.packets = state->p_read.packets = 0; 245 * ssh_packet_send2() needs to queue packets until 807 * Causes any further packets to be encrypted using the given key. The same 923 state->p_send.packets++; 955 state->p_send.packets = state->p_send.blocks = 0; 960 state->p_read.packets = state->p_read.blocks = 0; 1064 if (state->p_send.packets == 0 && state->p_read.packets [all...] |
/freebsd-10.3-release/contrib/libpcap/ |
H A D | pcap-usb-linux.c | 829 int packets = 0; local 836 int limit = max_packets - packets; 890 packets++; 895 if ((max_packets <= 0) || (packets == max_packets)) 901 return packets;
|
/freebsd-10.3-release/sys/geom/vinum/ |
H A D | geom_vinum_raid5.c | 102 TAILQ_FOREACH_SAFE(wp, &p->packets, list, wp2) { 106 TAILQ_REMOVE(&p->packets, wp, list); 154 TAILQ_FOREACH(owp, &p->packets, list) {
|
H A D | geom_vinum_var.h | 345 TAILQ_HEAD(,gv_raid5_packet) packets; /* RAID5 sub-requests. */ member in struct:gv_plex
|
/freebsd-10.3-release/sys/dev/e1000/ |
H A D | if_igb.h | 113 * Increasing this value allows the driver to buffer more incoming packets. 373 u32 packets; member in struct:tx_ring 402 * collecting multisegment RX packets. 408 u32 packets; member in struct:rx_ring
|
/freebsd-10.3-release/sys/dev/ixgbe/ |
H A D | if_ixv.c | 184 /* How many packets rxeof tries to clean at a time */ 188 /* How many packets txeof tries to clean at a time */ 332 "max number of rx packets to process", 336 "max number of tx packets to process", 341 "max number of rx packets to process", 345 "max number of tx packets to process", 904 if ((txr->bytes) && (txr->packets)) 905 newitr = txr->bytes/txr->packets; 906 if ((rxr->bytes) && (rxr->packets)) 908 (rxr->bytes / rxr->packets)); [all...] |