Documentation ¶
Index ¶
- Constants
- type AddrPrefixInterface
- type AsPathParam
- type BGPBody
- type BGPCapabilityCode
- type BGPHeader
- type BGPKeepAlive
- type BGPMessage
- type BGPNotification
- type BGPOpen
- type BGPRouteRefresh
- type BGPUpdate
- type BMPBody
- type BMPHeader
- type BMPInitiation
- type BMPMessage
- type BMPPeerDownNotification
- type BMPPeerHeader
- type BMPPeerUpNotification
- type BMPRouteMonitoring
- type BMPStatisticsReport
- type BMPStatsTLV
- type BMPTLV
- type BMPTermination
- type CapCarryingLabelInfo
- type CapEnhancedRouteRefresh
- type CapFourOctetASNumber
- type CapGracefulRestart
- type CapGracefulRestartTuples
- type CapGracefulRestartValue
- type CapMultiProtocol
- type CapMultiProtocolValue
- type CapRouteRefresh
- type CapRouteRefreshCisco
- type CapUnknown
- type DefaultAsPath
- type DefaultParameterCapability
- type DefaultRouteDistinguisher
- type ExtendedCommunityInterface
- type FourOctetAsSpecificExtended
- type IPAddrPrefix
- type IPAddrPrefixDefault
- type IPv4AddressSpecificExtended
- type IPv6AddrPrefix
- type Label
- type LabelledIPAddrPrefix
- type LabelledIPv6AddrPrefix
- type LabelledVPNIPAddrPrefix
- type LabelledVPNIPv6AddrPrefix
- type NLRInfo
- type OpaqueExtended
- type OptionParameterCapability
- type OptionParameterInterface
- type OptionParameterUnknown
- type ParameterCapabilityInterface
- type PathAttribute
- type PathAttributeAggregator
- type PathAttributeAggregatorParam
- type PathAttributeAs4Aggregator
- type PathAttributeAs4Path
- type PathAttributeAsPath
- type PathAttributeAtomicAggregate
- type PathAttributeClusterList
- type PathAttributeCommunities
- type PathAttributeExtendedCommunities
- type PathAttributeInterface
- type PathAttributeLocalPref
- type PathAttributeMpReachNLRI
- type PathAttributeMpUnreachNLRI
- type PathAttributeMultiExitDisc
- type PathAttributeNextHop
- type PathAttributeOrigin
- type PathAttributeOriginatorId
- type PathAttributeUnknown
- type RouteDistinguisherFourOctetAS
- type RouteDistinguisherFourOctetASValue
- type RouteDistinguisherIPAddressAS
- type RouteDistinguisherIPAddressASValue
- type RouteDistinguisherInterface
- type RouteDistinguisherTwoOctetAS
- type RouteDistinguisherTwoOctetASValue
- type RouteDistinguisherUnknown
- type RouteTargetMembershipNLRI
- type TwoOctetAsSpecificExtended
- type UnknownExtended
- type WithdrawnRoute
Constants ¶
View Source
const ( AFI_IP = 1 AFI_IP6 = 2 )
View Source
const ( SAFI_UNICAST = 1 SAFI_MULTICAST = 2 SAFI_MPLS_LABEL = 4 SAFI_MPLS_VPN = 128 SAFI_ROUTE_TARGET_CONSTRTAINS = 132 )
View Source
const ( BGP_MSG_OPEN BGP_MSG_UPDATE BGP_MSG_NOTIFICATION BGP_MSG_KEEPALIVE BGP_MSG_ROUTE_REFRESH )
View Source
const ( BGP_CAP_MULTIPROTOCOL BGPCapabilityCode = 1 BGP_CAP_ROUTE_REFRESH = 2 BGP_CAP_CARRYING_LABEL_INFO = 4 BGP_CAP_GRACEFUL_RESTART = 64 BGP_CAP_FOUR_OCTET_AS_NUMBER = 65 BGP_CAP_ENHANCED_ROUTE_REFRESH = 70 BGP_CAP_ROUTE_REFRESH_CISCO = 128 )
View Source
const ( BGP_RD_TWO_OCTET_AS = iota BGP_RD_IPV4_ADDRESS BGP_RD_FOUR_OCTET_AS )
View Source
const ( RF_IPv4_UC = AFI_IP<<16 | SAFI_UNICAST RF_IPv6_UC = AFI_IP6<<16 | SAFI_UNICAST RF_IPv4_VPN = AFI_IP<<16 | SAFI_MPLS_VPN RF_IPv6_VPN = AFI_IP6<<16 | SAFI_MPLS_VPN RF_IPv4_MPLS = AFI_IP<<16 | SAFI_MPLS_LABEL RF_IPv6_MPLS = AFI_IP6<<16 | SAFI_MPLS_LABEL RF_RTC_UC = AFI_IP<<16 | SAFI_ROUTE_TARGET_CONSTRTAINS )
View Source
const ( BGP_ATTR_FLAG_EXTENDED_LENGTH = 1 << 4 BGP_ATTR_FLAG_PARTIAL = 1 << 5 BGP_ATTR_FLAG_TRANSITIVE = 1 << 6 BGP_ATTR_FLAG_OPTIONAL = 1 << 7 )
View Source
const ( BGP_ATTR_TYPE_ORIGIN BGP_ATTR_TYPE_AS_PATH BGP_ATTR_TYPE_NEXT_HOP BGP_ATTR_TYPE_MULTI_EXIT_DISC BGP_ATTR_TYPE_LOCAL_PREF BGP_ATTR_TYPE_ATOMIC_AGGREGATE BGP_ATTR_TYPE_AGGREGATOR BGP_ATTR_TYPE_COMMUNITIES BGP_ATTR_TYPE_ORIGINATOR_ID BGP_ATTR_TYPE_CLUSTER_LIST BGP_ATTR_TYPE_MP_REACH_NLRI BGP_ATTR_TYPE_MP_UNREACH_NLRI BGP_ATTR_TYPE_EXTENDED_COMMUNITIES BGP_ATTR_TYPE_AS4_PATH BGP_ATTR_TYPE_AS4_AGGREGATOR )
View Source
const ( BGP_ERROR_MESSAGE_HEADER_ERROR BGP_ERROR_OPEN_MESSAGE_ERROR BGP_ERROR_UPDATE_MESSAGE_ERROR BGP_ERROR_HOLD_TIMER_EXPIRED BGP_ERROR_FSM_ERROR BGP_ERROR_CEASE )
NOTIFICATION Error Code RFC 4271 4.5.
View Source
const ( BGP_ERROR_SUB_CONNECTION_NOT_SYNCHRONIZED BGP_ERROR_SUB_BAD_MESSAGE_LENGTH BGP_ERROR_SUB_BAD_MESSAGE_TYPE )
NOTIFICATION Error Subcode for BGP_ERROR_MESSAGE_HEADER_ERROR
View Source
const ( BGP_ERROR_SUB_UNSUPPORTED_VERSION_NUMBER BGP_ERROR_SUB_BAD_PEER_AS BGP_ERROR_SUB_BAD_BGP_IDENTIFIER BGP_ERROR_SUB_UNSUPPORTED_OPTIONAL_PARAMETER BGP_ERROR_SUB_AUTHENTICATION_FAILURE BGP_ERROR_SUB_UNACCEPTABLE_HOLD_TIME )
NOTIFICATION Error Subcode for BGP_ERROR_OPEN_MESSAGE_ERROR
View Source
const ( BGP_ERROR_SUB_MALFORMED_ATTRIBUTE_LIST BGP_ERROR_SUB_UNRECOGNIZED_WELL_KNOWN_ATTRIBUTE BGP_ERROR_SUB_MISSING_WELL_KNOWN_ATTRIBUTE BGP_ERROR_SUB_ATTRIBUTE_FLAGS_ERROR BGP_ERROR_SUB_ATTRIBUTE_LENGTH_ERROR BGP_ERROR_SUB_INVALID_ORIGIN_ATTRIBUTE BGP_ERROR_SUB_ROUTING_LOOP BGP_ERROR_SUB_INVALID_NEXT_HOP_ATTRIBUTE BGP_ERROR_SUB_OPTIONAL_ATTRIBUTE_ERROR BGP_ERROR_SUB_INVALID_NETWORK_FIELD BGP_ERROR_SUB_MALFORMED_AS_PATH )
NOTIFICATION Error Subcode for BGP_ERROR_UPDATE_MESSAGE_ERROR
View Source
const ( BGP_ERROR_SUB_MAXIMUM_NUMBER_OF_PREFIXES_REACHED BGP_ERROR_SUB_ADMINISTRATIVE_SHUTDOWN BGP_ERROR_SUB_PEER_DECONFIGURED BGP_ERROR_SUB_ADMINISTRATIVE_RESET BGP_ERROR_SUB_CONNECTION_RESET BGP_ERROR_SUB_OTHER_CONFIGURATION_CHANGE BGP_ERROR_SUB_CONNECTION_COLLISION_RESOLUTION BGP_ERROR_SUB_OUT_OF_RESOURCES )
NOTIFICATION Error Subcode for BGP_ERROR_CEASE (RFC 4486)
View Source
const ( BMP_STAT_TYPE_REJECTED = iota BMP_STAT_TYPE_DUPLICATE_PREFIX BMP_STAT_TYPE_DUPLICATE_WITHDRAW BMP_STAT_TYPE_INV_UPDATE_DUE_TO_CLUSTER_LIST_LOOP BMP_STAT_TYPE_INV_UPDATE_DUE_TO_AS_PATH_LOOP BMP_STAT_TYPE_INV_UPDATE_DUE_TO_ORIGINATOR_ID BMP_STAT_TYPE_INV_UPDATE_DUE_TO_AS_CONFED_LOOP BMP_STAT_TYPE_ADJ_RIB_IN BMP_STAT_TYPE_LOC_RIB )
View Source
const ( BMP_PEER_DOWN_REASON_UNKNOWN = iota BMP_PEER_DOWN_REASON_LOCAL_BGP_NOTIFICATION BMP_PEER_DOWN_REASON_LOCAL_NO_NOTIFICATION BMP_PEER_DOWN_REASON_REMOTE_BGP_NOTIFICATION BMP_PEER_DOWN_REASON_REMOTE_NO_NOTIFICATION )
View Source
const ( BMP_MSG_ROUTE_MONITORING = iota BMP_MSG_STATISTICS_REPORT BMP_MSG_PEER_DOWN_NOTIFICATION BMP_MSG_PEER_UP_NOTIFICATION BMP_MSG_INITIATION BMP_MSG_TERMINATION )
View Source
const (
BGP_ERROR_SUB_FSM_ERROR
)
NOTIFICATION Error Subcode for BGP_ERROR_FSM_ERROR
View Source
const (
BGP_ERROR_SUB_HOLD_TIMER_EXPIRED
)
NOTIFICATION Error Subcode for BGP_ERROR_HOLD_TIMER_EXPIRED
View Source
const (
BGP_OPT_CAPABILITY = 2
)
View Source
const (
BMP_HEADER_SIZE = 6
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddrPrefixInterface ¶
type AsPathParam ¶
type BGPCapabilityCode ¶
type BGPCapabilityCode uint8
func (BGPCapabilityCode) String ¶
func (c BGPCapabilityCode) String() string
type BGPHeader ¶
func (*BGPHeader) DecodeFromBytes ¶
type BGPKeepAlive ¶
type BGPKeepAlive struct { }
func (*BGPKeepAlive) DecodeFromBytes ¶
func (msg *BGPKeepAlive) DecodeFromBytes(data []byte) error
type BGPMessage ¶
func ParseBGPMessage ¶
func ParseBGPMessage(data []byte) (*BGPMessage, error)
type BGPNotification ¶
func (*BGPNotification) DecodeFromBytes ¶
func (msg *BGPNotification) DecodeFromBytes(data []byte) error
type BGPOpen ¶
type BGPOpen struct { Version uint8 MyAS uint16 HoldTime uint16 ID net.IP OptParamLen uint8 OptParams []OptionParameterInterface }
func (*BGPOpen) DecodeFromBytes ¶
type BGPRouteRefresh ¶
func (*BGPRouteRefresh) DecodeFromBytes ¶
func (msg *BGPRouteRefresh) DecodeFromBytes(data []byte) error
type BGPUpdate ¶
type BGPUpdate struct { WithdrawnRoutesLen uint16 WithdrawnRoutes []WithdrawnRoute TotalPathAttributeLen uint16 PathAttributes []PathAttributeInterface NLRI []NLRInfo }
func (*BGPUpdate) DecodeFromBytes ¶
type BMPBody ¶
type BMPBody interface {
ParseBody(*BMPMessage, []byte) error
}
type BMPHeader ¶
func (*BMPHeader) DecodeFromBytes ¶
type BMPInitiation ¶
type BMPInitiation struct {
Info []BMPTLV
}
func (*BMPInitiation) ParseBody ¶
func (body *BMPInitiation) ParseBody(msg *BMPMessage, data []byte) error
type BMPMessage ¶
type BMPMessage struct { Header BMPHeader PeerHeader BMPPeerHeader Body BMPBody }
func ParseBMPMessage ¶
func ParseBMPMessage(data []byte) (*BMPMessage, error)
func (*BMPMessage) Len ¶
func (msg *BMPMessage) Len() int
type BMPPeerDownNotification ¶
type BMPPeerDownNotification struct { Reason uint8 BGPNotification *BGPMessage Data []byte }
func (*BMPPeerDownNotification) ParseBody ¶
func (body *BMPPeerDownNotification) ParseBody(msg *BMPMessage, data []byte) error
type BMPPeerHeader ¶
type BMPPeerHeader struct { PeerType uint8 IsPostPolicy bool PeerDistinguisher uint64 PeerAddress net.IP PeerAS uint32 PeerBGPID net.IP Timestamp float64 // contains filtered or unexported fields }
func (*BMPPeerHeader) DecodeFromBytes ¶
func (msg *BMPPeerHeader) DecodeFromBytes(data []byte) error
type BMPPeerUpNotification ¶
type BMPPeerUpNotification struct { LocalAddress net.IP LocalPort uint16 RemotePort uint16 SentOpenMsg *BGPMessage ReceivedOpenMsg *BGPMessage }
func (*BMPPeerUpNotification) ParseBody ¶
func (body *BMPPeerUpNotification) ParseBody(msg *BMPMessage, data []byte) error
type BMPRouteMonitoring ¶
type BMPRouteMonitoring struct {
BGPUpdate *BGPMessage
}
func (*BMPRouteMonitoring) ParseBody ¶
func (body *BMPRouteMonitoring) ParseBody(msg *BMPMessage, data []byte) error
type BMPStatisticsReport ¶
type BMPStatisticsReport struct {
Stats []BMPStatsTLV
}
func (*BMPStatisticsReport) ParseBody ¶
func (body *BMPStatisticsReport) ParseBody(msg *BMPMessage, data []byte) error
type BMPStatsTLV ¶
type BMPTermination ¶
type BMPTermination struct {
Info []BMPTLV
}
func (*BMPTermination) ParseBody ¶
func (body *BMPTermination) ParseBody(msg *BMPMessage, data []byte) error
type CapCarryingLabelInfo ¶
type CapCarryingLabelInfo struct {
DefaultParameterCapability
}
type CapEnhancedRouteRefresh ¶
type CapEnhancedRouteRefresh struct {
DefaultParameterCapability
}
type CapFourOctetASNumber ¶
type CapFourOctetASNumber struct { DefaultParameterCapability CapValue uint32 }
func (*CapFourOctetASNumber) DecodeFromBytes ¶
func (c *CapFourOctetASNumber) DecodeFromBytes(data []byte) error
type CapGracefulRestart ¶
type CapGracefulRestart struct { DefaultParameterCapability CapValue CapGracefulRestartValue }
func (*CapGracefulRestart) DecodeFromBytes ¶
func (c *CapGracefulRestart) DecodeFromBytes(data []byte) error
type CapGracefulRestartValue ¶
type CapGracefulRestartValue struct { Flags uint8 Time uint16 Tuples []CapGracefulRestartTuples }
type CapMultiProtocol ¶
type CapMultiProtocol struct { DefaultParameterCapability CapValue CapMultiProtocolValue }
func (*CapMultiProtocol) DecodeFromBytes ¶
func (c *CapMultiProtocol) DecodeFromBytes(data []byte) error
type CapMultiProtocolValue ¶
type CapRouteRefresh ¶
type CapRouteRefresh struct {
DefaultParameterCapability
}
type CapRouteRefreshCisco ¶
type CapRouteRefreshCisco struct {
DefaultParameterCapability
}
type CapUnknown ¶
type CapUnknown struct {
DefaultParameterCapability
}
type DefaultAsPath ¶
type DefaultAsPath struct { }
type DefaultParameterCapability ¶
type DefaultParameterCapability struct { CapCode BGPCapabilityCode CapLen uint8 CapValue []byte }
func (*DefaultParameterCapability) DecodeFromBytes ¶
func (c *DefaultParameterCapability) DecodeFromBytes(data []byte) error
func (*DefaultParameterCapability) Len ¶
func (c *DefaultParameterCapability) Len() int
type DefaultRouteDistinguisher ¶
func (DefaultRouteDistinguisher) DecodeFromBytes ¶
func (rd DefaultRouteDistinguisher) DecodeFromBytes(data []byte) error
func (*DefaultRouteDistinguisher) Len ¶
func (rd *DefaultRouteDistinguisher) Len() int
type ExtendedCommunityInterface ¶
type ExtendedCommunityInterface interface { }
type IPAddrPrefix ¶
type IPAddrPrefix struct { IPAddrPrefixDefault // contains filtered or unexported fields }
func (*IPAddrPrefix) DecodeFromBytes ¶
func (r *IPAddrPrefix) DecodeFromBytes(data []byte) error
type IPAddrPrefixDefault ¶
func (*IPAddrPrefixDefault) Len ¶
func (r *IPAddrPrefixDefault) Len() int
type IPv6AddrPrefix ¶
type IPv6AddrPrefix struct {
IPAddrPrefix
}
func NewIPv6AddrPrefix ¶
func NewIPv6AddrPrefix() *IPv6AddrPrefix
type LabelledIPAddrPrefix ¶
type LabelledIPAddrPrefix struct { IPAddrPrefixDefault Labels Label // contains filtered or unexported fields }
func NewLabelledIPAddrPrefix ¶
func NewLabelledIPAddrPrefix() *LabelledIPAddrPrefix
func (*LabelledIPAddrPrefix) DecodeFromBytes ¶
func (l *LabelledIPAddrPrefix) DecodeFromBytes(data []byte) error
type LabelledIPv6AddrPrefix ¶
type LabelledIPv6AddrPrefix struct {
LabelledIPAddrPrefix
}
func NewLabelledIPv6AddrPrefix ¶
func NewLabelledIPv6AddrPrefix() *LabelledIPv6AddrPrefix
type LabelledVPNIPAddrPrefix ¶
type LabelledVPNIPAddrPrefix struct { IPAddrPrefixDefault Labels Label RD RouteDistinguisherInterface // contains filtered or unexported fields }
func NewLabelledVPNIPAddrPrefix ¶
func NewLabelledVPNIPAddrPrefix() *LabelledVPNIPAddrPrefix
func (*LabelledVPNIPAddrPrefix) DecodeFromBytes ¶
func (l *LabelledVPNIPAddrPrefix) DecodeFromBytes(data []byte) error
type LabelledVPNIPv6AddrPrefix ¶
type LabelledVPNIPv6AddrPrefix struct {
LabelledVPNIPAddrPrefix
}
func NewLabelledVPNIPv6AddrPrefix ¶
func NewLabelledVPNIPv6AddrPrefix() *LabelledVPNIPv6AddrPrefix
type NLRInfo ¶
type NLRInfo struct {
IPAddrPrefix
}
type OpaqueExtended ¶
type OpaqueExtended struct {
Value []byte
}
type OptionParameterCapability ¶
type OptionParameterCapability struct { ParamType uint8 ParamLen uint8 Capability []ParameterCapabilityInterface }
func (*OptionParameterCapability) DecodeFromBytes ¶
func (o *OptionParameterCapability) DecodeFromBytes(data []byte) error
type OptionParameterInterface ¶
type OptionParameterInterface interface { }
type OptionParameterUnknown ¶
type PathAttribute ¶
func (*PathAttribute) DecodeFromBytes ¶
func (p *PathAttribute) DecodeFromBytes(data []byte) error
func (*PathAttribute) Len ¶
func (p *PathAttribute) Len() int
type PathAttributeAggregator ¶
type PathAttributeAggregator struct { PathAttribute Value PathAttributeAggregatorParam }
func (*PathAttributeAggregator) DecodeFromBytes ¶
func (p *PathAttributeAggregator) DecodeFromBytes(data []byte) error
type PathAttributeAs4Aggregator ¶
type PathAttributeAs4Aggregator struct { PathAttribute Value PathAttributeAggregatorParam }
func (*PathAttributeAs4Aggregator) DecodeFromBytes ¶
func (p *PathAttributeAs4Aggregator) DecodeFromBytes(data []byte) error
type PathAttributeAs4Path ¶
type PathAttributeAs4Path struct { PathAttribute Value []AsPathParam DefaultAsPath }
func (*PathAttributeAs4Path) DecodeFromBytes ¶
func (p *PathAttributeAs4Path) DecodeFromBytes(data []byte) error
type PathAttributeAsPath ¶
type PathAttributeAsPath struct { DefaultAsPath PathAttribute Value []AsPathParam }
func (*PathAttributeAsPath) DecodeFromBytes ¶
func (p *PathAttributeAsPath) DecodeFromBytes(data []byte) error
type PathAttributeAtomicAggregate ¶
type PathAttributeAtomicAggregate struct {
PathAttribute
}
type PathAttributeClusterList ¶
type PathAttributeClusterList struct { PathAttribute Value []net.IP }
func (*PathAttributeClusterList) DecodeFromBytes ¶
func (p *PathAttributeClusterList) DecodeFromBytes(data []byte) error
type PathAttributeCommunities ¶
type PathAttributeCommunities struct { PathAttribute Value []uint32 }
func (*PathAttributeCommunities) DecodeFromBytes ¶
func (p *PathAttributeCommunities) DecodeFromBytes(data []byte) error
type PathAttributeExtendedCommunities ¶
type PathAttributeExtendedCommunities struct { PathAttribute Value []ExtendedCommunityInterface }
func (*PathAttributeExtendedCommunities) DecodeFromBytes ¶
func (p *PathAttributeExtendedCommunities) DecodeFromBytes(data []byte) error
type PathAttributeInterface ¶
type PathAttributeLocalPref ¶
type PathAttributeLocalPref struct { PathAttribute Value uint32 }
func (*PathAttributeLocalPref) DecodeFromBytes ¶
func (p *PathAttributeLocalPref) DecodeFromBytes(data []byte) error
type PathAttributeMpReachNLRI ¶
type PathAttributeMpReachNLRI struct { PathAttribute Nexthop net.IP Value []AddrPrefixInterface }
func (*PathAttributeMpReachNLRI) DecodeFromBytes ¶
func (p *PathAttributeMpReachNLRI) DecodeFromBytes(data []byte) error
type PathAttributeMpUnreachNLRI ¶
type PathAttributeMpUnreachNLRI struct { PathAttribute Value []AddrPrefixInterface }
func (*PathAttributeMpUnreachNLRI) DecodeFromBytes ¶
func (p *PathAttributeMpUnreachNLRI) DecodeFromBytes(data []byte) error
type PathAttributeMultiExitDisc ¶
type PathAttributeMultiExitDisc struct { PathAttribute Value uint32 }
func (*PathAttributeMultiExitDisc) DecodeFromBytes ¶
func (p *PathAttributeMultiExitDisc) DecodeFromBytes(data []byte) error
type PathAttributeNextHop ¶
type PathAttributeNextHop struct { PathAttribute Value net.IP }
func (*PathAttributeNextHop) DecodeFromBytes ¶
func (p *PathAttributeNextHop) DecodeFromBytes(data []byte) error
type PathAttributeOrigin ¶
type PathAttributeOrigin struct {
PathAttribute
}
type PathAttributeOriginatorId ¶
type PathAttributeOriginatorId struct { PathAttribute Value net.IP }
func (*PathAttributeOriginatorId) DecodeFromBytes ¶
func (p *PathAttributeOriginatorId) DecodeFromBytes(data []byte) error
type PathAttributeUnknown ¶
type PathAttributeUnknown struct {
PathAttribute
}
type RouteDistinguisherFourOctetAS ¶
type RouteDistinguisherFourOctetAS struct { DefaultRouteDistinguisher Value RouteDistinguisherFourOctetASValue }
type RouteDistinguisherIPAddressAS ¶
type RouteDistinguisherIPAddressAS struct { DefaultRouteDistinguisher Value RouteDistinguisherIPAddressASValue }
type RouteDistinguisherTwoOctetAS ¶
type RouteDistinguisherTwoOctetAS struct { DefaultRouteDistinguisher Value RouteDistinguisherTwoOctetASValue }
type RouteDistinguisherUnknown ¶
type RouteDistinguisherUnknown struct {
DefaultRouteDistinguisher
}
type RouteTargetMembershipNLRI ¶
type RouteTargetMembershipNLRI struct { AS uint32 RouteTarget ExtendedCommunityInterface }
func (*RouteTargetMembershipNLRI) DecodeFromBytes ¶
func (n *RouteTargetMembershipNLRI) DecodeFromBytes(data []byte) error
func (*RouteTargetMembershipNLRI) Len ¶
func (n *RouteTargetMembershipNLRI) Len() int
type UnknownExtended ¶
type UnknownExtended struct {
Value []byte
}
type WithdrawnRoute ¶
type WithdrawnRoute struct {
IPAddrPrefix
}
Click to show internal directories.
Click to hide internal directories.