Counters provided by a transport. More...
#include <daemon/face/transport.hpp>
Public Attributes | |
ByteCounter | nInBytes |
Total bytes received. More... | |
PacketCounter | nInPackets |
Count of incoming packets. More... | |
ByteCounter | nOutBytes |
Total bytes sent. More... | |
PacketCounter | nOutPackets |
Count of outgoing packets. More... | |
Counters provided by a transport.
Definition at line 54 of file transport.hpp.
ByteCounter nfd::face::TransportCounters::nInBytes |
Total bytes received.
This counter includes headers imposed by NFD (such as NDNLP), but excludes the overhead of the underlying protocol (such as IP header).
For a datagram-based transport, an incoming packet that cannot be parsed as TLV will not be counted.
Definition at line 85 of file transport.hpp.
PacketCounter nfd::face::TransportCounters::nInPackets |
Count of incoming packets.
A 'packet' typically means a top-level TLV element.
For a datagram-based transport, an incoming packet that cannot be parsed as TLV will not be counted.
Definition at line 65 of file transport.hpp.
ByteCounter nfd::face::TransportCounters::nOutBytes |
Total bytes sent.
This counter includes headers imposed by NFD (such as NDNLP), but excludes the overhead of the underlying protocol (such as IP header).
This counter is increased only when the transport is UP.
Definition at line 95 of file transport.hpp.
PacketCounter nfd::face::TransportCounters::nOutPackets |
Count of outgoing packets.
A 'packet' typically means a top-level TLV element.
This counter is incremented only when the transport is UP.
Definition at line 74 of file transport.hpp.