Documentation
¶
Index ¶
- Variables
- type BGP4MPHeader
- func (*BGP4MPHeader) Descriptor() ([]byte, []int)
- func (m *BGP4MPHeader) GetAddressFamily() uint32
- func (m *BGP4MPHeader) GetInterfaceIndex() uint32
- func (m *BGP4MPHeader) GetIs_AS4() bool
- func (m *BGP4MPHeader) GetLocal_AS() uint32
- func (m *BGP4MPHeader) GetLocal_IP() *common.IPAddressWrapper
- func (m *BGP4MPHeader) GetPeer_AS() uint32
- func (m *BGP4MPHeader) GetPeer_IP() *common.IPAddressWrapper
- func (*BGP4MPHeader) ProtoMessage()
- func (m *BGP4MPHeader) Reset()
- func (m *BGP4MPHeader) String() string
- func (m *BGP4MPHeader) XXX_DiscardUnknown()
- func (m *BGP4MPHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGP4MPHeader) XXX_Merge(src proto.Message)
- func (m *BGP4MPHeader) XXX_Size() int
- func (m *BGP4MPHeader) XXX_Unmarshal(b []byte) error
- type BGPHeader
- func (*BGPHeader) Descriptor() ([]byte, []int)
- func (m *BGPHeader) GetLength() uint32
- func (m *BGPHeader) GetMarker() []byte
- func (m *BGPHeader) GetType() uint32
- func (*BGPHeader) ProtoMessage()
- func (m *BGPHeader) Reset()
- func (m *BGPHeader) String() string
- func (m *BGPHeader) XXX_DiscardUnknown()
- func (m *BGPHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGPHeader) XXX_Merge(src proto.Message)
- func (m *BGPHeader) XXX_Size() int
- func (m *BGPHeader) XXX_Unmarshal(b []byte) error
- type BGPUpdate
- func (*BGPUpdate) Descriptor() ([]byte, []int)
- func (m *BGPUpdate) GetAdvertisedRoutes() *BGPUpdate_AdvertisedRoutes
- func (m *BGPUpdate) GetAttrs() *BGPUpdate_Attributes
- func (m *BGPUpdate) GetWithdrawnRoutes() *BGPUpdate_WithdrawnRoutes
- func (*BGPUpdate) ProtoMessage()
- func (m *BGPUpdate) Reset()
- func (m *BGPUpdate) String() string
- func (m *BGPUpdate) XXX_DiscardUnknown()
- func (m *BGPUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGPUpdate) XXX_Merge(src proto.Message)
- func (m *BGPUpdate) XXX_Size() int
- func (m *BGPUpdate) XXX_Unmarshal(b []byte) error
- type BGPUpdate_ASPathSegment
- func (*BGPUpdate_ASPathSegment) Descriptor() ([]byte, []int)
- func (m *BGPUpdate_ASPathSegment) GetASSeq() []uint32
- func (m *BGPUpdate_ASPathSegment) GetASSet() []uint32
- func (*BGPUpdate_ASPathSegment) ProtoMessage()
- func (m *BGPUpdate_ASPathSegment) Reset()
- func (m *BGPUpdate_ASPathSegment) String() string
- func (m *BGPUpdate_ASPathSegment) XXX_DiscardUnknown()
- func (m *BGPUpdate_ASPathSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGPUpdate_ASPathSegment) XXX_Merge(src proto.Message)
- func (m *BGPUpdate_ASPathSegment) XXX_Size() int
- func (m *BGPUpdate_ASPathSegment) XXX_Unmarshal(b []byte) error
- type BGPUpdate_AdvertisedRoutes
- func (*BGPUpdate_AdvertisedRoutes) Descriptor() ([]byte, []int)
- func (m *BGPUpdate_AdvertisedRoutes) GetPrefixes() []*common.PrefixWrapper
- func (*BGPUpdate_AdvertisedRoutes) ProtoMessage()
- func (m *BGPUpdate_AdvertisedRoutes) Reset()
- func (m *BGPUpdate_AdvertisedRoutes) String() string
- func (m *BGPUpdate_AdvertisedRoutes) XXX_DiscardUnknown()
- func (m *BGPUpdate_AdvertisedRoutes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGPUpdate_AdvertisedRoutes) XXX_Merge(src proto.Message)
- func (m *BGPUpdate_AdvertisedRoutes) XXX_Size() int
- func (m *BGPUpdate_AdvertisedRoutes) XXX_Unmarshal(b []byte) error
- type BGPUpdate_Aggregator
- func (*BGPUpdate_Aggregator) Descriptor() ([]byte, []int)
- func (m *BGPUpdate_Aggregator) GetAS() uint32
- func (m *BGPUpdate_Aggregator) GetIP() *common.IPAddressWrapper
- func (*BGPUpdate_Aggregator) ProtoMessage()
- func (m *BGPUpdate_Aggregator) Reset()
- func (m *BGPUpdate_Aggregator) String() string
- func (m *BGPUpdate_Aggregator) XXX_DiscardUnknown()
- func (m *BGPUpdate_Aggregator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGPUpdate_Aggregator) XXX_Merge(src proto.Message)
- func (m *BGPUpdate_Aggregator) XXX_Size() int
- func (m *BGPUpdate_Aggregator) XXX_Unmarshal(b []byte) error
- type BGPUpdate_Attributes
- func (*BGPUpdate_Attributes) Descriptor() ([]byte, []int)
- func (m *BGPUpdate_Attributes) GetASPath() []*BGPUpdate_ASPathSegment
- func (m *BGPUpdate_Attributes) GetAggregator() *BGPUpdate_Aggregator
- func (m *BGPUpdate_Attributes) GetAtomicAggregate() bool
- func (m *BGPUpdate_Attributes) GetCommunities() *BGPUpdate_Communities
- func (m *BGPUpdate_Attributes) GetExtendedBit() bool
- func (m *BGPUpdate_Attributes) GetLocalPref() uint32
- func (m *BGPUpdate_Attributes) GetMultiExit() uint32
- func (m *BGPUpdate_Attributes) GetNextHop() *common.IPAddressWrapper
- func (m *BGPUpdate_Attributes) GetOptionalBit() bool
- func (m *BGPUpdate_Attributes) GetOrigin() BGPUpdate_Attributes_Origin
- func (m *BGPUpdate_Attributes) GetPartialBit() bool
- func (m *BGPUpdate_Attributes) GetTransitiveBit() bool
- func (m *BGPUpdate_Attributes) GetTypes() []BGPUpdate_Attributes_Type
- func (*BGPUpdate_Attributes) ProtoMessage()
- func (m *BGPUpdate_Attributes) Reset()
- func (m *BGPUpdate_Attributes) String() string
- func (m *BGPUpdate_Attributes) XXX_DiscardUnknown()
- func (m *BGPUpdate_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGPUpdate_Attributes) XXX_Merge(src proto.Message)
- func (m *BGPUpdate_Attributes) XXX_Size() int
- func (m *BGPUpdate_Attributes) XXX_Unmarshal(b []byte) error
- type BGPUpdate_Attributes_Origin
- type BGPUpdate_Attributes_Type
- type BGPUpdate_Communities
- func (*BGPUpdate_Communities) Descriptor() ([]byte, []int)
- func (m *BGPUpdate_Communities) GetCommunities() []*BGPUpdate_Community
- func (*BGPUpdate_Communities) ProtoMessage()
- func (m *BGPUpdate_Communities) Reset()
- func (m *BGPUpdate_Communities) String() string
- func (m *BGPUpdate_Communities) XXX_DiscardUnknown()
- func (m *BGPUpdate_Communities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGPUpdate_Communities) XXX_Merge(src proto.Message)
- func (m *BGPUpdate_Communities) XXX_Size() int
- func (m *BGPUpdate_Communities) XXX_Unmarshal(b []byte) error
- type BGPUpdate_Community
- func (*BGPUpdate_Community) Descriptor() ([]byte, []int)
- func (m *BGPUpdate_Community) GetCommunity() []byte
- func (m *BGPUpdate_Community) GetExtendedCommunity() []byte
- func (*BGPUpdate_Community) ProtoMessage()
- func (m *BGPUpdate_Community) Reset()
- func (m *BGPUpdate_Community) String() string
- func (m *BGPUpdate_Community) XXX_DiscardUnknown()
- func (m *BGPUpdate_Community) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGPUpdate_Community) XXX_Merge(src proto.Message)
- func (m *BGPUpdate_Community) XXX_Size() int
- func (m *BGPUpdate_Community) XXX_Unmarshal(b []byte) error
- type BGPUpdate_WithdrawnRoutes
- func (*BGPUpdate_WithdrawnRoutes) Descriptor() ([]byte, []int)
- func (m *BGPUpdate_WithdrawnRoutes) GetPrefixes() []*common.PrefixWrapper
- func (*BGPUpdate_WithdrawnRoutes) ProtoMessage()
- func (m *BGPUpdate_WithdrawnRoutes) Reset()
- func (m *BGPUpdate_WithdrawnRoutes) String() string
- func (m *BGPUpdate_WithdrawnRoutes) XXX_DiscardUnknown()
- func (m *BGPUpdate_WithdrawnRoutes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BGPUpdate_WithdrawnRoutes) XXX_Merge(src proto.Message)
- func (m *BGPUpdate_WithdrawnRoutes) XXX_Size() int
- func (m *BGPUpdate_WithdrawnRoutes) XXX_Unmarshal(b []byte) error
- type MrtBody
- func (*MrtBody) Descriptor() ([]byte, []int)
- func (m *MrtBody) GetBGP4MPHeader() *BGP4MPHeader
- func (m *MrtBody) GetBGPMessage() []byte
- func (m *MrtBody) GetRib() *RIB
- func (*MrtBody) ProtoMessage()
- func (m *MrtBody) Reset()
- func (m *MrtBody) String() string
- func (m *MrtBody) XXX_DiscardUnknown()
- func (m *MrtBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MrtBody) XXX_Merge(src proto.Message)
- func (m *MrtBody) XXX_Size() int
- func (m *MrtBody) XXX_Unmarshal(b []byte) error
- type MrtHeader
- func (*MrtHeader) Descriptor() ([]byte, []int)
- func (m *MrtHeader) GetLen() uint32
- func (m *MrtHeader) GetSubtype() uint32
- func (m *MrtHeader) GetTimestamp() uint32
- func (m *MrtHeader) GetType() uint32
- func (*MrtHeader) ProtoMessage()
- func (m *MrtHeader) Reset()
- func (m *MrtHeader) String() string
- func (m *MrtHeader) XXX_DiscardUnknown()
- func (m *MrtHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MrtHeader) XXX_Merge(src proto.Message)
- func (m *MrtHeader) XXX_Size() int
- func (m *MrtHeader) XXX_Unmarshal(b []byte) error
- type MrtMessage
- func (*MrtMessage) Descriptor() ([]byte, []int)
- func (m *MrtMessage) GetBody() *MrtBody
- func (m *MrtMessage) GetHeader() *MrtHeader
- func (*MrtMessage) ProtoMessage()
- func (m *MrtMessage) Reset()
- func (m *MrtMessage) String() string
- func (m *MrtMessage) XXX_DiscardUnknown()
- func (m *MrtMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MrtMessage) XXX_Merge(src proto.Message)
- func (m *MrtMessage) XXX_Size() int
- func (m *MrtMessage) XXX_Unmarshal(b []byte) error
- type PeerEntry
- func (*PeerEntry) Descriptor() ([]byte, []int)
- func (m *PeerEntry) GetPeerId() uint32
- func (m *PeerEntry) GetPeer_AS() uint32
- func (m *PeerEntry) GetPeer_IP() *common.IPAddressWrapper
- func (*PeerEntry) ProtoMessage()
- func (m *PeerEntry) Reset()
- func (m *PeerEntry) String() string
- func (m *PeerEntry) XXX_DiscardUnknown()
- func (m *PeerEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PeerEntry) XXX_Merge(src proto.Message)
- func (m *PeerEntry) XXX_Size() int
- func (m *PeerEntry) XXX_Unmarshal(b []byte) error
- type RIB
- func (*RIB) Descriptor() ([]byte, []int)
- func (m *RIB) GetPeerEntry() []*PeerEntry
- func (m *RIB) GetRouteEntry() []*RIBEntry
- func (*RIB) ProtoMessage()
- func (m *RIB) Reset()
- func (m *RIB) String() string
- func (m *RIB) XXX_DiscardUnknown()
- func (m *RIB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RIB) XXX_Merge(src proto.Message)
- func (m *RIB) XXX_Size() int
- func (m *RIB) XXX_Unmarshal(b []byte) error
- type RIBEntry
- func (*RIBEntry) Descriptor() ([]byte, []int)
- func (m *RIBEntry) GetAttrs() *BGPUpdate_Attributes
- func (m *RIBEntry) GetPeerIndex() uint32
- func (m *RIBEntry) GetPrefix() *common.PrefixWrapper
- func (m *RIBEntry) GetTimestamp() uint32
- func (*RIBEntry) ProtoMessage()
- func (m *RIBEntry) Reset()
- func (m *RIBEntry) String() string
- func (m *RIBEntry) XXX_DiscardUnknown()
- func (m *RIBEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RIBEntry) XXX_Merge(src proto.Message)
- func (m *RIBEntry) XXX_Size() int
- func (m *RIBEntry) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var BGPUpdate_Attributes_Origin_name = map[int32]string{
0: "IGP",
1: "EGP",
2: "INC",
}
View Source
var BGPUpdate_Attributes_Origin_value = map[string]int32{
"IGP": 0,
"EGP": 1,
"INC": 2,
}
View Source
var BGPUpdate_Attributes_Type_name = map[int32]string{
0: "UNKNOWN",
1: "ORIGIN",
2: "AS_PATH",
3: "NEXT_HOP",
4: "MULTI_EXIT",
5: "LOCAL_PREF",
6: "ATOMIC_AGGREGATE",
7: "AGGREGATOR",
8: "COMMUNITY",
9: "ORIGINATOR_ID",
10: "CLUSTER_LIST",
14: "MP_REACH_NLRI",
15: "MP_UNREACH_NLRI",
16: "EXTENDED_COMMUNITY",
17: "AS4_PATH",
18: "AS4_AGGREGATOR",
22: "PMSI_TUNNEL",
23: "TUNNEL_ENCAPSULATION_ATTRIBUTE",
24: "TRAFFIC_ENGINEERING",
25: "IPV6_ADDRESS_SPECIFIC_EXTENDED_COMMUNITY",
26: "AIGP",
27: "PE_DISTINGUISHER_LABELS",
29: "BGP_LS_ATTRIBUTE",
32: "LARGE_COMMUNITY",
33: "BGPSEC_PATH",
128: "ATTR_SET",
}
View Source
var BGPUpdate_Attributes_Type_value = map[string]int32{
"UNKNOWN": 0,
"ORIGIN": 1,
"AS_PATH": 2,
"NEXT_HOP": 3,
"MULTI_EXIT": 4,
"LOCAL_PREF": 5,
"ATOMIC_AGGREGATE": 6,
"AGGREGATOR": 7,
"COMMUNITY": 8,
"ORIGINATOR_ID": 9,
"CLUSTER_LIST": 10,
"MP_REACH_NLRI": 14,
"MP_UNREACH_NLRI": 15,
"EXTENDED_COMMUNITY": 16,
"AS4_PATH": 17,
"AS4_AGGREGATOR": 18,
"PMSI_TUNNEL": 22,
"TUNNEL_ENCAPSULATION_ATTRIBUTE": 23,
"TRAFFIC_ENGINEERING": 24,
"IPV6_ADDRESS_SPECIFIC_EXTENDED_COMMUNITY": 25,
"AIGP": 26,
"PE_DISTINGUISHER_LABELS": 27,
"BGP_LS_ATTRIBUTE": 29,
"LARGE_COMMUNITY": 32,
"BGPSEC_PATH": 33,
"ATTR_SET": 128,
}
Functions ¶
This section is empty.
Types ¶
type BGP4MPHeader ¶
type BGP4MPHeader struct { Peer_AS uint32 `protobuf:"varint,1,opt,name=peer_AS,json=peerAS,proto3" json:"peer_AS,omitempty"` Local_AS uint32 `protobuf:"varint,2,opt,name=local_AS,json=localAS,proto3" json:"local_AS,omitempty"` InterfaceIndex uint32 `protobuf:"varint,3,opt,name=interface_index,json=interfaceIndex,proto3" json:"interface_index,omitempty"` AddressFamily uint32 `protobuf:"varint,4,opt,name=address_family,json=addressFamily,proto3" json:"address_family,omitempty"` Peer_IP *common.IPAddressWrapper `protobuf:"bytes,5,opt,name=peer_IP,json=peerIP,proto3" json:"peer_IP,omitempty"` Local_IP *common.IPAddressWrapper `protobuf:"bytes,6,opt,name=local_IP,json=localIP,proto3" json:"local_IP,omitempty"` Is_AS4 bool `protobuf:"varint,7,opt,name=is_AS4,json=isAS4,proto3" json:"is_AS4,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BGP4MPHeader) Descriptor ¶
func (*BGP4MPHeader) Descriptor() ([]byte, []int)
func (*BGP4MPHeader) GetAddressFamily ¶
func (m *BGP4MPHeader) GetAddressFamily() uint32
func (*BGP4MPHeader) GetInterfaceIndex ¶
func (m *BGP4MPHeader) GetInterfaceIndex() uint32
func (*BGP4MPHeader) GetIs_AS4 ¶ added in v0.1.4
func (m *BGP4MPHeader) GetIs_AS4() bool
func (*BGP4MPHeader) GetLocal_AS ¶ added in v0.1.4
func (m *BGP4MPHeader) GetLocal_AS() uint32
func (*BGP4MPHeader) GetLocal_IP ¶ added in v0.1.4
func (m *BGP4MPHeader) GetLocal_IP() *common.IPAddressWrapper
func (*BGP4MPHeader) GetPeer_AS ¶ added in v0.1.4
func (m *BGP4MPHeader) GetPeer_AS() uint32
func (*BGP4MPHeader) GetPeer_IP ¶ added in v0.1.4
func (m *BGP4MPHeader) GetPeer_IP() *common.IPAddressWrapper
func (*BGP4MPHeader) ProtoMessage ¶
func (*BGP4MPHeader) ProtoMessage()
func (*BGP4MPHeader) Reset ¶
func (m *BGP4MPHeader) Reset()
func (*BGP4MPHeader) String ¶
func (m *BGP4MPHeader) String() string
func (*BGP4MPHeader) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *BGP4MPHeader) XXX_DiscardUnknown()
func (*BGP4MPHeader) XXX_Marshal ¶ added in v0.1.2
func (m *BGP4MPHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BGP4MPHeader) XXX_Merge ¶ added in v0.1.2
func (dst *BGP4MPHeader) XXX_Merge(src proto.Message)
func (*BGP4MPHeader) XXX_Size ¶ added in v0.1.2
func (m *BGP4MPHeader) XXX_Size() int
func (*BGP4MPHeader) XXX_Unmarshal ¶ added in v0.1.2
func (m *BGP4MPHeader) XXX_Unmarshal(b []byte) error
type BGPHeader ¶
type BGPHeader struct { // 16 bytes marker Marker []byte `protobuf:"bytes,1,opt,name=marker,proto3" json:"marker,omitempty"` // 2 byte length of BGP msg RFC says should be less than 4096 Length uint32 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"` // uint8 msg type Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BGPHeader) Descriptor ¶
func (*BGPHeader) ProtoMessage ¶
func (*BGPHeader) ProtoMessage()
func (*BGPHeader) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *BGPHeader) XXX_DiscardUnknown()
func (*BGPHeader) XXX_Marshal ¶ added in v0.1.2
func (*BGPHeader) XXX_Unmarshal ¶ added in v0.1.2
type BGPUpdate ¶
type BGPUpdate struct { // a message can contain only Advertised routes, // only withdrawn or both. AdvertisedRoutes *BGPUpdate_AdvertisedRoutes `protobuf:"bytes,1,opt,name=advertised_routes,json=advertisedRoutes,proto3" json:"advertised_routes,omitempty"` WithdrawnRoutes *BGPUpdate_WithdrawnRoutes `protobuf:"bytes,2,opt,name=withdrawn_routes,json=withdrawnRoutes,proto3" json:"withdrawn_routes,omitempty"` Attrs *BGPUpdate_Attributes `protobuf:"bytes,3,opt,name=attrs,proto3" json:"attrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BGPUpdate) Descriptor ¶
func (*BGPUpdate) GetAdvertisedRoutes ¶ added in v0.1.4
func (m *BGPUpdate) GetAdvertisedRoutes() *BGPUpdate_AdvertisedRoutes
func (*BGPUpdate) GetAttrs ¶
func (m *BGPUpdate) GetAttrs() *BGPUpdate_Attributes
func (*BGPUpdate) GetWithdrawnRoutes ¶
func (m *BGPUpdate) GetWithdrawnRoutes() *BGPUpdate_WithdrawnRoutes
func (*BGPUpdate) ProtoMessage ¶
func (*BGPUpdate) ProtoMessage()
func (*BGPUpdate) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *BGPUpdate) XXX_DiscardUnknown()
func (*BGPUpdate) XXX_Marshal ¶ added in v0.1.2
func (*BGPUpdate) XXX_Unmarshal ¶ added in v0.1.2
type BGPUpdate_ASPathSegment ¶
type BGPUpdate_ASPathSegment struct { ASSet []uint32 `protobuf:"varint,1,rep,packed,name=AS_set,json=ASSet,proto3" json:"AS_set,omitempty"` ASSeq []uint32 `protobuf:"varint,2,rep,packed,name=AS_seq,json=ASSeq,proto3" json:"AS_seq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
an AS-path is a sequence of either subsequences of AS-Paths (lists) or Sets of ASes. We call either of those, segments.
func (*BGPUpdate_ASPathSegment) Descriptor ¶
func (*BGPUpdate_ASPathSegment) Descriptor() ([]byte, []int)
func (*BGPUpdate_ASPathSegment) GetASSeq ¶ added in v0.1.4
func (m *BGPUpdate_ASPathSegment) GetASSeq() []uint32
func (*BGPUpdate_ASPathSegment) GetASSet ¶ added in v0.1.4
func (m *BGPUpdate_ASPathSegment) GetASSet() []uint32
func (*BGPUpdate_ASPathSegment) ProtoMessage ¶
func (*BGPUpdate_ASPathSegment) ProtoMessage()
func (*BGPUpdate_ASPathSegment) Reset ¶
func (m *BGPUpdate_ASPathSegment) Reset()
func (*BGPUpdate_ASPathSegment) String ¶
func (m *BGPUpdate_ASPathSegment) String() string
func (*BGPUpdate_ASPathSegment) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *BGPUpdate_ASPathSegment) XXX_DiscardUnknown()
func (*BGPUpdate_ASPathSegment) XXX_Marshal ¶ added in v0.1.2
func (m *BGPUpdate_ASPathSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BGPUpdate_ASPathSegment) XXX_Merge ¶ added in v0.1.2
func (dst *BGPUpdate_ASPathSegment) XXX_Merge(src proto.Message)
func (*BGPUpdate_ASPathSegment) XXX_Size ¶ added in v0.1.2
func (m *BGPUpdate_ASPathSegment) XXX_Size() int
func (*BGPUpdate_ASPathSegment) XXX_Unmarshal ¶ added in v0.1.2
func (m *BGPUpdate_ASPathSegment) XXX_Unmarshal(b []byte) error
type BGPUpdate_AdvertisedRoutes ¶ added in v0.1.4
type BGPUpdate_AdvertisedRoutes struct { Prefixes []*common.PrefixWrapper `protobuf:"bytes,1,rep,name=prefixes,proto3" json:"prefixes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
if this is populated then all the attrs in it are RFC-mandatory, so required.
func (*BGPUpdate_AdvertisedRoutes) Descriptor ¶ added in v0.1.4
func (*BGPUpdate_AdvertisedRoutes) Descriptor() ([]byte, []int)
func (*BGPUpdate_AdvertisedRoutes) GetPrefixes ¶ added in v0.1.4
func (m *BGPUpdate_AdvertisedRoutes) GetPrefixes() []*common.PrefixWrapper
func (*BGPUpdate_AdvertisedRoutes) ProtoMessage ¶ added in v0.1.4
func (*BGPUpdate_AdvertisedRoutes) ProtoMessage()
func (*BGPUpdate_AdvertisedRoutes) Reset ¶ added in v0.1.4
func (m *BGPUpdate_AdvertisedRoutes) Reset()
func (*BGPUpdate_AdvertisedRoutes) String ¶ added in v0.1.4
func (m *BGPUpdate_AdvertisedRoutes) String() string
func (*BGPUpdate_AdvertisedRoutes) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *BGPUpdate_AdvertisedRoutes) XXX_DiscardUnknown()
func (*BGPUpdate_AdvertisedRoutes) XXX_Marshal ¶ added in v0.1.4
func (m *BGPUpdate_AdvertisedRoutes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BGPUpdate_AdvertisedRoutes) XXX_Merge ¶ added in v0.1.4
func (dst *BGPUpdate_AdvertisedRoutes) XXX_Merge(src proto.Message)
func (*BGPUpdate_AdvertisedRoutes) XXX_Size ¶ added in v0.1.4
func (m *BGPUpdate_AdvertisedRoutes) XXX_Size() int
func (*BGPUpdate_AdvertisedRoutes) XXX_Unmarshal ¶ added in v0.1.4
func (m *BGPUpdate_AdvertisedRoutes) XXX_Unmarshal(b []byte) error
type BGPUpdate_Aggregator ¶
type BGPUpdate_Aggregator struct { AS uint32 `protobuf:"varint,1,opt,name=AS,proto3" json:"AS,omitempty"` IP *common.IPAddressWrapper `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BGPUpdate_Aggregator) Descriptor ¶
func (*BGPUpdate_Aggregator) Descriptor() ([]byte, []int)
func (*BGPUpdate_Aggregator) GetAS ¶ added in v0.1.4
func (m *BGPUpdate_Aggregator) GetAS() uint32
func (*BGPUpdate_Aggregator) GetIP ¶ added in v0.1.4
func (m *BGPUpdate_Aggregator) GetIP() *common.IPAddressWrapper
func (*BGPUpdate_Aggregator) ProtoMessage ¶
func (*BGPUpdate_Aggregator) ProtoMessage()
func (*BGPUpdate_Aggregator) Reset ¶
func (m *BGPUpdate_Aggregator) Reset()
func (*BGPUpdate_Aggregator) String ¶
func (m *BGPUpdate_Aggregator) String() string
func (*BGPUpdate_Aggregator) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *BGPUpdate_Aggregator) XXX_DiscardUnknown()
func (*BGPUpdate_Aggregator) XXX_Marshal ¶ added in v0.1.2
func (m *BGPUpdate_Aggregator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BGPUpdate_Aggregator) XXX_Merge ¶ added in v0.1.2
func (dst *BGPUpdate_Aggregator) XXX_Merge(src proto.Message)
func (*BGPUpdate_Aggregator) XXX_Size ¶ added in v0.1.2
func (m *BGPUpdate_Aggregator) XXX_Size() int
func (*BGPUpdate_Aggregator) XXX_Unmarshal ¶ added in v0.1.2
func (m *BGPUpdate_Aggregator) XXX_Unmarshal(b []byte) error
type BGPUpdate_Attributes ¶
type BGPUpdate_Attributes struct { OptionalBit bool `protobuf:"varint,1,opt,name=optional_bit,json=optionalBit,proto3" json:"optional_bit,omitempty"` TransitiveBit bool `protobuf:"varint,2,opt,name=transitive_bit,json=transitiveBit,proto3" json:"transitive_bit,omitempty"` PartialBit bool `protobuf:"varint,3,opt,name=partial_bit,json=partialBit,proto3" json:"partial_bit,omitempty"` ExtendedBit bool `protobuf:"varint,4,opt,name=extended_bit,json=extendedBit,proto3" json:"extended_bit,omitempty"` Origin BGPUpdate_Attributes_Origin `protobuf:"varint,5,opt,name=origin,proto3,enum=bgp.BGPUpdate_Attributes_Origin" json:"origin,omitempty"` ASPath []*BGPUpdate_ASPathSegment `protobuf:"bytes,6,rep,name=AS_path,json=ASPath,proto3" json:"AS_path,omitempty"` NextHop *common.IPAddressWrapper `protobuf:"bytes,7,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` MultiExit uint32 `protobuf:"varint,8,opt,name=multi_exit,json=multiExit,proto3" json:"multi_exit,omitempty"` LocalPref uint32 `protobuf:"varint,9,opt,name=local_pref,json=localPref,proto3" json:"local_pref,omitempty"` Aggregator *BGPUpdate_Aggregator `protobuf:"bytes,10,opt,name=aggregator,proto3" json:"aggregator,omitempty"` Communities *BGPUpdate_Communities `protobuf:"bytes,11,opt,name=communities,proto3" json:"communities,omitempty"` AtomicAggregate bool `protobuf:"varint,12,opt,name=atomic_aggregate,json=atomicAggregate,proto3" json:"atomic_aggregate,omitempty"` Types []BGPUpdate_Attributes_Type `protobuf:"varint,13,rep,packed,name=types,proto3,enum=bgp.BGPUpdate_Attributes_Type" json:"types,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BGPUpdate_Attributes) Descriptor ¶
func (*BGPUpdate_Attributes) Descriptor() ([]byte, []int)
func (*BGPUpdate_Attributes) GetASPath ¶ added in v0.1.4
func (m *BGPUpdate_Attributes) GetASPath() []*BGPUpdate_ASPathSegment
func (*BGPUpdate_Attributes) GetAggregator ¶
func (m *BGPUpdate_Attributes) GetAggregator() *BGPUpdate_Aggregator
func (*BGPUpdate_Attributes) GetAtomicAggregate ¶
func (m *BGPUpdate_Attributes) GetAtomicAggregate() bool
func (*BGPUpdate_Attributes) GetCommunities ¶
func (m *BGPUpdate_Attributes) GetCommunities() *BGPUpdate_Communities
func (*BGPUpdate_Attributes) GetExtendedBit ¶
func (m *BGPUpdate_Attributes) GetExtendedBit() bool
func (*BGPUpdate_Attributes) GetLocalPref ¶
func (m *BGPUpdate_Attributes) GetLocalPref() uint32
func (*BGPUpdate_Attributes) GetMultiExit ¶
func (m *BGPUpdate_Attributes) GetMultiExit() uint32
func (*BGPUpdate_Attributes) GetNextHop ¶
func (m *BGPUpdate_Attributes) GetNextHop() *common.IPAddressWrapper
func (*BGPUpdate_Attributes) GetOptionalBit ¶
func (m *BGPUpdate_Attributes) GetOptionalBit() bool
func (*BGPUpdate_Attributes) GetOrigin ¶
func (m *BGPUpdate_Attributes) GetOrigin() BGPUpdate_Attributes_Origin
func (*BGPUpdate_Attributes) GetPartialBit ¶
func (m *BGPUpdate_Attributes) GetPartialBit() bool
func (*BGPUpdate_Attributes) GetTransitiveBit ¶
func (m *BGPUpdate_Attributes) GetTransitiveBit() bool
func (*BGPUpdate_Attributes) GetTypes ¶
func (m *BGPUpdate_Attributes) GetTypes() []BGPUpdate_Attributes_Type
func (*BGPUpdate_Attributes) ProtoMessage ¶
func (*BGPUpdate_Attributes) ProtoMessage()
func (*BGPUpdate_Attributes) Reset ¶
func (m *BGPUpdate_Attributes) Reset()
func (*BGPUpdate_Attributes) String ¶
func (m *BGPUpdate_Attributes) String() string
func (*BGPUpdate_Attributes) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *BGPUpdate_Attributes) XXX_DiscardUnknown()
func (*BGPUpdate_Attributes) XXX_Marshal ¶ added in v0.1.2
func (m *BGPUpdate_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BGPUpdate_Attributes) XXX_Merge ¶ added in v0.1.2
func (dst *BGPUpdate_Attributes) XXX_Merge(src proto.Message)
func (*BGPUpdate_Attributes) XXX_Size ¶ added in v0.1.2
func (m *BGPUpdate_Attributes) XXX_Size() int
func (*BGPUpdate_Attributes) XXX_Unmarshal ¶ added in v0.1.2
func (m *BGPUpdate_Attributes) XXX_Unmarshal(b []byte) error
type BGPUpdate_Attributes_Origin ¶
type BGPUpdate_Attributes_Origin int32
const ( BGPUpdate_Attributes_IGP BGPUpdate_Attributes_Origin = 0 BGPUpdate_Attributes_EGP BGPUpdate_Attributes_Origin = 1 BGPUpdate_Attributes_INC BGPUpdate_Attributes_Origin = 2 )
func (BGPUpdate_Attributes_Origin) EnumDescriptor ¶
func (BGPUpdate_Attributes_Origin) EnumDescriptor() ([]byte, []int)
func (BGPUpdate_Attributes_Origin) String ¶
func (x BGPUpdate_Attributes_Origin) String() string
type BGPUpdate_Attributes_Type ¶
type BGPUpdate_Attributes_Type int32
maximal field value = 13 https://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml#bgp-parameters-2 non deprecated as of 01/2018
const ( BGPUpdate_Attributes_UNKNOWN BGPUpdate_Attributes_Type = 0 BGPUpdate_Attributes_ORIGIN BGPUpdate_Attributes_Type = 1 BGPUpdate_Attributes_AS_PATH BGPUpdate_Attributes_Type = 2 BGPUpdate_Attributes_NEXT_HOP BGPUpdate_Attributes_Type = 3 BGPUpdate_Attributes_MULTI_EXIT BGPUpdate_Attributes_Type = 4 BGPUpdate_Attributes_LOCAL_PREF BGPUpdate_Attributes_Type = 5 BGPUpdate_Attributes_ATOMIC_AGGREGATE BGPUpdate_Attributes_Type = 6 BGPUpdate_Attributes_AGGREGATOR BGPUpdate_Attributes_Type = 7 BGPUpdate_Attributes_COMMUNITY BGPUpdate_Attributes_Type = 8 BGPUpdate_Attributes_ORIGINATOR_ID BGPUpdate_Attributes_Type = 9 BGPUpdate_Attributes_CLUSTER_LIST BGPUpdate_Attributes_Type = 10 BGPUpdate_Attributes_MP_REACH_NLRI BGPUpdate_Attributes_Type = 14 BGPUpdate_Attributes_MP_UNREACH_NLRI BGPUpdate_Attributes_Type = 15 BGPUpdate_Attributes_EXTENDED_COMMUNITY BGPUpdate_Attributes_Type = 16 BGPUpdate_Attributes_AS4_PATH BGPUpdate_Attributes_Type = 17 BGPUpdate_Attributes_AS4_AGGREGATOR BGPUpdate_Attributes_Type = 18 BGPUpdate_Attributes_PMSI_TUNNEL BGPUpdate_Attributes_Type = 22 BGPUpdate_Attributes_TUNNEL_ENCAPSULATION_ATTRIBUTE BGPUpdate_Attributes_Type = 23 BGPUpdate_Attributes_TRAFFIC_ENGINEERING BGPUpdate_Attributes_Type = 24 BGPUpdate_Attributes_IPV6_ADDRESS_SPECIFIC_EXTENDED_COMMUNITY BGPUpdate_Attributes_Type = 25 BGPUpdate_Attributes_AIGP BGPUpdate_Attributes_Type = 26 BGPUpdate_Attributes_PE_DISTINGUISHER_LABELS BGPUpdate_Attributes_Type = 27 BGPUpdate_Attributes_BGP_LS_ATTRIBUTE BGPUpdate_Attributes_Type = 29 BGPUpdate_Attributes_LARGE_COMMUNITY BGPUpdate_Attributes_Type = 32 BGPUpdate_Attributes_BGPSEC_PATH BGPUpdate_Attributes_Type = 33 BGPUpdate_Attributes_ATTR_SET BGPUpdate_Attributes_Type = 128 )
func (BGPUpdate_Attributes_Type) EnumDescriptor ¶
func (BGPUpdate_Attributes_Type) EnumDescriptor() ([]byte, []int)
func (BGPUpdate_Attributes_Type) String ¶
func (x BGPUpdate_Attributes_Type) String() string
type BGPUpdate_Communities ¶
type BGPUpdate_Communities struct { Communities []*BGPUpdate_Community `protobuf:"bytes,1,rep,name=communities,proto3" json:"communities,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BGPUpdate_Communities) Descriptor ¶
func (*BGPUpdate_Communities) Descriptor() ([]byte, []int)
func (*BGPUpdate_Communities) GetCommunities ¶
func (m *BGPUpdate_Communities) GetCommunities() []*BGPUpdate_Community
func (*BGPUpdate_Communities) ProtoMessage ¶
func (*BGPUpdate_Communities) ProtoMessage()
func (*BGPUpdate_Communities) Reset ¶
func (m *BGPUpdate_Communities) Reset()
func (*BGPUpdate_Communities) String ¶
func (m *BGPUpdate_Communities) String() string
func (*BGPUpdate_Communities) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *BGPUpdate_Communities) XXX_DiscardUnknown()
func (*BGPUpdate_Communities) XXX_Marshal ¶ added in v0.1.2
func (m *BGPUpdate_Communities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BGPUpdate_Communities) XXX_Merge ¶ added in v0.1.2
func (dst *BGPUpdate_Communities) XXX_Merge(src proto.Message)
func (*BGPUpdate_Communities) XXX_Size ¶ added in v0.1.2
func (m *BGPUpdate_Communities) XXX_Size() int
func (*BGPUpdate_Communities) XXX_Unmarshal ¶ added in v0.1.2
func (m *BGPUpdate_Communities) XXX_Unmarshal(b []byte) error
type BGPUpdate_Community ¶
type BGPUpdate_Community struct { // XXX we don't parse deeper into these attribute yet. // but we can store it for now. Community []byte `protobuf:"bytes,1,opt,name=community,proto3" json:"community,omitempty"` ExtendedCommunity []byte `protobuf:"bytes,2,opt,name=extended_community,json=extendedCommunity,proto3" json:"extended_community,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BGPUpdate_Community) Descriptor ¶
func (*BGPUpdate_Community) Descriptor() ([]byte, []int)
func (*BGPUpdate_Community) GetCommunity ¶
func (m *BGPUpdate_Community) GetCommunity() []byte
func (*BGPUpdate_Community) GetExtendedCommunity ¶
func (m *BGPUpdate_Community) GetExtendedCommunity() []byte
func (*BGPUpdate_Community) ProtoMessage ¶
func (*BGPUpdate_Community) ProtoMessage()
func (*BGPUpdate_Community) Reset ¶
func (m *BGPUpdate_Community) Reset()
func (*BGPUpdate_Community) String ¶
func (m *BGPUpdate_Community) String() string
func (*BGPUpdate_Community) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *BGPUpdate_Community) XXX_DiscardUnknown()
func (*BGPUpdate_Community) XXX_Marshal ¶ added in v0.1.2
func (m *BGPUpdate_Community) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BGPUpdate_Community) XXX_Merge ¶ added in v0.1.2
func (dst *BGPUpdate_Community) XXX_Merge(src proto.Message)
func (*BGPUpdate_Community) XXX_Size ¶ added in v0.1.2
func (m *BGPUpdate_Community) XXX_Size() int
func (*BGPUpdate_Community) XXX_Unmarshal ¶ added in v0.1.2
func (m *BGPUpdate_Community) XXX_Unmarshal(b []byte) error
type BGPUpdate_WithdrawnRoutes ¶
type BGPUpdate_WithdrawnRoutes struct { Prefixes []*common.PrefixWrapper `protobuf:"bytes,1,rep,name=prefixes,proto3" json:"prefixes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BGPUpdate_WithdrawnRoutes) Descriptor ¶
func (*BGPUpdate_WithdrawnRoutes) Descriptor() ([]byte, []int)
func (*BGPUpdate_WithdrawnRoutes) GetPrefixes ¶
func (m *BGPUpdate_WithdrawnRoutes) GetPrefixes() []*common.PrefixWrapper
func (*BGPUpdate_WithdrawnRoutes) ProtoMessage ¶
func (*BGPUpdate_WithdrawnRoutes) ProtoMessage()
func (*BGPUpdate_WithdrawnRoutes) Reset ¶
func (m *BGPUpdate_WithdrawnRoutes) Reset()
func (*BGPUpdate_WithdrawnRoutes) String ¶
func (m *BGPUpdate_WithdrawnRoutes) String() string
func (*BGPUpdate_WithdrawnRoutes) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *BGPUpdate_WithdrawnRoutes) XXX_DiscardUnknown()
func (*BGPUpdate_WithdrawnRoutes) XXX_Marshal ¶ added in v0.1.2
func (m *BGPUpdate_WithdrawnRoutes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BGPUpdate_WithdrawnRoutes) XXX_Merge ¶ added in v0.1.2
func (dst *BGPUpdate_WithdrawnRoutes) XXX_Merge(src proto.Message)
func (*BGPUpdate_WithdrawnRoutes) XXX_Size ¶ added in v0.1.2
func (m *BGPUpdate_WithdrawnRoutes) XXX_Size() int
func (*BGPUpdate_WithdrawnRoutes) XXX_Unmarshal ¶ added in v0.1.2
func (m *BGPUpdate_WithdrawnRoutes) XXX_Unmarshal(b []byte) error
type MrtBody ¶
type MrtBody struct { BGP4MPHeader *BGP4MPHeader `protobuf:"bytes,1,opt,name=BGP4MPHeader,proto3" json:"BGP4MPHeader,omitempty"` BGPMessage []byte `protobuf:"bytes,2,opt,name=BGPMessage,proto3" json:"BGPMessage,omitempty"` Rib *RIB `protobuf:"bytes,3,opt,name=rib,proto3" json:"rib,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MrtBody) Descriptor ¶
func (*MrtBody) GetBGP4MPHeader ¶
func (m *MrtBody) GetBGP4MPHeader() *BGP4MPHeader
func (*MrtBody) GetBGPMessage ¶
func (*MrtBody) ProtoMessage ¶
func (*MrtBody) ProtoMessage()
func (*MrtBody) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *MrtBody) XXX_DiscardUnknown()
func (*MrtBody) XXX_Marshal ¶ added in v0.1.2
func (*MrtBody) XXX_Unmarshal ¶ added in v0.1.2
type MrtHeader ¶
type MrtHeader struct { Timestamp uint32 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` Subtype uint32 `protobuf:"varint,3,opt,name=subtype,proto3" json:"subtype,omitempty"` Len uint32 `protobuf:"varint,4,opt,name=len,proto3" json:"len,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MrtHeader) Descriptor ¶
func (*MrtHeader) GetSubtype ¶
func (*MrtHeader) GetTimestamp ¶
func (*MrtHeader) ProtoMessage ¶
func (*MrtHeader) ProtoMessage()
func (*MrtHeader) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *MrtHeader) XXX_DiscardUnknown()
func (*MrtHeader) XXX_Marshal ¶ added in v0.1.2
func (*MrtHeader) XXX_Unmarshal ¶ added in v0.1.2
type MrtMessage ¶
type MrtMessage struct { Header *MrtHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Body *MrtBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MrtMessage) Descriptor ¶
func (*MrtMessage) Descriptor() ([]byte, []int)
func (*MrtMessage) GetBody ¶
func (m *MrtMessage) GetBody() *MrtBody
func (*MrtMessage) GetHeader ¶
func (m *MrtMessage) GetHeader() *MrtHeader
func (*MrtMessage) ProtoMessage ¶
func (*MrtMessage) ProtoMessage()
func (*MrtMessage) Reset ¶
func (m *MrtMessage) Reset()
func (*MrtMessage) String ¶
func (m *MrtMessage) String() string
func (*MrtMessage) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *MrtMessage) XXX_DiscardUnknown()
func (*MrtMessage) XXX_Marshal ¶ added in v0.1.2
func (m *MrtMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MrtMessage) XXX_Merge ¶ added in v0.1.2
func (dst *MrtMessage) XXX_Merge(src proto.Message)
func (*MrtMessage) XXX_Size ¶ added in v0.1.2
func (m *MrtMessage) XXX_Size() int
func (*MrtMessage) XXX_Unmarshal ¶ added in v0.1.2
func (m *MrtMessage) XXX_Unmarshal(b []byte) error
type PeerEntry ¶
type PeerEntry struct { Peer_IP *common.IPAddressWrapper `protobuf:"bytes,1,opt,name=peer_IP,json=peerIP,proto3" json:"peer_IP,omitempty"` Peer_AS uint32 `protobuf:"varint,2,opt,name=peer_AS,json=peerAS,proto3" json:"peer_AS,omitempty"` PeerId uint32 `protobuf:"varint,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PeerEntry) Descriptor ¶
func (*PeerEntry) GetPeer_AS ¶ added in v0.1.4
func (*PeerEntry) GetPeer_IP ¶ added in v0.1.4
func (m *PeerEntry) GetPeer_IP() *common.IPAddressWrapper
func (*PeerEntry) ProtoMessage ¶
func (*PeerEntry) ProtoMessage()
func (*PeerEntry) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *PeerEntry) XXX_DiscardUnknown()
func (*PeerEntry) XXX_Marshal ¶ added in v0.1.2
func (*PeerEntry) XXX_Unmarshal ¶ added in v0.1.2
type RIB ¶
type RIB struct { PeerEntry []*PeerEntry `protobuf:"bytes,1,rep,name=peerEntry,proto3" json:"peerEntry,omitempty"` RouteEntry []*RIBEntry `protobuf:"bytes,2,rep,name=routeEntry,proto3" json:"routeEntry,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RIB) Descriptor ¶
func (*RIB) GetPeerEntry ¶
func (*RIB) GetRouteEntry ¶
func (*RIB) ProtoMessage ¶
func (*RIB) ProtoMessage()
func (*RIB) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *RIB) XXX_DiscardUnknown()
func (*RIB) XXX_Marshal ¶ added in v0.1.2
func (*RIB) XXX_Unmarshal ¶ added in v0.1.2
type RIBEntry ¶
type RIBEntry struct { Prefix *common.PrefixWrapper `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Timestamp uint32 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` PeerIndex uint32 `protobuf:"varint,3,opt,name=peer_index,json=peerIndex,proto3" json:"peer_index,omitempty"` Attrs *BGPUpdate_Attributes `protobuf:"bytes,4,opt,name=attrs,proto3" json:"attrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RIBEntry) Descriptor ¶
func (*RIBEntry) GetAttrs ¶
func (m *RIBEntry) GetAttrs() *BGPUpdate_Attributes
func (*RIBEntry) GetPeerIndex ¶
func (*RIBEntry) GetPrefix ¶
func (m *RIBEntry) GetPrefix() *common.PrefixWrapper
func (*RIBEntry) GetTimestamp ¶
func (*RIBEntry) ProtoMessage ¶
func (*RIBEntry) ProtoMessage()
func (*RIBEntry) XXX_DiscardUnknown ¶ added in v0.1.2
func (m *RIBEntry) XXX_DiscardUnknown()
func (*RIBEntry) XXX_Marshal ¶ added in v0.1.2
func (*RIBEntry) XXX_Unmarshal ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.