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

Struct SRv6SIDStructureSubSubTLV

pkg/packet/bgp/prefix_sid.go:519–527  ·  view source on GitHub ↗

SRv6SIDStructureSubSubTLV defines a structure of SRv6 SID Structure Sub Sub TLV (type 1) object https://www.rfc-editor.org/rfc/rfc9252.html#section-3.2.1

Source from the content-addressed store, hash-verified

517// SRv6SIDStructureSubSubTLV defines a structure of SRv6 SID Structure Sub Sub TLV (type 1) object
518// https://www.rfc-editor.org/rfc/rfc9252.html#section-3.2.1
519type SRv6SIDStructureSubSubTLV struct {
520 SubSubTLV
521 LocatorBlockLength uint8
522 LocatorNodeLength uint8
523 FunctionLength uint8
524 ArgumentLength uint8
525 TranspositionLength uint8
526 TranspositionOffset uint8
527}
528
529func NewSRv6SIDStructureSubSubTLV(lbl, lnl, fl, al, tl, to uint8) *SRv6SIDStructureSubSubTLV {
530 return &SRv6SIDStructureSubSubTLV{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected