ipip

package
v3.2.0 Latest Latest
Warning

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

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

Documentation

Overview

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

It consists of:

11 enums
 6 aliases
 7 types
 1 union
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 = "2.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xf108649c
)

Variables

View Source
var IpipTunnelFlags_name = map[uint8]string{
	0:  "IPIP_TUNNEL_API_FLAG_NONE",
	1:  "IPIP_TUNNEL_API_FLAG_ENCAP_COPY_DF",
	2:  "IPIP_TUNNEL_API_FLAG_ENCAP_SET_DF",
	4:  "IPIP_TUNNEL_API_FLAG_ENCAP_COPY_DSCP",
	8:  "IPIP_TUNNEL_API_FLAG_ENCAP_COPY_ECN",
	16: "IPIP_TUNNEL_API_FLAG_DECAP_COPY_ECN",
}
View Source
var IpipTunnelFlags_value = map[string]uint8{
	"IPIP_TUNNEL_API_FLAG_NONE":            0,
	"IPIP_TUNNEL_API_FLAG_ENCAP_COPY_DF":   1,
	"IPIP_TUNNEL_API_FLAG_ENCAP_SET_DF":    2,
	"IPIP_TUNNEL_API_FLAG_ENCAP_COPY_DSCP": 4,
	"IPIP_TUNNEL_API_FLAG_ENCAP_COPY_ECN":  8,
	"IPIP_TUNNEL_API_FLAG_DECAP_COPY_ECN":  16,
}

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 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 Ipip6rdAddTunnel

type Ipip6rdAddTunnel struct {
	IP6TableID    uint32
	IP4TableID    uint32
	IP6Prefix     IP6Prefix
	IP4Prefix     IP4Prefix
	IP4Src        IP4Address
	SecurityCheck bool
	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 {
	Tunnel IpipTunnel
}

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 IpipTunnel

type IpipTunnel struct {
	Instance  uint32
	Src       Address
	Dst       Address
	SwIfIndex InterfaceIndex
	TableID   uint32
	Flags     IpipTunnelFlags
	Dscp      IPDscp
}

IpipTunnel represents VPP binary API type 'ipip_tunnel'.

func (*IpipTunnel) GetTypeName

func (*IpipTunnel) GetTypeName() string

type IpipTunnelDetails

type IpipTunnelDetails struct {
	Tunnel IpipTunnel
}

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 IpipTunnelFlags

type IpipTunnelFlags uint8

IpipTunnelFlags represents VPP binary API enum 'ipip_tunnel_flags'.

const (
	IPIP_TUNNEL_API_FLAG_NONE            IpipTunnelFlags = 0
	IPIP_TUNNEL_API_FLAG_ENCAP_COPY_DF   IpipTunnelFlags = 1
	IPIP_TUNNEL_API_FLAG_ENCAP_SET_DF    IpipTunnelFlags = 2
	IPIP_TUNNEL_API_FLAG_ENCAP_COPY_DSCP IpipTunnelFlags = 4
	IPIP_TUNNEL_API_FLAG_ENCAP_COPY_ECN  IpipTunnelFlags = 8
	IPIP_TUNNEL_API_FLAG_DECAP_COPY_ECN  IpipTunnelFlags = 16
)

func (IpipTunnelFlags) String

func (x IpipTunnelFlags) String() string

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 {
	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)
}

type RxMode

type RxMode = interface_types.RxMode

type SubIfFlags

type SubIfFlags = interface_types.SubIfFlags

Jump to

Keyboard shortcuts

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