INNER CODE UNIT · Go

init

Edgio/vflow · ipfix/decoder_test.go:33

func init() {
	// IPFIX packet including template SetID:2, 25 fields
	tpl = []byte{
		0x0, 0xa, 0x0, 0x7c, 0x58, 0x90, 0xd6, 0x40, 0x28, 0xf7,
		0xa0, 0x4a, 0x0, 0x0, 0x84, 0x0, 0x0, 0x2, 0x0, 0x6c, 0x1,
		0x0, 0x0, 0x19, 0x0, 0x8, 0x0, 0x4, 0x0, 0xc, 0x0, 0x4,
		0x0, 0x5, 0x0, 0x1, 0x0, 0x4, 0x0, 0x1, 0x0, 0x7, 0x0, 0x2,
		0x0, 0xb, 0x0, 0x2, 0x0, 0x20, 0x0, 0x2, 0x0, 0xa, 0x0, 0x4,
		0x0, 0x3a, 0x0, 0x2, 0x0, 0x9, 0x0, 0x1, 0x0, 0xd, 0x0, 0x1,
		0x0, 0x10, 0x0, 0x4, 0x0, 0x11, 0x0, 0x4, 0x0, 0xf, 0x0, 0x4,
		0x0, 0x6, 0x0, 0x1, 0x0, 0xe, 0x0, 0x4, 0x0, 0x1, 0x0, 0x8,
		0x0, 0x2, 0x0, 0x8, 0x0, 0x34, 0x0, 0x1, 0x0, 0x35, 0x0, 0x1,
		0x0, 0x98, 0x0, 0x8, 0x0, 0x99, 0x0, 0x8, 0x0, 0x88, 0x0, 0x1,
		0x0, 0xf3, 0x0, 0x2, 0x0, 0xf5, 0x0, 0x2,
	}
	// IPFIX packet including template SetID:3, 6 fields
	optsTpl = []byte{
		0x0, 0xa, 0x0, 0x34, 0x58, 0x6c, 0x2e, 0x4f, 0x0, 0x1d, 0x97,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…