MCPcopy Index your code
hub / github.com/google/gopacket / SFlowCounterDataFormat

TypeAlias SFlowCounterDataFormat

layers/sflow.go:712–712  ·  view source on GitHub ↗

Counter samples have the following structure: 0 15 31 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | int sample sequence number | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ |id type | src id index value | +--+

Source from the content-addressed store, hash-verified

710// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
711
712type SFlowCounterDataFormat uint32
713
714func (cdf SFlowCounterDataFormat) decode() (SFlowEnterpriseID, SFlowCounterRecordType) {
715 leftField := cdf >> 12

Callers 10

decodeCounterSampleFunction · 0.85
decodeEthernetCountersFunction · 0.85
decodeVLANCountersFunction · 0.85
decodeLACPCountersFunction · 0.85
decodeProcessorCountersFunction · 0.85
decodeOVSDPCountersFunction · 0.85
decodePortnameCountersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected