Searched refs:packets (Results 1 - 25 of 63) sorted by relevance

123

/freebsd-9.3-release/tools/tools/mctest/
H A Dmctest.cc85 // 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-9.3-release/sys/netgraph/
H A Dng_source.c47 * 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
89 struct ifqueue snd_queue; /* packets to send */
93 uint64_t packets; /* packets to send */ member in struct:privdata
386 uint64_t packets; local
393 packets = *(uint64_t *)msg->data;
395 error = ng_source_start(sc, packets);
624 * to queue a lot of packets to get close to line rate on a gigabit
625 * interface with small packets
680 ng_source_start(sc_p sc, uint64_t packets) argument
726 int packets; local
[all...]
H A Dng_pipe.c80 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-9.3-release/usr.sbin/spray/
H A Dspray.c111 * 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-9.3-release/contrib/pf/pfctl/
H A Dpf_print_state.c304 u_int64_t packets[2]; local
320 bcopy(s->packets[0], &packets[0], sizeof(u_int64_t));
321 bcopy(s->packets[1], &packets[1], sizeof(u_int64_t));
326 (unsigned long long)betoh64(packets[0]),
327 (unsigned long long)betoh64(packets[1]),
331 betoh64(packets[0]),
332 betoh64(packets[1]),
H A Dpfctl_qstats.c328 (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...]
/freebsd-9.3-release/usr.sbin/flowctl/
H A Dflowctl.c276 fle->packets);
309 fle6->packets);
343 fle->packets,
351 (u_int)(fle->bytes / fle->packets),
386 fle6->packets,
394 (u_int)(fle6->bytes / fle6->packets),
/freebsd-9.3-release/sbin/pfctl/missing/altq/
H A Daltq.h165 u_int64_t packets; member in struct:pktcntr
170 do { (cntr)->packets++; (cntr)->bytes += len; } while (/*CONSTCOND*/ 0)
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq.h165 u_int64_t packets; member in struct:pktcntr
170 do { (cntr)->packets++; (cntr)->bytes += len; } while (/*CONSTCOND*/ 0)
/freebsd-9.3-release/sys/netgraph/netflow/
H A Dnetflow.h94 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 Dng_netflow.h68 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 */
130 uint16_t packets; /* max packets between announce */ member in struct:ng_netflow_settemplate
148 uint16_t templ_packets; /* v9 template packets */
228 u_long packets; member in struct:flow_entry_data
246 u_long packets; member in struct:flow6_entry_data
[all...]
H A Dnetflow.c67 /* 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)
352 fle->f.packets = 1;
439 fle6->f.packets = 1;
746 fle->f.packets ++;
871 fle6->f.packets ++;
1074 rec->packets = htonl(fle->f.packets);
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-pfsync.c416 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 Dprint-cnfp.c70 u_int32_t packets; member in struct:nfrec
187 EXTRACT_32BITS(&nr->packets),
/freebsd-9.3-release/lib/libncp/
H A Dsap.c257 int sock, error, packets, len; local
279 packets = 5;
286 packets--;
287 } while (packets > 0);
289 if (packets == 0) {
/freebsd-9.3-release/usr.sbin/fwcontrol/
H A Dfwdv.c262 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-9.3-release/crypto/openssh/
H A Dpacket.c95 u_int32_t packets; member in struct:packet_state
249 active_state->p_send.packets = active_state->p_read.packets = 0;
406 u_int32_t *packets, u_int64_t *bytes)
416 if (packets)
417 *packets = state->packets;
423 packet_set_state(int mode, u_int32_t seqnr, u_int64_t blocks, u_int32_t packets, argument
432 state->packets = packets;
405 packet_get_state(int mode, u_int32_t *seqnr, u_int64_t *blocks, u_int32_t *packets, u_int64_t *bytes) argument
[all...]
/freebsd-9.3-release/contrib/ipfilter/
H A DHISTORY21 keep state doesn't work with multicast/broadcast packets (makes UPnP easier)
41 destroying NAT entries for blocked packets can lead to NAT table entry leak,
62 only advance TCP state for packets on the leading edge of the window. (B1)
69 ICMP checksums for some redirect'd packets are not adjusted correctly.
76 filling up the ipauth packet queue can lead to no more packets being
82 packets
88 logging of Ipv6 packets with extension headers fix - Miroslaw Luc
229 fix leakage of state entries due to packets not matching up with NAT
256 rewrite checksum alteration for ICMP packets being NAT'd to use a sane
328 program in some more cases where TCP packets fai
[all...]
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-pko.h142 uint32_t packets; member in struct:__anon6557
527 status->packets = pko_mem_count0.s.count;
562 * Rate limit a PKO port to a max packets/sec. This function is only
567 * @param burst Maximum number of packets to burst in a row before rate
H A Dcvmx-usb.h548 * 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[],
H A Dcvmx-pip.h175 uint32_t dropped_packets; /**< Inbound packets marked to be dropped by the IPD */
178 uint32_t packets; /**< Number of packets processed by PIP */ member in struct:__anon6552
179 uint32_t multicast_packets; /**< Number of indentified L2 multicast packets.
180 Does not include broadcast packets.
181 Only includes packets whose parse mode is
183 uint32_t broadcast_packets; /**< Number of indentified L2 broadcast packets.
184 Does not include multicast packets.
185 Only includes packets whose parse mode is
187 uint32_t len_64_packets; /**< Number of 64B packets */
[all...]
/freebsd-9.3-release/sys/dev/e1000/
H A Dif_igb.h58 * Increasing this value allows the driver to buffer more incoming packets.
307 u32 packets; member in struct:tx_ring
338 * collecting multisegment RX packets.
344 u32 packets; member in struct:rx_ring
/freebsd-9.3-release/sys/dev/ixgbe/
H A Dixgbe.h111 * value allows the driver to buffer more incoming packets. Each descriptor
322 u32 packets; member in struct:tx_ring
356 u32 packets; member in struct:rx_ring
H A Dixv.h109 * value allows the driver to buffer more incoming packets. Each descriptor
269 u32 packets; member in struct:tx_ring
296 u32 packets; member in struct:rx_ring
/freebsd-9.3-release/contrib/ipfilter/perl/
H A Dplog24 # Generate source and destination reports of all packets logged with
34 # Generate a source report of all blocked packets with no hostname
40 # Generate a source report of all packets whose source or destination
51 # - It looks as though short TCP or UDP packets will break things, but I
114 # format, so that packets from the same source will always show the same
530 # allows us to sort icmp packets using the normal port-sorting
1017 sorted by IP address. For each address, all packets originating at the address
1018 are presented in a tabular form, where all packets with the same source and
1032 -F Show all flag combinations associated with packets.
1049 may not match the original addresses of the logged packets becaus
[all...]

Completed in 227 milliseconds

123