/external/nfacct/ |
H A D | nfacct.c | 173 "{ pkts = %.20llu, bytes = %.20llu } = %s;", 250 static int _nfacct_cmd_add(char *name, int pkts, int bytes) argument 280 nla_put_u64(msg, NFACCT_PKTS, htobe64(pkts)); 584 uint64_t pkts, bytes; local 595 ret = sscanf(buffer, "{ pkts = %llu, bytes = %llu } = %s", 596 &pkts, &bytes, name); 601 if ((ret = _nfacct_cmd_add(name, pkts, bytes)) != 0)
|
/external/mdnsresponder/mDNSPosix/ |
H A D | NetMonitor.c | 174 unsigned long pkts[HostPkt_NumTypes]; member in struct:__anon26834 185 #define HostEntryTotalPackets(H) ((H)->pkts[HostPkt_Q] + (H)->pkts[HostPkt_L] + (H)->pkts[HostPkt_R] + (H)->pkts[HostPkt_B]) 228 for (i=0; i<HostPkt_NumTypes; i++) entry->pkts[i] = 0; 259 if (id.NotAnInteger != 0xFFFF) entry->pkts[t]++; 370 HostEntryTotalPackets(e), e->pkts[HostPkt_Q], e->pkts[HostPkt_L], e->pkts[HostPkt_ [all...] |
/external/libvpx/libvpx/vpx/internal/ |
H A D | vpx_codec_internal.h | 458 struct vpx_codec_cx_pkt pkts[1]; member in struct:vpx_codec_pkt_list 464 struct vpx_codec_cx_pkt pkts[n];} alloc;} 468 (m)->alloc.head.max = sizeof((m)->alloc.pkts) / sizeof((m)->alloc.pkts[0])
|
/external/libpcap/ |
H A D | pcap-linux.c | 4309 int pkts = 0; local 4320 while ((pkts < max_packets) || PACKET_COUNT_IS_UNLIMITED(max_packets)) { 4340 pkts++; 4374 return pkts; 4383 int pkts = 0; local 4394 while ((pkts < max_packets) || PACKET_COUNT_IS_UNLIMITED(max_packets)) { 4418 pkts++; 4452 return pkts; 4463 int pkts = 0; local 4475 return pkts; [all...] |
/external/iproute2/ip/ |
H A D | ipmroute.c | 95 unsigned pkts, b, w; local 105 &pkts, &b, &w, oiflist) < 6) 157 fprintf(ofp, "%s %u packets, %u bytes", _SL_, pkts, b);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx/internal/ |
H A D | vpx_codec_internal.h | 396 struct vpx_codec_cx_pkt pkts[1]; member in struct:vpx_codec_pkt_list 402 struct vpx_codec_cx_pkt pkts[n];} alloc;} 406 (m)->alloc.head.max = sizeof((m)->alloc.pkts) / sizeof((m)->alloc.pkts[0])
|
/external/blktrace/btreplay/ |
H A D | btrecord.c | 88 * @pkts: Number of packets stored in bunches 95 __u64 start_time, last_time, bunches, pkts; member in struct:io_stream 104 static __u64 max_pkts_per_bunch = 8; // Default # of pkts per bunch 115 "\t[ -M <pkts> : --max-pkts=<pkts> ] Default: 8\n" \ 155 .name = "max-pkts", 283 cur->pkts[cur->hdr.npkts++] = iop; // Struct copy 438 fprintf(stderr, "Invalid max pkts %llu\n", 599 struct io_pkt *p = stream->cur->pkts; [all...] |
H A D | btrecord.h | 56 * @pkts: Individual IOs are described here 60 struct io_pkt pkts[BT_MAX_PKTS]; member in struct:io_bunch
|
H A D | btreplay.c | 1134 result = read(tip->ifd, &bunch->pkts, count); 1136 fatal(tip->file_name, ERR_SYSCALL, "Short pkts(%ld/%ld)\n", 1208 * @pkts: AIOs to map 1212 struct io_pkt *pkts, int ntodo) 1221 for (i = 0, pkt = pkts; i < ntodo; i++, pkt++) { 1263 iocbs_map(tip, list, &bunch->pkts[i], ntodo); 1211 iocbs_map(struct thr_info *tip, struct iocb **list, struct io_pkt *pkts, int ntodo) argument
|