ip6_nd

package
v3.3.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package ip6_nd is a generated VPP binary API for 'ip6_nd' module.

It consists of:

10 enums
 6 aliases
 7 types
 1 union
13 messages
 6 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "ip6_nd"
	// APIVersion is the API version of this module.
	APIVersion = "1.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xbb8ff0e9
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address

type Address = ip_types.Address

type AddressFamily

type AddressFamily = ip_types.AddressFamily

type AddressUnion

type AddressUnion = ip_types.AddressUnion

type AddressWithPrefix

type AddressWithPrefix = ip_types.AddressWithPrefix

type IP4Address

type IP4Address = ip_types.IP4Address

type IP4AddressWithPrefix

type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix

type IP4Prefix

type IP4Prefix = ip_types.IP4Prefix

type IP6Address

type IP6Address = ip_types.IP6Address

type IP6AddressWithPrefix

type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix

type IP6Prefix

type IP6Prefix = ip_types.IP6Prefix

type IP6RaEvent

type IP6RaEvent struct {
	PID                                                 uint32
	SwIfIndex                                           InterfaceIndex
	RouterAddr                                          IP6Address
	CurrentHopLimit                                     uint8
	Flags                                               uint8
	RouterLifetimeInSec                                 uint16
	NeighborReachableTimeInMsec                         uint32
	TimeInMsecBetweenRetransmittedNeighborSolicitations uint32
	NPrefixes                                           uint32 `struc:"sizeof=Prefixes"`
	Prefixes                                            []IP6RaPrefixInfo
}

IP6RaEvent represents VPP binary API message 'ip6_ra_event'.

func (*IP6RaEvent) GetCrcString

func (*IP6RaEvent) GetCrcString() string

func (*IP6RaEvent) GetMessageName

func (*IP6RaEvent) GetMessageName() string

func (*IP6RaEvent) GetMessageType

func (*IP6RaEvent) GetMessageType() api.MessageType

func (*IP6RaEvent) Reset

func (m *IP6RaEvent) Reset()

type IP6RaPrefixInfo

type IP6RaPrefixInfo struct {
	Prefix        Prefix
	Flags         uint8
	ValidTime     uint32
	PreferredTime uint32
}

IP6RaPrefixInfo represents VPP binary API type 'ip6_ra_prefix_info'.

func (*IP6RaPrefixInfo) GetTypeName

func (*IP6RaPrefixInfo) GetTypeName() string

type IP6ndProxyAddDel

type IP6ndProxyAddDel struct {
	SwIfIndex InterfaceIndex
	IsAdd     bool
	IP        IP6Address
}

IP6ndProxyAddDel represents VPP binary API message 'ip6nd_proxy_add_del'.

func (*IP6ndProxyAddDel) GetCrcString

func (*IP6ndProxyAddDel) GetCrcString() string

func (*IP6ndProxyAddDel) GetMessageName

func (*IP6ndProxyAddDel) GetMessageName() string

func (*IP6ndProxyAddDel) GetMessageType

func (*IP6ndProxyAddDel) GetMessageType() api.MessageType

func (*IP6ndProxyAddDel) Reset

func (m *IP6ndProxyAddDel) Reset()

type IP6ndProxyAddDelReply

type IP6ndProxyAddDelReply struct {
	Retval int32
}

IP6ndProxyAddDelReply represents VPP binary API message 'ip6nd_proxy_add_del_reply'.

func (*IP6ndProxyAddDelReply) GetCrcString

func (*IP6ndProxyAddDelReply) GetCrcString() string

func (*IP6ndProxyAddDelReply) GetMessageName

func (*IP6ndProxyAddDelReply) GetMessageName() string

func (*IP6ndProxyAddDelReply) GetMessageType

func (*IP6ndProxyAddDelReply) GetMessageType() api.MessageType

func (*IP6ndProxyAddDelReply) Reset

func (m *IP6ndProxyAddDelReply) Reset()

type IP6ndProxyDetails

type IP6ndProxyDetails struct {
	SwIfIndex InterfaceIndex
	IP        IP6Address
}

IP6ndProxyDetails represents VPP binary API message 'ip6nd_proxy_details'.

func (*IP6ndProxyDetails) GetCrcString

func (*IP6ndProxyDetails) GetCrcString() string

func (*IP6ndProxyDetails) GetMessageName

func (*IP6ndProxyDetails) GetMessageName() string

func (*IP6ndProxyDetails) GetMessageType

func (*IP6ndProxyDetails) GetMessageType() api.MessageType

func (*IP6ndProxyDetails) Reset

func (m *IP6ndProxyDetails) Reset()

type IP6ndProxyDump

type IP6ndProxyDump struct{}

IP6ndProxyDump represents VPP binary API message 'ip6nd_proxy_dump'.

func (*IP6ndProxyDump) GetCrcString

func (*IP6ndProxyDump) GetCrcString() string

func (*IP6ndProxyDump) GetMessageName

func (*IP6ndProxyDump) GetMessageName() string

func (*IP6ndProxyDump) GetMessageType

func (*IP6ndProxyDump) GetMessageType() api.MessageType

func (*IP6ndProxyDump) Reset

func (m *IP6ndProxyDump) Reset()

type IP6ndSendRouterSolicitation

type IP6ndSendRouterSolicitation struct {
	Irt       uint32
	Mrt       uint32
	Mrc       uint32
	Mrd       uint32
	SwIfIndex InterfaceIndex
	Stop      bool
}

IP6ndSendRouterSolicitation represents VPP binary API message 'ip6nd_send_router_solicitation'.

func (*IP6ndSendRouterSolicitation) GetCrcString

func (*IP6ndSendRouterSolicitation) GetCrcString() string

func (*IP6ndSendRouterSolicitation) GetMessageName

func (*IP6ndSendRouterSolicitation) GetMessageName() string

func (*IP6ndSendRouterSolicitation) GetMessageType

func (*IP6ndSendRouterSolicitation) GetMessageType() api.MessageType

func (*IP6ndSendRouterSolicitation) Reset

func (m *IP6ndSendRouterSolicitation) Reset()

type IP6ndSendRouterSolicitationReply

type IP6ndSendRouterSolicitationReply struct {
	Retval int32
}

IP6ndSendRouterSolicitationReply represents VPP binary API message 'ip6nd_send_router_solicitation_reply'.

func (*IP6ndSendRouterSolicitationReply) GetCrcString

func (*IP6ndSendRouterSolicitationReply) GetCrcString() string

func (*IP6ndSendRouterSolicitationReply) GetMessageName

func (*IP6ndSendRouterSolicitationReply) GetMessageName() string

func (*IP6ndSendRouterSolicitationReply) GetMessageType

func (*IP6ndSendRouterSolicitationReply) Reset

type IPDscp

type IPDscp = ip_types.IPDscp

type IPEcn

type IPEcn = ip_types.IPEcn

type IPProto

type IPProto = ip_types.IPProto

type IfStatusFlags

type IfStatusFlags = interface_types.IfStatusFlags

type IfType

type IfType = interface_types.IfType

type InterfaceIndex

type InterfaceIndex = interface_types.InterfaceIndex

type LinkDuplex

type LinkDuplex = interface_types.LinkDuplex

type Mprefix

type Mprefix = ip_types.Mprefix

type MtuProto

type MtuProto = interface_types.MtuProto

type Prefix

type Prefix = ip_types.Prefix

type PrefixMatcher

type PrefixMatcher = ip_types.PrefixMatcher

type RPCService

type RPCService interface {
	DumpIP6ndProxy(ctx context.Context, in *IP6ndProxyDump) (RPCService_DumpIP6ndProxyClient, error)
	IP6ndProxyAddDel(ctx context.Context, in *IP6ndProxyAddDel) (*IP6ndProxyAddDelReply, error)
	IP6ndSendRouterSolicitation(ctx context.Context, in *IP6ndSendRouterSolicitation) (*IP6ndSendRouterSolicitationReply, error)
	SwInterfaceIP6ndRaConfig(ctx context.Context, in *SwInterfaceIP6ndRaConfig) (*SwInterfaceIP6ndRaConfigReply, error)
	SwInterfaceIP6ndRaPrefix(ctx context.Context, in *SwInterfaceIP6ndRaPrefix) (*SwInterfaceIP6ndRaPrefixReply, error)
	WantIP6RaEvents(ctx context.Context, in *WantIP6RaEvents) (*WantIP6RaEventsReply, error)
}

RPCService represents RPC service API for ip6_nd module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpIP6ndProxyClient

type RPCService_DumpIP6ndProxyClient interface {
	Recv() (*IP6ndProxyDetails, error)
}

type RxMode

type RxMode = interface_types.RxMode

type SubIfFlags

type SubIfFlags = interface_types.SubIfFlags

type SwInterfaceIP6ndRaConfig

type SwInterfaceIP6ndRaConfig struct {
	SwIfIndex       InterfaceIndex
	Suppress        uint8
	Managed         uint8
	Other           uint8
	LlOption        uint8
	SendUnicast     uint8
	Cease           uint8
	IsNo            bool
	DefaultRouter   uint8
	MaxInterval     uint32
	MinInterval     uint32
	Lifetime        uint32
	InitialCount    uint32
	InitialInterval uint32
}

SwInterfaceIP6ndRaConfig represents VPP binary API message 'sw_interface_ip6nd_ra_config'.

func (*SwInterfaceIP6ndRaConfig) GetCrcString

func (*SwInterfaceIP6ndRaConfig) GetCrcString() string

func (*SwInterfaceIP6ndRaConfig) GetMessageName

func (*SwInterfaceIP6ndRaConfig) GetMessageName() string

func (*SwInterfaceIP6ndRaConfig) GetMessageType

func (*SwInterfaceIP6ndRaConfig) GetMessageType() api.MessageType

func (*SwInterfaceIP6ndRaConfig) Reset

func (m *SwInterfaceIP6ndRaConfig) Reset()

type SwInterfaceIP6ndRaConfigReply

type SwInterfaceIP6ndRaConfigReply struct {
	Retval int32
}

SwInterfaceIP6ndRaConfigReply represents VPP binary API message 'sw_interface_ip6nd_ra_config_reply'.

func (*SwInterfaceIP6ndRaConfigReply) GetCrcString

func (*SwInterfaceIP6ndRaConfigReply) GetCrcString() string

func (*SwInterfaceIP6ndRaConfigReply) GetMessageName

func (*SwInterfaceIP6ndRaConfigReply) GetMessageName() string

func (*SwInterfaceIP6ndRaConfigReply) GetMessageType

func (*SwInterfaceIP6ndRaConfigReply) GetMessageType() api.MessageType

func (*SwInterfaceIP6ndRaConfigReply) Reset

func (m *SwInterfaceIP6ndRaConfigReply) Reset()

type SwInterfaceIP6ndRaPrefix

type SwInterfaceIP6ndRaPrefix struct {
	SwIfIndex    InterfaceIndex
	Prefix       Prefix
	UseDefault   bool
	NoAdvertise  bool
	OffLink      bool
	NoAutoconfig bool
	NoOnlink     bool
	IsNo         bool
	ValLifetime  uint32
	PrefLifetime uint32
}

SwInterfaceIP6ndRaPrefix represents VPP binary API message 'sw_interface_ip6nd_ra_prefix'.

func (*SwInterfaceIP6ndRaPrefix) GetCrcString

func (*SwInterfaceIP6ndRaPrefix) GetCrcString() string

func (*SwInterfaceIP6ndRaPrefix) GetMessageName

func (*SwInterfaceIP6ndRaPrefix) GetMessageName() string

func (*SwInterfaceIP6ndRaPrefix) GetMessageType

func (*SwInterfaceIP6ndRaPrefix) GetMessageType() api.MessageType

func (*SwInterfaceIP6ndRaPrefix) Reset

func (m *SwInterfaceIP6ndRaPrefix) Reset()

type SwInterfaceIP6ndRaPrefixReply

type SwInterfaceIP6ndRaPrefixReply struct {
	Retval int32
}

SwInterfaceIP6ndRaPrefixReply represents VPP binary API message 'sw_interface_ip6nd_ra_prefix_reply'.

func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString

func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString() string

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageName

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageName() string

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType() api.MessageType

func (*SwInterfaceIP6ndRaPrefixReply) Reset

func (m *SwInterfaceIP6ndRaPrefixReply) Reset()

type WantIP6RaEvents

type WantIP6RaEvents struct {
	Enable bool
	PID    uint32
}

WantIP6RaEvents represents VPP binary API message 'want_ip6_ra_events'.

func (*WantIP6RaEvents) GetCrcString

func (*WantIP6RaEvents) GetCrcString() string

func (*WantIP6RaEvents) GetMessageName

func (*WantIP6RaEvents) GetMessageName() string

func (*WantIP6RaEvents) GetMessageType

func (*WantIP6RaEvents) GetMessageType() api.MessageType

func (*WantIP6RaEvents) Reset

func (m *WantIP6RaEvents) Reset()

type WantIP6RaEventsReply

type WantIP6RaEventsReply struct {
	Retval int32
}

WantIP6RaEventsReply represents VPP binary API message 'want_ip6_ra_events_reply'.

func (*WantIP6RaEventsReply) GetCrcString

func (*WantIP6RaEventsReply) GetCrcString() string

func (*WantIP6RaEventsReply) GetMessageName

func (*WantIP6RaEventsReply) GetMessageName() string

func (*WantIP6RaEventsReply) GetMessageType

func (*WantIP6RaEventsReply) GetMessageType() api.MessageType

func (*WantIP6RaEventsReply) Reset

func (m *WantIP6RaEventsReply) Reset()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL