obmp

package module
v0.0.0-...-9d6ef1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 7 Imported by: 0

README

go-openbmp

an openbmp parser for Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenBMPHeader

type OpenBMPHeader struct {
	MajorVersion  uint8
	MinorVersion  uint8
	HeaderLength  uint16
	MessageLength uint32
	Flags         uint8
	ObjType       uint8

	CollectorTimestamp time.Time

	CollectorHash    string
	CollectorAdminID []byte

	RouterHash string
	RouterIP   netip.Addr

	RouterGroup []byte

	RowCount uint32

	BMPMessage []byte
}

func ParseHeader

func ParseHeader(data []byte) (*OpenBMPHeader, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL