MCPcopy
hub / github.com/osrg/gobgp / prefixSidLabel

Struct prefixSidLabel

pkg/packet/bgp/prefix_sid_test.go:165–168  ·  view source on GitHub ↗

to make label with bottom of stack

Source from the content-addressed store, hash-verified

163
164// to make label with bottom of stack
165type prefixSidLabel struct {
166 Label uint32
167 IPAddrPrefixDefault
168}
169
170func (l *prefixSidLabel) Serialize(options ...*MarshallingOption) ([]byte, error) {
171 bits := 8*3 + l.Prefix.Bits()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected