bird_exporter/protocol/protocol.go
Daniel Czerwonk a9d6003ed4 resolves #8
2017-09-22 08:02:12 +02:00

21 lines
297 B
Go

package protocol
const (
PROTO_UNKNOWN = 0
BGP = 1
OSPF = 2
)
type Protocol struct {
Name string
IpVersion int
Proto int
Up int
Imported int64
Exported int64
Filtered int64
Preferred int64
Uptime int
Attributes map[string]float64
}