ipip

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package ipip contains generated bindings for API file ipip.api.

Contents: - 1 struct - 10 messages

Index

Constants

View Source
const (
	APIFile    = "ipip"
	APIVersion = "2.0.2"
	VersionCrc = 0x4609caba
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Ipip6rdAddTunnel

type Ipip6rdAddTunnel struct {
	IP6TableID    uint32              `binapi:"u32,name=ip6_table_id" json:"ip6_table_id,omitempty"`
	IP4TableID    uint32              `binapi:"u32,name=ip4_table_id" json:"ip4_table_id,omitempty"`
	IP6Prefix     ip_types.IP6Prefix  `binapi:"ip6_prefix,name=ip6_prefix" json:"ip6_prefix,omitempty"`
	IP4Prefix     ip_types.IP4Prefix  `binapi:"ip4_prefix,name=ip4_prefix" json:"ip4_prefix,omitempty"`
	IP4Src        ip_types.IP4Address `binapi:"ip4_address,name=ip4_src" json:"ip4_src,omitempty"`
	SecurityCheck bool                `binapi:"bool,name=security_check" json:"security_check,omitempty"`
	TcTos         uint8               `binapi:"u8,name=tc_tos" json:"tc_tos,omitempty"`
}

Ipip6rdAddTunnel defines 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) Marshal

func (m *Ipip6rdAddTunnel) Marshal(b []byte) ([]byte, error)

func (*Ipip6rdAddTunnel) Reset

func (m *Ipip6rdAddTunnel) Reset()

func (*Ipip6rdAddTunnel) Size

func (m *Ipip6rdAddTunnel) Size() (size int)

func (*Ipip6rdAddTunnel) Unmarshal

func (m *Ipip6rdAddTunnel) Unmarshal(b []byte) error

type Ipip6rdAddTunnelReply

type Ipip6rdAddTunnelReply struct {
	Retval    int32                          `binapi:"i32,name=retval" json:"retval,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

Ipip6rdAddTunnelReply defines 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) Marshal

func (m *Ipip6rdAddTunnelReply) Marshal(b []byte) ([]byte, error)

func (*Ipip6rdAddTunnelReply) Reset

func (m *Ipip6rdAddTunnelReply) Reset()

func (*Ipip6rdAddTunnelReply) Size

func (m *Ipip6rdAddTunnelReply) Size() (size int)

func (*Ipip6rdAddTunnelReply) Unmarshal

func (m *Ipip6rdAddTunnelReply) Unmarshal(b []byte) error

type Ipip6rdDelTunnel

type Ipip6rdDelTunnel struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

Ipip6rdDelTunnel defines 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) Marshal

func (m *Ipip6rdDelTunnel) Marshal(b []byte) ([]byte, error)

func (*Ipip6rdDelTunnel) Reset

func (m *Ipip6rdDelTunnel) Reset()

func (*Ipip6rdDelTunnel) Size

func (m *Ipip6rdDelTunnel) Size() (size int)

func (*Ipip6rdDelTunnel) Unmarshal

func (m *Ipip6rdDelTunnel) Unmarshal(b []byte) error

type Ipip6rdDelTunnelReply

type Ipip6rdDelTunnelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

Ipip6rdDelTunnelReply defines 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) Marshal

func (m *Ipip6rdDelTunnelReply) Marshal(b []byte) ([]byte, error)

func (*Ipip6rdDelTunnelReply) Reset

func (m *Ipip6rdDelTunnelReply) Reset()

func (*Ipip6rdDelTunnelReply) Size

func (m *Ipip6rdDelTunnelReply) Size() (size int)

func (*Ipip6rdDelTunnelReply) Unmarshal

func (m *Ipip6rdDelTunnelReply) Unmarshal(b []byte) error

type IpipAddTunnel

type IpipAddTunnel struct {
	Tunnel IpipTunnel `binapi:"ipip_tunnel,name=tunnel" json:"tunnel,omitempty"`
}

IpipAddTunnel defines 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) Marshal

func (m *IpipAddTunnel) Marshal(b []byte) ([]byte, error)

func (*IpipAddTunnel) Reset

func (m *IpipAddTunnel) Reset()

func (*IpipAddTunnel) Size

func (m *IpipAddTunnel) Size() (size int)

func (*IpipAddTunnel) Unmarshal

func (m *IpipAddTunnel) Unmarshal(b []byte) error

type IpipAddTunnelReply

type IpipAddTunnelReply struct {
	Retval    int32                          `binapi:"i32,name=retval" json:"retval,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IpipAddTunnelReply defines 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) Marshal

func (m *IpipAddTunnelReply) Marshal(b []byte) ([]byte, error)

func (*IpipAddTunnelReply) Reset

func (m *IpipAddTunnelReply) Reset()

func (*IpipAddTunnelReply) Size

func (m *IpipAddTunnelReply) Size() (size int)

func (*IpipAddTunnelReply) Unmarshal

func (m *IpipAddTunnelReply) Unmarshal(b []byte) error

type IpipDelTunnel

type IpipDelTunnel struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IpipDelTunnel defines 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) Marshal

func (m *IpipDelTunnel) Marshal(b []byte) ([]byte, error)

func (*IpipDelTunnel) Reset

func (m *IpipDelTunnel) Reset()

func (*IpipDelTunnel) Size

func (m *IpipDelTunnel) Size() (size int)

func (*IpipDelTunnel) Unmarshal

func (m *IpipDelTunnel) Unmarshal(b []byte) error

type IpipDelTunnelReply

type IpipDelTunnelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

IpipDelTunnelReply defines 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) Marshal

func (m *IpipDelTunnelReply) Marshal(b []byte) ([]byte, error)

func (*IpipDelTunnelReply) Reset

func (m *IpipDelTunnelReply) Reset()

func (*IpipDelTunnelReply) Size

func (m *IpipDelTunnelReply) Size() (size int)

func (*IpipDelTunnelReply) Unmarshal

func (m *IpipDelTunnelReply) Unmarshal(b []byte) error

type IpipTunnel

type IpipTunnel struct {
	Instance  uint32                             `binapi:"u32,name=instance" json:"instance,omitempty"`
	Src       ip_types.Address                   `binapi:"address,name=src" json:"src,omitempty"`
	Dst       ip_types.Address                   `binapi:"address,name=dst" json:"dst,omitempty"`
	SwIfIndex interface_types.InterfaceIndex     `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	TableID   uint32                             `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	Flags     tunnel_types.TunnelEncapDecapFlags `binapi:"tunnel_encap_decap_flags,name=flags" json:"flags,omitempty"`
	Mode      tunnel_types.TunnelMode            `binapi:"tunnel_mode,name=mode" json:"mode,omitempty"`
	Dscp      ip_types.IPDscp                    `binapi:"ip_dscp,name=dscp" json:"dscp,omitempty"`
}

IpipTunnel defines type 'ipip_tunnel'.

type IpipTunnelDetails

type IpipTunnelDetails struct {
	Tunnel IpipTunnel `binapi:"ipip_tunnel,name=tunnel" json:"tunnel,omitempty"`
}

IpipTunnelDetails defines 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) Marshal

func (m *IpipTunnelDetails) Marshal(b []byte) ([]byte, error)

func (*IpipTunnelDetails) Reset

func (m *IpipTunnelDetails) Reset()

func (*IpipTunnelDetails) Size

func (m *IpipTunnelDetails) Size() (size int)

func (*IpipTunnelDetails) Unmarshal

func (m *IpipTunnelDetails) Unmarshal(b []byte) error

type IpipTunnelDump

type IpipTunnelDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

IpipTunnelDump defines 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) Marshal

func (m *IpipTunnelDump) Marshal(b []byte) ([]byte, error)

func (*IpipTunnelDump) Reset

func (m *IpipTunnelDump) Reset()

func (*IpipTunnelDump) Size

func (m *IpipTunnelDump) Size() (size int)

func (*IpipTunnelDump) Unmarshal

func (m *IpipTunnelDump) Unmarshal(b []byte) error

type RPCService

type RPCService interface {
	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)
	IpipTunnelDump(ctx context.Context, in *IpipTunnelDump) (RPCService_IpipTunnelDumpClient, error)
}

RPCService defines RPC service ipip.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_IpipTunnelDumpClient

type RPCService_IpipTunnelDumpClient interface {
	Recv() (*IpipTunnelDetails, error)
	api.Stream
}

Jump to

Keyboard shortcuts

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