Skip to content
Snippets Groups Projects
peer.go 445 B
Newer Older
  • Learn to ignore specific revisions
  • 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       bool
    	ReconnectInterval time.Duration
    
    Oliver Herms's avatar
    Oliver Herms committed
    }