Skip to content
Snippets Groups Projects
neighbor.go 649 B
Newer Older
  • Learn to ignore specific revisions
  • package routingtable
    
    // Neighbor represents the attributes identifying a neighbor relationsship
    type Neighbor struct {
    	// Addres is the IPv4 address of the neighbor as integer representation
    	Address uint32
    
    
    	// Local address is the local address of the BGP TCP connection
    	LocalAddress uint32
    
    
    takt's avatar
    takt committed
    	// Type is the type / protocol used for routing inforation communitation
    
    
    	// IBGP returns if local ASN is equal to remote ASN
    	IBGP bool
    
    
    	// Local ASN of session
    	LocalASN uint32
    
    
    	// Peer is a route server client
    	RouteServerClient bool
    
    	// CapAddPathRX indicates if the peer supports receiving multiple BGP paths
    	CapAddPathRX bool