MCPcopy Index your code
hub / github.com/Edgio/vflow / validate

Method validate

ipfix/decoder.go:272–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

270}
271
272func (h *MessageHeader) validate() error {
273 if h.Version != 0x000a {
274 return fmt.Errorf("invalid ipfix version (%d)", h.Version)
275 }
276
277 // TODO: needs more validation
278
279 return nil
280}
281
282// RFC 7011 - part 3.3.2 Set Header Format
283// 0 1 2 3

Callers 1

DecodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected