Counter samples have the following structure: 0 15 31 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | int sample sequence number | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ |id type | src id index value | +--+
| 710 | // +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ |
| 711 | |
| 712 | type SFlowCounterDataFormat uint32 |
| 713 | |
| 714 | func (cdf SFlowCounterDataFormat) decode() (SFlowEnterpriseID, SFlowCounterRecordType) { |
| 715 | leftField := cdf >> 12 |
no outgoing calls
no test coverage detected