Home | History | Annotate | Download | only in net

Lines Matching defs:rxBytes

72     private long[] rxBytes;
84 public long rxBytes;
103 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize];
115 rxBytes = readLongArray(in);
128 writeLongArray(out, rxBytes, bucketCount);
141 rxBytes = readFullLongArray(in);
155 rxBytes = readVarLongArray(in);
174 writeVarLongArray(out, rxBytes, bucketCount);
246 entry.rxBytes = getLong(rxBytes, i, UNKNOWN);
259 public void recordData(long start, long end, long rxBytes, long txBytes) {
261 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L));
269 if (entry.rxBytes < 0 || entry.rxPackets < 0 || entry.txBytes < 0 || entry.txPackets < 0
273 if (entry.rxBytes == 0 && entry.rxPackets == 0 && entry.txBytes == 0 && entry.txPackets == 0
298 final long fracRxBytes = entry.rxBytes * overlap / duration;
305 addLong(rxBytes, i, fracRxBytes); entry.rxBytes -= fracRxBytes;
326 entry.rxBytes = getLong(input.rxBytes, i, 0L);
363 if (rxBytes != null) rxBytes = Arrays.copyOf(rxBytes, newLength);
377 if (rxBytes != null) System.arraycopy(rxBytes, index, rxBytes, dstPos, length);
386 setLong(rxBytes, index, 0L);
412 if (rxBytes != null) rxBytes = Arrays.copyOfRange(rxBytes, i, length);
438 entry.rxBytes = rxBytes != null ? 0 : UNKNOWN;
468 if (rxBytes != null) entry.rxBytes += rxBytes[i] * overlap / bucketDuration;
485 final long rxBytes = (long) (bytes * fractionRx);
488 final long rxPackets = rxBytes / 1024;
490 final long operations = rxBytes / 2048;
492 generateRandom(start, end, rxBytes, rxPackets, txBytes, txPackets, operations, r);
499 public void generateRandom(long start, long end, long rxBytes, long rxPackets, long txBytes,
505 while (rxBytes > 1024 || rxPackets > 128 || txBytes > 1024 || txPackets > 128
510 entry.rxBytes = randomLong(r, 0, rxBytes);
516 rxBytes -= entry.rxBytes;
544 if (rxBytes != null) { pw.print(" rxBytes="); pw.print(rxBytes[i]); }