npt66

package
v0.0.0-...-140e075 Latest Latest
Warning

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

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

Documentation

Overview

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

Contents: - 2 messages

Index

Constants

View Source
const (
	APIFile    = "npt66"
	APIVersion = "0.0.1"
	VersionCrc = 0x4e353b99
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Npt66BindingAddDel

type Npt66BindingAddDel struct {
	IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Internal  ip_types.IP6Prefix             `binapi:"ip6_prefix,name=internal" json:"internal,omitempty"`
	External  ip_types.IP6Prefix             `binapi:"ip6_prefix,name=external" json:"external,omitempty"`
}

// Copyright(c) 2023 Cisco Systems, Inc. Npt66BindingAddDel defines message 'npt66_binding_add_del'.

func (*Npt66BindingAddDel) GetCrcString

func (*Npt66BindingAddDel) GetCrcString() string

func (*Npt66BindingAddDel) GetMessageName

func (*Npt66BindingAddDel) GetMessageName() string

func (*Npt66BindingAddDel) GetMessageType

func (*Npt66BindingAddDel) GetMessageType() api.MessageType

func (*Npt66BindingAddDel) Marshal

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

func (*Npt66BindingAddDel) Reset

func (m *Npt66BindingAddDel) Reset()

func (*Npt66BindingAddDel) Size

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

func (*Npt66BindingAddDel) Unmarshal

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

type Npt66BindingAddDelReply

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

Npt66BindingAddDelReply defines message 'npt66_binding_add_del_reply'.

func (*Npt66BindingAddDelReply) GetCrcString

func (*Npt66BindingAddDelReply) GetCrcString() string

func (*Npt66BindingAddDelReply) GetMessageName

func (*Npt66BindingAddDelReply) GetMessageName() string

func (*Npt66BindingAddDelReply) GetMessageType

func (*Npt66BindingAddDelReply) GetMessageType() api.MessageType

func (*Npt66BindingAddDelReply) Marshal

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

func (*Npt66BindingAddDelReply) Reset

func (m *Npt66BindingAddDelReply) Reset()

func (*Npt66BindingAddDelReply) Size

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

func (*Npt66BindingAddDelReply) Unmarshal

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

type RPCService

type RPCService interface {
	Npt66BindingAddDel(ctx context.Context, in *Npt66BindingAddDel) (*Npt66BindingAddDelReply, error)
}

RPCService defines RPC service npt66.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

Jump to

Keyboard shortcuts

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