Documentation ¶
Overview ¶
Package npt66 contains generated bindings for API file npt66.api.
Contents: - 2 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type Npt66BindingAddDel
- func (*Npt66BindingAddDel) GetCrcString() string
- func (*Npt66BindingAddDel) GetMessageName() string
- func (*Npt66BindingAddDel) GetMessageType() api.MessageType
- func (m *Npt66BindingAddDel) Marshal(b []byte) ([]byte, error)
- func (m *Npt66BindingAddDel) Reset()
- func (m *Npt66BindingAddDel) Size() (size int)
- func (m *Npt66BindingAddDel) Unmarshal(b []byte) error
- type Npt66BindingAddDelReply
- func (*Npt66BindingAddDelReply) GetCrcString() string
- func (*Npt66BindingAddDelReply) GetMessageName() string
- func (*Npt66BindingAddDelReply) GetMessageType() api.MessageType
- func (m *Npt66BindingAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *Npt66BindingAddDelReply) Reset()
- func (m *Npt66BindingAddDelReply) Size() (size int)
- func (m *Npt66BindingAddDelReply) Unmarshal(b []byte) error
- type RPCService
Constants ¶
View Source
const ( APIFile = "npt66" APIVersion = "0.0.1" VersionCrc = 0x4e353b99 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
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) 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
Click to show internal directories.
Click to hide internal directories.