summaryrefslogtreecommitdiffhomepage
path: root/table/temporary_structs.go
blob: 6350d2e7f9f24c6e8373929004a470c87b5e38d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// core.go
package table

import (
	"github.com/osrg/gobgp/packet"
	"net"
)

type CoreService struct {
	CommonConf    *Commons
	NeighborsConf *Neighbors
}
type Neighbors struct {
	//need to define a structure
}
type Commons struct {
	//need to define a structure
}
type Peer struct {
	//need to define a structure
	RemoteAs      uint32
	VersionNum    int
	RemoteAddress net.IP
	protocol      *BgpProtocol
}
type SentRoute struct {
	path Path
	peer *Peer
}
type BgpProtocol struct {
	//need to define a structure
	recvOpenMsg *bgp.BGPOpen
	sentOpenMsg *bgp.BGPOpen
}