MCPcopy Create free account
hub / github.com/Edgio/vflow / isFilterMatch

Method isFilterMatch

sflow/decoder.go:214–221  ·  view source on GitHub ↗
(f uint32)

Source from the content-addressed store, hash-verified

212}
213
214func (d *SFDecoder) isFilterMatch(f uint32) bool {
215 for _, v := range d.filter {
216 if v == f {
217 return true
218 }
219 }
220 return false
221}
222
223func read(r io.Reader, v interface{}) error {
224 return binary.Read(r, binary.BigEndian, v)

Callers 1

SFDecodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected