- All Superinterfaces:
PcapStat
- All Known Implementing Classes:
PcapStatExRecord
The Interface PcapStatEx.
- Author:
- Sly Technologies Inc, repos@slytechs.com, mark
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe length of the pcap_stat_ex structure in bytes. -
Method Summary
Modifier and TypeMethodDescriptionlongcapt()Capt.longCollisions.longdrop()Drop.longifdrop()Ifdrop.longmulticast packets received.longnetdrop()Netdrop.longrecv()Recv.longrxBytes()total bytes received.longrecv'd pkt with crc error.longno space in Rx buffers.longrxErrors()bad packets received.longrecv'r fifo overrun.longrecv'd frame alignment error.longRx length errors.longrecv'r missed packet.longreceiver ring buff overflow.longtotal packets received.longsent()Sent.intsize()Size of this structure in bytes.longTx aborted errors.longtxBytes()total bytes transmitted.longTx carrier errros.longno space available for Tx.longtxErrors()packet transmit problems.longTx fifo errors.longTx heartbeat errors.longtotal packets transmitted.longTx window errrors.
-
Field Details
-
PCAP_STAT_EX_LENGTH
static final int PCAP_STAT_EX_LENGTHThe length of the pcap_stat_ex structure in bytes.
-
-
Method Details
-
size
int size()Size of this structure in bytes. Is used to differentiate between the standard size pcap_stat structure and pcap_stat_ex. The lengths will be different.- Returns:
- the int
-
recv
-
drop
-
ifdrop
-
capt
-
sent
-
netdrop
-
rxPackets
long rxPackets()total packets received.- Returns:
- the long
-
txPackets
long txPackets()total packets transmitted.- Returns:
- the long
-
rxBytes
long rxBytes()total bytes received.- Returns:
- the long
-
txBytes
long txBytes()total bytes transmitted.- Returns:
- the long
-
rxErrors
long rxErrors()bad packets received.- Returns:
- the long
-
txErrors
long txErrors()packet transmit problems.- Returns:
- the long
-
rxDropped
long rxDropped()no space in Rx buffers.- Returns:
- the long
-
txDropped
long txDropped()no space available for Tx.- Returns:
- the long
-
multicast
long multicast()multicast packets received.- Returns:
- the long
-
collisions
long collisions()Collisions.- Returns:
- the long
-
rxLengthErrors
long rxLengthErrors()Rx length errors.- Returns:
- the long
-
rxOverErrors
long rxOverErrors()receiver ring buff overflow.- Returns:
- the long
-
rxCrcErrors
long rxCrcErrors()recv'd pkt with crc error.- Returns:
- the long
-
rxFrameErrors
long rxFrameErrors()recv'd frame alignment error.- Returns:
- the long
-
rxFifoErrors
long rxFifoErrors()recv'r fifo overrun.- Returns:
- the long
-
rxMissedErrors
long rxMissedErrors()recv'r missed packet.- Returns:
- the long
-
txAbortedErrors
long txAbortedErrors()Tx aborted errors.- Returns:
- the long
-
txCarrierErrors
long txCarrierErrors()Tx carrier errros.- Returns:
- the long
-
txFifoErrors
long txFifoErrors()Tx fifo errors.- Returns:
- the long
-
txHeartbeatErrors
long txHeartbeatErrors()Tx heartbeat errors.- Returns:
- the long
-
txWindowErrrors
long txWindowErrrors()Tx window errrors.- Returns:
- the long
-