google / google/gopacket

sflow - Error handing counter record type - Invalid counter record type: 2001

Open
#904 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am generating sample sflow data using [host-sflow](https://github.com/sflow/host-sflow) daemon for testing purposes. Gopacket is failing to decode certain packets. e.g. [counter record type 2001](https://github.com/sflow/host-sflow/blob/dc692defd23473a16a388d9123cc4a292889ccef/src/sflow/sflow.h#L1227). I see that gopacket supports only [limited](https://github.com/google/gopacket/blob/3aa782ce48d4a525acaebab344cedabfb561f870/layers/sflow.go#L735) number of counter packet types.

Would like to know why other counter packet types are not handled today.

Thanks,
Siddharth

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.