Documentation ¶
Overview ¶
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointBehavior ¶
type EndpointBehavior uint32
const ( NotToBeAllocated EndpointBehavior = 0x0000 End EndpointBehavior = 0x0001 End_DX4 EndpointBehavior = 0x0011 End_MAP EndpointBehavior = 0x0028 End_Limit EndpointBehavior = 0x0029 End_M_GTP6_D EndpointBehavior = 0x0045 End_M_GTP6_Di EndpointBehavior = 0x0046 End_M_GTP6_E EndpointBehavior = 0x0047 End_M_GTP4_E EndpointBehavior = 0x0048 )
Full registry is available at https://www.iana.org/assignments/segment-routing/segment-routing.xhtml Only implemented behaviors are defined in this file
func ToEndpointBehavior ¶
func ToEndpointBehavior(s string) (EndpointBehavior, error)
Convert a string to an EndpointBehavior
func (EndpointBehavior) String ¶
func (e EndpointBehavior) String() string
func (*EndpointBehavior) ToIPRoute2Action ¶
func (e *EndpointBehavior) ToIPRoute2Action() (string, error)
func (*EndpointBehavior) UnmarshalYAML ¶
func (e *EndpointBehavior) UnmarshalYAML(n *yaml.Node) error
Unmarshal YAML to EndpointBehavior
Click to show internal directories.
Click to hide internal directories.