Skip to content
Snippets Groups Projects
peer.go 348 B
Newer Older
Oliver Herms's avatar
Oliver Herms committed
package config

import (
	"net"

	"github.com/bio-routing/bio-rd/routingtable"
Oliver Herms's avatar
Oliver Herms committed
)

type Peer struct {
	AdminEnabled bool
	KeepAlive    uint16
	HoldTimer    uint16
	LocalAddress net.IP
	PeerAddress  net.IP
	LocalAS      uint32
	PeerAS       uint32
	Passive      bool
	RouterID     uint32
	AddPathSend  routingtable.ClientOptions
	AddPathRecv  uint
Oliver Herms's avatar
Oliver Herms committed
}