- All Superinterfaces:
PcapStat
- All Known Implementing Classes:
PcapStatExRecord
The Interface PcapStatEx.
- Author:
- Sly Technologies Inc, repos@slytechs.com, mark
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The length of the pcap_stat_ex structure in bytes. -
Method Summary
Modifier and TypeMethodDescriptionlong
capt()
Capt.long
Collisions.long
drop()
Drop.long
ifdrop()
Ifdrop.long
multicast packets received.long
netdrop()
Netdrop.long
recv()
Recv.long
rxBytes()
total bytes received.long
recv'd pkt with crc error.long
no space in Rx buffers.long
rxErrors()
bad packets received.long
recv'r fifo overrun.long
recv'd frame alignment error.long
Rx length errors.long
recv'r missed packet.long
receiver ring buff overflow.long
total packets received.long
sent()
Sent.int
size()
Size of this structure in bytes.long
Tx aborted errors.long
txBytes()
total bytes transmitted.long
Tx carrier errros.long
no space available for Tx.long
txErrors()
packet transmit problems.long
Tx fifo errors.long
Tx heartbeat errors.long
total packets transmitted.long
Tx 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
-