Documentation ¶
Index ¶
Constants ¶
View Source
const ( AdvPrefix = iota WdrPrefix AnyPrefix )
View Source
const ( AS_SOURCE = ASPosition(iota) AS_DESTINATION AS_MIDPATH AS_ANYWHERE )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ASFilter ¶
type ASFilter struct {
// contains filtered or unexported fields
}
func (ASFilter) FilterByAnywhere ¶
func (asf ASFilter) FilterByAnywhere(mbs *mrt.MrtBufferStack) bool
func (ASFilter) FilterByDest ¶
func (asf ASFilter) FilterByDest(mbs *mrt.MrtBufferStack) bool
func (ASFilter) FilterByMidPath ¶
func (asf ASFilter) FilterByMidPath(mbs *mrt.MrtBufferStack) bool
func (ASFilter) FilterBySource ¶
func (asf ASFilter) FilterBySource(mbs *mrt.MrtBufferStack) bool
type ASPosition ¶
type ASPosition uint32
type Filter ¶
type Filter func(mbs *mrt.MrtBufferStack) bool
func NewASFilter ¶
func NewASFilter(list string, pos ASPosition) (Filter, error)
Returns an AS filter with the list of AS's in the form "1,2,3,4" If src is true, filters messages by source AS number otherwise filters by destination AS number
func NewASFilterFromSlice ¶
func NewASFilterFromSlice(aslist []uint32, pos ASPosition) (Filter, error)
type PrefixFilter ¶
type PrefixFilter struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.