ipip

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

It consists of:

 1 alias
10 messages
 5 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "ipip"
	// APIVersion is the API version of this module.
	APIVersion = "1.1.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xc6f9c052
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type InterfaceIndex

type InterfaceIndex uint32

InterfaceIndex represents VPP binary API alias 'interface_index'.

type Ipip6rdAddTunnel

type Ipip6rdAddTunnel struct {
	IP6TableID    uint32
	IP4TableID    uint32
	IP6Prefix     []byte `struc:"[16]byte"`
	IP4Prefix     []byte `struc:"[4]byte"`
	IP4Src        []byte `struc:"[4]byte"`
	IP6PrefixLen  uint8
	IP4PrefixLen  uint8
	SecurityCheck uint8
	TcTos         uint8
}

Ipip6rdAddTunnel represents VPP binary API message 'ipip_6rd_add_tunnel'.

func (*Ipip6rdAddTunnel) GetCrcString

func (*Ipip6rdAddTunnel) GetCrcString() string

func (*Ipip6rdAddTunnel) GetMessageName

func (*Ipip6rdAddTunnel) GetMessageName() string

func (*Ipip6rdAddTunnel) GetMessageType

func (*Ipip6rdAddTunnel) GetMessageType() api.MessageType

func (*Ipip6rdAddTunnel) Reset

func (m *Ipip6rdAddTunnel) Reset()

type Ipip6rdAddTunnelReply

type Ipip6rdAddTunnelReply struct {
	Retval    int32
	SwIfIndex InterfaceIndex
}

Ipip6rdAddTunnelReply represents VPP binary API message 'ipip_6rd_add_tunnel_reply'.

func (*Ipip6rdAddTunnelReply) GetCrcString

func (*Ipip6rdAddTunnelReply) GetCrcString() string

func (*Ipip6rdAddTunnelReply) GetMessageName

func (*Ipip6rdAddTunnelReply) GetMessageName() string

func (*Ipip6rdAddTunnelReply) GetMessageType

func (*Ipip6rdAddTunnelReply) GetMessageType() api.MessageType

func (*Ipip6rdAddTunnelReply) Reset

func (m *Ipip6rdAddTunnelReply) Reset()

type Ipip6rdDelTunnel

type Ipip6rdDelTunnel struct {
	SwIfIndex InterfaceIndex
}

Ipip6rdDelTunnel represents VPP binary API message 'ipip_6rd_del_tunnel'.

func (*Ipip6rdDelTunnel) GetCrcString

func (*Ipip6rdDelTunnel) GetCrcString() string

func (*Ipip6rdDelTunnel) GetMessageName

func (*Ipip6rdDelTunnel) GetMessageName() string

func (*Ipip6rdDelTunnel) GetMessageType

func (*Ipip6rdDelTunnel) GetMessageType() api.MessageType

func (*Ipip6rdDelTunnel) Reset

func (m *Ipip6rdDelTunnel) Reset()

type Ipip6rdDelTunnelReply

type Ipip6rdDelTunnelReply struct {
	Retval int32
}

Ipip6rdDelTunnelReply represents VPP binary API message 'ipip_6rd_del_tunnel_reply'.

func (*Ipip6rdDelTunnelReply) GetCrcString

func (*Ipip6rdDelTunnelReply) GetCrcString() string

func (*Ipip6rdDelTunnelReply) GetMessageName

func (*Ipip6rdDelTunnelReply) GetMessageName() string

func (*Ipip6rdDelTunnelReply) GetMessageType

func (*Ipip6rdDelTunnelReply) GetMessageType() api.MessageType

func (*Ipip6rdDelTunnelReply) Reset

func (m *Ipip6rdDelTunnelReply) Reset()

type IpipAddTunnel

type IpipAddTunnel struct {
	IsIPv6     uint8
	Instance   uint32
	SrcAddress []byte `struc:"[16]byte"`
	DstAddress []byte `struc:"[16]byte"`
	TableID    uint32
	TcTos      uint8
}

IpipAddTunnel represents VPP binary API message 'ipip_add_tunnel'.

func (*IpipAddTunnel) GetCrcString

func (*IpipAddTunnel) GetCrcString() string

func (*IpipAddTunnel) GetMessageName

func (*IpipAddTunnel) GetMessageName() string

func (*IpipAddTunnel) GetMessageType

func (*IpipAddTunnel) GetMessageType() api.MessageType

func (*IpipAddTunnel) Reset

func (m *IpipAddTunnel) Reset()

type IpipAddTunnelReply

type IpipAddTunnelReply struct {
	Retval    int32
	SwIfIndex InterfaceIndex
}

IpipAddTunnelReply represents VPP binary API message 'ipip_add_tunnel_reply'.

func (*IpipAddTunnelReply) GetCrcString

func (*IpipAddTunnelReply) GetCrcString() string

func (*IpipAddTunnelReply) GetMessageName

func (*IpipAddTunnelReply) GetMessageName() string

func (*IpipAddTunnelReply) GetMessageType

func (*IpipAddTunnelReply) GetMessageType() api.MessageType

func (*IpipAddTunnelReply) Reset

func (m *IpipAddTunnelReply) Reset()

type IpipDelTunnel

type IpipDelTunnel struct {
	SwIfIndex InterfaceIndex
}

IpipDelTunnel represents VPP binary API message 'ipip_del_tunnel'.

func (*IpipDelTunnel) GetCrcString

func (*IpipDelTunnel) GetCrcString() string

func (*IpipDelTunnel) GetMessageName

func (*IpipDelTunnel) GetMessageName() string

func (*IpipDelTunnel) GetMessageType

func (*IpipDelTunnel) GetMessageType() api.MessageType

func (*IpipDelTunnel) Reset

func (m *IpipDelTunnel) Reset()

type IpipDelTunnelReply

type IpipDelTunnelReply struct {
	Retval int32
}

IpipDelTunnelReply represents VPP binary API message 'ipip_del_tunnel_reply'.

func (*IpipDelTunnelReply) GetCrcString

func (*IpipDelTunnelReply) GetCrcString() string

func (*IpipDelTunnelReply) GetMessageName

func (*IpipDelTunnelReply) GetMessageName() string

func (*IpipDelTunnelReply) GetMessageType

func (*IpipDelTunnelReply) GetMessageType() api.MessageType

func (*IpipDelTunnelReply) Reset

func (m *IpipDelTunnelReply) Reset()

type IpipTunnelDetails

type IpipTunnelDetails struct {
	SwIfIndex  InterfaceIndex
	Instance   uint32
	IsIPv6     uint8
	SrcAddress []byte `struc:"[16]byte"`
	DstAddress []byte `struc:"[16]byte"`
	FibIndex   uint32
	TcTos      uint8
}

IpipTunnelDetails represents VPP binary API message 'ipip_tunnel_details'.

func (*IpipTunnelDetails) GetCrcString

func (*IpipTunnelDetails) GetCrcString() string

func (*IpipTunnelDetails) GetMessageName

func (*IpipTunnelDetails) GetMessageName() string

func (*IpipTunnelDetails) GetMessageType

func (*IpipTunnelDetails) GetMessageType() api.MessageType

func (*IpipTunnelDetails) Reset

func (m *IpipTunnelDetails) Reset()

type IpipTunnelDump

type IpipTunnelDump struct {
	SwIfIndex InterfaceIndex
}

IpipTunnelDump represents VPP binary API message 'ipip_tunnel_dump'.

func (*IpipTunnelDump) GetCrcString

func (*IpipTunnelDump) GetCrcString() string

func (*IpipTunnelDump) GetMessageName

func (*IpipTunnelDump) GetMessageName() string

func (*IpipTunnelDump) GetMessageType

func (*IpipTunnelDump) GetMessageType() api.MessageType

func (*IpipTunnelDump) Reset

func (m *IpipTunnelDump) Reset()

type RPCService

type RPCService interface {
	DumpIpipTunnel(ctx context.Context, in *IpipTunnelDump) (RPCService_DumpIpipTunnelClient, error)
	Ipip6rdAddTunnel(ctx context.Context, in *Ipip6rdAddTunnel) (*Ipip6rdAddTunnelReply, error)
	Ipip6rdDelTunnel(ctx context.Context, in *Ipip6rdDelTunnel) (*Ipip6rdDelTunnelReply, error)
	IpipAddTunnel(ctx context.Context, in *IpipAddTunnel) (*IpipAddTunnelReply, error)
	IpipDelTunnel(ctx context.Context, in *IpipDelTunnel) (*IpipDelTunnelReply, error)
}

RPCService represents RPC service API for ipip module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpIpipTunnelClient

type RPCService_DumpIpipTunnelClient interface {
	Recv() (*IpipTunnelDetails, error)
}

Jump to

Keyboard shortcuts

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