Documentation ¶
Overview ¶
Package lcp contains generated bindings for API file lcp.api.
Contents: - 1 enum - 15 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type LcpDefaultNsGet
- func (*LcpDefaultNsGet) GetCrcString() string
- func (*LcpDefaultNsGet) GetMessageName() string
- func (*LcpDefaultNsGet) GetMessageType() api.MessageType
- func (m *LcpDefaultNsGet) Marshal(b []byte) ([]byte, error)
- func (m *LcpDefaultNsGet) Reset()
- func (m *LcpDefaultNsGet) Size() (size int)
- func (m *LcpDefaultNsGet) Unmarshal(b []byte) error
- type LcpDefaultNsGetReply
- func (*LcpDefaultNsGetReply) GetCrcString() string
- func (*LcpDefaultNsGetReply) GetMessageName() string
- func (*LcpDefaultNsGetReply) GetMessageType() api.MessageType
- func (m *LcpDefaultNsGetReply) Marshal(b []byte) ([]byte, error)
- func (m *LcpDefaultNsGetReply) Reset()
- func (m *LcpDefaultNsGetReply) Size() (size int)
- func (m *LcpDefaultNsGetReply) Unmarshal(b []byte) error
- type LcpDefaultNsSet
- func (*LcpDefaultNsSet) GetCrcString() string
- func (*LcpDefaultNsSet) GetMessageName() string
- func (*LcpDefaultNsSet) GetMessageType() api.MessageType
- func (m *LcpDefaultNsSet) Marshal(b []byte) ([]byte, error)
- func (m *LcpDefaultNsSet) Reset()
- func (m *LcpDefaultNsSet) Size() (size int)
- func (m *LcpDefaultNsSet) Unmarshal(b []byte) error
- type LcpDefaultNsSetReply
- func (*LcpDefaultNsSetReply) GetCrcString() string
- func (*LcpDefaultNsSetReply) GetMessageName() string
- func (*LcpDefaultNsSetReply) GetMessageType() api.MessageType
- func (m *LcpDefaultNsSetReply) Marshal(b []byte) ([]byte, error)
- func (m *LcpDefaultNsSetReply) Reset()
- func (m *LcpDefaultNsSetReply) Size() (size int)
- func (m *LcpDefaultNsSetReply) Unmarshal(b []byte) error
- type LcpItfHostType
- type LcpItfPairAddDel
- func (*LcpItfPairAddDel) GetCrcString() string
- func (*LcpItfPairAddDel) GetMessageName() string
- func (*LcpItfPairAddDel) GetMessageType() api.MessageType
- func (m *LcpItfPairAddDel) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairAddDel) Reset()
- func (m *LcpItfPairAddDel) Size() (size int)
- func (m *LcpItfPairAddDel) Unmarshal(b []byte) error
- type LcpItfPairAddDelReply
- func (*LcpItfPairAddDelReply) GetCrcString() string
- func (*LcpItfPairAddDelReply) GetMessageName() string
- func (*LcpItfPairAddDelReply) GetMessageType() api.MessageType
- func (m *LcpItfPairAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairAddDelReply) Reset()
- func (m *LcpItfPairAddDelReply) Size() (size int)
- func (m *LcpItfPairAddDelReply) Unmarshal(b []byte) error
- type LcpItfPairAddDelV2
- func (*LcpItfPairAddDelV2) GetCrcString() string
- func (*LcpItfPairAddDelV2) GetMessageName() string
- func (*LcpItfPairAddDelV2) GetMessageType() api.MessageType
- func (m *LcpItfPairAddDelV2) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairAddDelV2) Reset()
- func (m *LcpItfPairAddDelV2) Size() (size int)
- func (m *LcpItfPairAddDelV2) Unmarshal(b []byte) error
- type LcpItfPairAddDelV2Reply
- func (*LcpItfPairAddDelV2Reply) GetCrcString() string
- func (*LcpItfPairAddDelV2Reply) GetMessageName() string
- func (*LcpItfPairAddDelV2Reply) GetMessageType() api.MessageType
- func (m *LcpItfPairAddDelV2Reply) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairAddDelV2Reply) Reset()
- func (m *LcpItfPairAddDelV2Reply) Size() (size int)
- func (m *LcpItfPairAddDelV2Reply) Unmarshal(b []byte) error
- type LcpItfPairDetails
- func (*LcpItfPairDetails) GetCrcString() string
- func (*LcpItfPairDetails) GetMessageName() string
- func (*LcpItfPairDetails) GetMessageType() api.MessageType
- func (m *LcpItfPairDetails) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairDetails) Reset()
- func (m *LcpItfPairDetails) Size() (size int)
- func (m *LcpItfPairDetails) Unmarshal(b []byte) error
- type LcpItfPairGet
- func (*LcpItfPairGet) GetCrcString() string
- func (*LcpItfPairGet) GetMessageName() string
- func (*LcpItfPairGet) GetMessageType() api.MessageType
- func (m *LcpItfPairGet) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairGet) Reset()
- func (m *LcpItfPairGet) Size() (size int)
- func (m *LcpItfPairGet) Unmarshal(b []byte) error
- type LcpItfPairGetReply
- func (*LcpItfPairGetReply) GetCrcString() string
- func (*LcpItfPairGetReply) GetMessageName() string
- func (*LcpItfPairGetReply) GetMessageType() api.MessageType
- func (m *LcpItfPairGetReply) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairGetReply) Reset()
- func (m *LcpItfPairGetReply) Size() (size int)
- func (m *LcpItfPairGetReply) Unmarshal(b []byte) error
- type LcpItfPairReplaceBegin
- func (*LcpItfPairReplaceBegin) GetCrcString() string
- func (*LcpItfPairReplaceBegin) GetMessageName() string
- func (*LcpItfPairReplaceBegin) GetMessageType() api.MessageType
- func (m *LcpItfPairReplaceBegin) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairReplaceBegin) Reset()
- func (m *LcpItfPairReplaceBegin) Size() (size int)
- func (m *LcpItfPairReplaceBegin) Unmarshal(b []byte) error
- type LcpItfPairReplaceBeginReply
- func (*LcpItfPairReplaceBeginReply) GetCrcString() string
- func (*LcpItfPairReplaceBeginReply) GetMessageName() string
- func (*LcpItfPairReplaceBeginReply) GetMessageType() api.MessageType
- func (m *LcpItfPairReplaceBeginReply) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairReplaceBeginReply) Reset()
- func (m *LcpItfPairReplaceBeginReply) Size() (size int)
- func (m *LcpItfPairReplaceBeginReply) Unmarshal(b []byte) error
- type LcpItfPairReplaceEnd
- func (*LcpItfPairReplaceEnd) GetCrcString() string
- func (*LcpItfPairReplaceEnd) GetMessageName() string
- func (*LcpItfPairReplaceEnd) GetMessageType() api.MessageType
- func (m *LcpItfPairReplaceEnd) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairReplaceEnd) Reset()
- func (m *LcpItfPairReplaceEnd) Size() (size int)
- func (m *LcpItfPairReplaceEnd) Unmarshal(b []byte) error
- type LcpItfPairReplaceEndReply
- func (*LcpItfPairReplaceEndReply) GetCrcString() string
- func (*LcpItfPairReplaceEndReply) GetMessageName() string
- func (*LcpItfPairReplaceEndReply) GetMessageType() api.MessageType
- func (m *LcpItfPairReplaceEndReply) Marshal(b []byte) ([]byte, error)
- func (m *LcpItfPairReplaceEndReply) Reset()
- func (m *LcpItfPairReplaceEndReply) Size() (size int)
- func (m *LcpItfPairReplaceEndReply) Unmarshal(b []byte) error
- type RPCService
- type RPCService_LcpItfPairGetClient
Constants ¶
const ( APIFile = "lcp" APIVersion = "1.0.0" VersionCrc = 0x64780a3 )
Variables ¶
var ( LcpItfHostType_name = map[uint8]string{ 0: "LCP_API_ITF_HOST_TAP", 1: "LCP_API_ITF_HOST_TUN", } LcpItfHostType_value = map[string]uint8{ "LCP_API_ITF_HOST_TAP": 0, "LCP_API_ITF_HOST_TUN": 1, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type LcpDefaultNsGet ¶
type LcpDefaultNsGet struct{}
get the default Linux Control Plane netns LcpDefaultNsGet defines message 'lcp_default_ns_get'.
func (*LcpDefaultNsGet) GetCrcString ¶
func (*LcpDefaultNsGet) GetCrcString() string
func (*LcpDefaultNsGet) GetMessageName ¶
func (*LcpDefaultNsGet) GetMessageName() string
func (*LcpDefaultNsGet) GetMessageType ¶
func (*LcpDefaultNsGet) GetMessageType() api.MessageType
func (*LcpDefaultNsGet) Reset ¶
func (m *LcpDefaultNsGet) Reset()
func (*LcpDefaultNsGet) Size ¶
func (m *LcpDefaultNsGet) Size() (size int)
func (*LcpDefaultNsGet) Unmarshal ¶
func (m *LcpDefaultNsGet) Unmarshal(b []byte) error
type LcpDefaultNsGetReply ¶
type LcpDefaultNsGetReply struct {
Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"`
}
get the default Linux Control Plane netns
- netns - the default netns; netns[0] == 0 if none
LcpDefaultNsGetReply defines message 'lcp_default_ns_get_reply'. InProgress: the message form may change in the future versions
func (*LcpDefaultNsGetReply) GetCrcString ¶
func (*LcpDefaultNsGetReply) GetCrcString() string
func (*LcpDefaultNsGetReply) GetMessageName ¶
func (*LcpDefaultNsGetReply) GetMessageName() string
func (*LcpDefaultNsGetReply) GetMessageType ¶
func (*LcpDefaultNsGetReply) GetMessageType() api.MessageType
func (*LcpDefaultNsGetReply) Marshal ¶
func (m *LcpDefaultNsGetReply) Marshal(b []byte) ([]byte, error)
func (*LcpDefaultNsGetReply) Reset ¶
func (m *LcpDefaultNsGetReply) Reset()
func (*LcpDefaultNsGetReply) Size ¶
func (m *LcpDefaultNsGetReply) Size() (size int)
func (*LcpDefaultNsGetReply) Unmarshal ¶
func (m *LcpDefaultNsGetReply) Unmarshal(b []byte) error
type LcpDefaultNsSet ¶
type LcpDefaultNsSet struct {
Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"`
}
Set the default Linux Control Plane netns
- netns - the new default netns; netns[0] == 0 if none
LcpDefaultNsSet defines message 'lcp_default_ns_set'. InProgress: the message form may change in the future versions
func (*LcpDefaultNsSet) GetCrcString ¶
func (*LcpDefaultNsSet) GetCrcString() string
func (*LcpDefaultNsSet) GetMessageName ¶
func (*LcpDefaultNsSet) GetMessageName() string
func (*LcpDefaultNsSet) GetMessageType ¶
func (*LcpDefaultNsSet) GetMessageType() api.MessageType
func (*LcpDefaultNsSet) Reset ¶
func (m *LcpDefaultNsSet) Reset()
func (*LcpDefaultNsSet) Size ¶
func (m *LcpDefaultNsSet) Size() (size int)
func (*LcpDefaultNsSet) Unmarshal ¶
func (m *LcpDefaultNsSet) Unmarshal(b []byte) error
type LcpDefaultNsSetReply ¶
type LcpDefaultNsSetReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
LcpDefaultNsSetReply defines message 'lcp_default_ns_set_reply'. InProgress: the message form may change in the future versions
func (*LcpDefaultNsSetReply) GetCrcString ¶
func (*LcpDefaultNsSetReply) GetCrcString() string
func (*LcpDefaultNsSetReply) GetMessageName ¶
func (*LcpDefaultNsSetReply) GetMessageName() string
func (*LcpDefaultNsSetReply) GetMessageType ¶
func (*LcpDefaultNsSetReply) GetMessageType() api.MessageType
func (*LcpDefaultNsSetReply) Marshal ¶
func (m *LcpDefaultNsSetReply) Marshal(b []byte) ([]byte, error)
func (*LcpDefaultNsSetReply) Reset ¶
func (m *LcpDefaultNsSetReply) Reset()
func (*LcpDefaultNsSetReply) Size ¶
func (m *LcpDefaultNsSetReply) Size() (size int)
func (*LcpDefaultNsSetReply) Unmarshal ¶
func (m *LcpDefaultNsSetReply) Unmarshal(b []byte) error
type LcpItfHostType ¶
type LcpItfHostType uint8
LcpItfHostType defines enum 'lcp_itf_host_type'.
const ( LCP_API_ITF_HOST_TAP LcpItfHostType = 0 LCP_API_ITF_HOST_TUN LcpItfHostType = 1 )
func (LcpItfHostType) String ¶
func (x LcpItfHostType) String() string
type LcpItfPairAddDel ¶
type LcpItfPairAddDel 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"` HostIfName string `binapi:"string[16],name=host_if_name" json:"host_if_name,omitempty"` HostIfType LcpItfHostType `binapi:"lcp_itf_host_type,name=host_if_type" json:"host_if_type,omitempty"` Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"` }
Add or delete a Linux Conrol Plane interface pair
- is_add - 0 if deleting, != 0 if adding
- sw_if_index - index of VPP PHY SW interface
- host_if_name - host tap interface name
- host_if_type - the type of host interface to create (tun, tap)
- netns - optional tap netns; netns[0] == 0 if none
LcpItfPairAddDel defines message 'lcp_itf_pair_add_del'. Deprecated: the message will be removed in the future versions
func (*LcpItfPairAddDel) GetCrcString ¶
func (*LcpItfPairAddDel) GetCrcString() string
func (*LcpItfPairAddDel) GetMessageName ¶
func (*LcpItfPairAddDel) GetMessageName() string
func (*LcpItfPairAddDel) GetMessageType ¶
func (*LcpItfPairAddDel) GetMessageType() api.MessageType
func (*LcpItfPairAddDel) Reset ¶
func (m *LcpItfPairAddDel) Reset()
func (*LcpItfPairAddDel) Size ¶
func (m *LcpItfPairAddDel) Size() (size int)
func (*LcpItfPairAddDel) Unmarshal ¶
func (m *LcpItfPairAddDel) Unmarshal(b []byte) error
type LcpItfPairAddDelReply ¶
type LcpItfPairAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
LcpItfPairAddDelReply defines message 'lcp_itf_pair_add_del_reply'. Deprecated: the message will be removed in the future versions
func (*LcpItfPairAddDelReply) GetCrcString ¶
func (*LcpItfPairAddDelReply) GetCrcString() string
func (*LcpItfPairAddDelReply) GetMessageName ¶
func (*LcpItfPairAddDelReply) GetMessageName() string
func (*LcpItfPairAddDelReply) GetMessageType ¶
func (*LcpItfPairAddDelReply) GetMessageType() api.MessageType
func (*LcpItfPairAddDelReply) Marshal ¶
func (m *LcpItfPairAddDelReply) Marshal(b []byte) ([]byte, error)
func (*LcpItfPairAddDelReply) Reset ¶
func (m *LcpItfPairAddDelReply) Reset()
func (*LcpItfPairAddDelReply) Size ¶
func (m *LcpItfPairAddDelReply) Size() (size int)
func (*LcpItfPairAddDelReply) Unmarshal ¶
func (m *LcpItfPairAddDelReply) Unmarshal(b []byte) error
type LcpItfPairAddDelV2 ¶
type LcpItfPairAddDelV2 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"` HostIfName string `binapi:"string[16],name=host_if_name" json:"host_if_name,omitempty"` HostIfType LcpItfHostType `binapi:"lcp_itf_host_type,name=host_if_type" json:"host_if_type,omitempty"` Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"` }
LcpItfPairAddDelV2 defines message 'lcp_itf_pair_add_del_v2'. InProgress: the message form may change in the future versions
func (*LcpItfPairAddDelV2) GetCrcString ¶
func (*LcpItfPairAddDelV2) GetCrcString() string
func (*LcpItfPairAddDelV2) GetMessageName ¶
func (*LcpItfPairAddDelV2) GetMessageName() string
func (*LcpItfPairAddDelV2) GetMessageType ¶
func (*LcpItfPairAddDelV2) GetMessageType() api.MessageType
func (*LcpItfPairAddDelV2) Reset ¶
func (m *LcpItfPairAddDelV2) Reset()
func (*LcpItfPairAddDelV2) Size ¶
func (m *LcpItfPairAddDelV2) Size() (size int)
func (*LcpItfPairAddDelV2) Unmarshal ¶
func (m *LcpItfPairAddDelV2) Unmarshal(b []byte) error
type LcpItfPairAddDelV2Reply ¶
type LcpItfPairAddDelV2Reply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` HostSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=host_sw_if_index" json:"host_sw_if_index,omitempty"` }
LcpItfPairAddDelV2Reply defines message 'lcp_itf_pair_add_del_v2_reply'. InProgress: the message form may change in the future versions
func (*LcpItfPairAddDelV2Reply) GetCrcString ¶
func (*LcpItfPairAddDelV2Reply) GetCrcString() string
func (*LcpItfPairAddDelV2Reply) GetMessageName ¶
func (*LcpItfPairAddDelV2Reply) GetMessageName() string
func (*LcpItfPairAddDelV2Reply) GetMessageType ¶
func (*LcpItfPairAddDelV2Reply) GetMessageType() api.MessageType
func (*LcpItfPairAddDelV2Reply) Marshal ¶
func (m *LcpItfPairAddDelV2Reply) Marshal(b []byte) ([]byte, error)
func (*LcpItfPairAddDelV2Reply) Reset ¶
func (m *LcpItfPairAddDelV2Reply) Reset()
func (*LcpItfPairAddDelV2Reply) Size ¶
func (m *LcpItfPairAddDelV2Reply) Size() (size int)
func (*LcpItfPairAddDelV2Reply) Unmarshal ¶
func (m *LcpItfPairAddDelV2Reply) Unmarshal(b []byte) error
type LcpItfPairDetails ¶
type LcpItfPairDetails struct { PhySwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=phy_sw_if_index" json:"phy_sw_if_index,omitempty"` HostSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=host_sw_if_index" json:"host_sw_if_index,omitempty"` VifIndex uint32 `binapi:"u32,name=vif_index" json:"vif_index,omitempty"` HostIfName string `binapi:"string[16],name=host_if_name" json:"host_if_name,omitempty"` HostIfType LcpItfHostType `binapi:"lcp_itf_host_type,name=host_if_type" json:"host_if_type,omitempty"` Netns string `binapi:"string[32],name=netns" json:"netns,omitempty"` }
Linux Control Plane interface pair dump response
- phy_sw_if_index - VPP's sw_if_index for the PHY
- host_sw_if_index - VPP's sw_if_index for the host tap
- vif_index - tap linux index
- host_if_name - host interface name
- host_if_type - host interface type (tun, tap)
- netns - host interface netns
LcpItfPairDetails defines message 'lcp_itf_pair_details'. InProgress: the message form may change in the future versions
func (*LcpItfPairDetails) GetCrcString ¶
func (*LcpItfPairDetails) GetCrcString() string
func (*LcpItfPairDetails) GetMessageName ¶
func (*LcpItfPairDetails) GetMessageName() string
func (*LcpItfPairDetails) GetMessageType ¶
func (*LcpItfPairDetails) GetMessageType() api.MessageType
func (*LcpItfPairDetails) Reset ¶
func (m *LcpItfPairDetails) Reset()
func (*LcpItfPairDetails) Size ¶
func (m *LcpItfPairDetails) Size() (size int)
func (*LcpItfPairDetails) Unmarshal ¶
func (m *LcpItfPairDetails) Unmarshal(b []byte) error
type LcpItfPairGet ¶
type LcpItfPairGet struct {
Cursor uint32 `binapi:"u32,name=cursor" json:"cursor,omitempty"`
}
Dump Linux Control Plane interface pair data
- sw_if_index - interface to use as filter (~0 == "all")
LcpItfPairGet defines message 'lcp_itf_pair_get'.
func (*LcpItfPairGet) GetCrcString ¶
func (*LcpItfPairGet) GetCrcString() string
func (*LcpItfPairGet) GetMessageName ¶
func (*LcpItfPairGet) GetMessageName() string
func (*LcpItfPairGet) GetMessageType ¶
func (*LcpItfPairGet) GetMessageType() api.MessageType
func (*LcpItfPairGet) Reset ¶
func (m *LcpItfPairGet) Reset()
func (*LcpItfPairGet) Size ¶
func (m *LcpItfPairGet) Size() (size int)
func (*LcpItfPairGet) Unmarshal ¶
func (m *LcpItfPairGet) Unmarshal(b []byte) error
type LcpItfPairGetReply ¶
type LcpItfPairGetReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Cursor uint32 `binapi:"u32,name=cursor" json:"cursor,omitempty"` }
LcpItfPairGetReply defines message 'lcp_itf_pair_get_reply'.
func (*LcpItfPairGetReply) GetCrcString ¶
func (*LcpItfPairGetReply) GetCrcString() string
func (*LcpItfPairGetReply) GetMessageName ¶
func (*LcpItfPairGetReply) GetMessageName() string
func (*LcpItfPairGetReply) GetMessageType ¶
func (*LcpItfPairGetReply) GetMessageType() api.MessageType
func (*LcpItfPairGetReply) Reset ¶
func (m *LcpItfPairGetReply) Reset()
func (*LcpItfPairGetReply) Size ¶
func (m *LcpItfPairGetReply) Size() (size int)
func (*LcpItfPairGetReply) Unmarshal ¶
func (m *LcpItfPairGetReply) Unmarshal(b []byte) error
type LcpItfPairReplaceBegin ¶
type LcpItfPairReplaceBegin struct{}
Replace end/begin LcpItfPairReplaceBegin defines message 'lcp_itf_pair_replace_begin'.
func (*LcpItfPairReplaceBegin) GetCrcString ¶
func (*LcpItfPairReplaceBegin) GetCrcString() string
func (*LcpItfPairReplaceBegin) GetMessageName ¶
func (*LcpItfPairReplaceBegin) GetMessageName() string
func (*LcpItfPairReplaceBegin) GetMessageType ¶
func (*LcpItfPairReplaceBegin) GetMessageType() api.MessageType
func (*LcpItfPairReplaceBegin) Marshal ¶
func (m *LcpItfPairReplaceBegin) Marshal(b []byte) ([]byte, error)
func (*LcpItfPairReplaceBegin) Reset ¶
func (m *LcpItfPairReplaceBegin) Reset()
func (*LcpItfPairReplaceBegin) Size ¶
func (m *LcpItfPairReplaceBegin) Size() (size int)
func (*LcpItfPairReplaceBegin) Unmarshal ¶
func (m *LcpItfPairReplaceBegin) Unmarshal(b []byte) error
type LcpItfPairReplaceBeginReply ¶
type LcpItfPairReplaceBeginReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
LcpItfPairReplaceBeginReply defines message 'lcp_itf_pair_replace_begin_reply'.
func (*LcpItfPairReplaceBeginReply) GetCrcString ¶
func (*LcpItfPairReplaceBeginReply) GetCrcString() string
func (*LcpItfPairReplaceBeginReply) GetMessageName ¶
func (*LcpItfPairReplaceBeginReply) GetMessageName() string
func (*LcpItfPairReplaceBeginReply) GetMessageType ¶
func (*LcpItfPairReplaceBeginReply) GetMessageType() api.MessageType
func (*LcpItfPairReplaceBeginReply) Marshal ¶
func (m *LcpItfPairReplaceBeginReply) Marshal(b []byte) ([]byte, error)
func (*LcpItfPairReplaceBeginReply) Reset ¶
func (m *LcpItfPairReplaceBeginReply) Reset()
func (*LcpItfPairReplaceBeginReply) Size ¶
func (m *LcpItfPairReplaceBeginReply) Size() (size int)
func (*LcpItfPairReplaceBeginReply) Unmarshal ¶
func (m *LcpItfPairReplaceBeginReply) Unmarshal(b []byte) error
type LcpItfPairReplaceEnd ¶
type LcpItfPairReplaceEnd struct{}
LcpItfPairReplaceEnd defines message 'lcp_itf_pair_replace_end'.
func (*LcpItfPairReplaceEnd) GetCrcString ¶
func (*LcpItfPairReplaceEnd) GetCrcString() string
func (*LcpItfPairReplaceEnd) GetMessageName ¶
func (*LcpItfPairReplaceEnd) GetMessageName() string
func (*LcpItfPairReplaceEnd) GetMessageType ¶
func (*LcpItfPairReplaceEnd) GetMessageType() api.MessageType
func (*LcpItfPairReplaceEnd) Marshal ¶
func (m *LcpItfPairReplaceEnd) Marshal(b []byte) ([]byte, error)
func (*LcpItfPairReplaceEnd) Reset ¶
func (m *LcpItfPairReplaceEnd) Reset()
func (*LcpItfPairReplaceEnd) Size ¶
func (m *LcpItfPairReplaceEnd) Size() (size int)
func (*LcpItfPairReplaceEnd) Unmarshal ¶
func (m *LcpItfPairReplaceEnd) Unmarshal(b []byte) error
type LcpItfPairReplaceEndReply ¶
type LcpItfPairReplaceEndReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
LcpItfPairReplaceEndReply defines message 'lcp_itf_pair_replace_end_reply'.
func (*LcpItfPairReplaceEndReply) GetCrcString ¶
func (*LcpItfPairReplaceEndReply) GetCrcString() string
func (*LcpItfPairReplaceEndReply) GetMessageName ¶
func (*LcpItfPairReplaceEndReply) GetMessageName() string
func (*LcpItfPairReplaceEndReply) GetMessageType ¶
func (*LcpItfPairReplaceEndReply) GetMessageType() api.MessageType
func (*LcpItfPairReplaceEndReply) Marshal ¶
func (m *LcpItfPairReplaceEndReply) Marshal(b []byte) ([]byte, error)
func (*LcpItfPairReplaceEndReply) Reset ¶
func (m *LcpItfPairReplaceEndReply) Reset()
func (*LcpItfPairReplaceEndReply) Size ¶
func (m *LcpItfPairReplaceEndReply) Size() (size int)
func (*LcpItfPairReplaceEndReply) Unmarshal ¶
func (m *LcpItfPairReplaceEndReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { LcpDefaultNsGet(ctx context.Context, in *LcpDefaultNsGet) (*LcpDefaultNsGetReply, error) LcpDefaultNsSet(ctx context.Context, in *LcpDefaultNsSet) (*LcpDefaultNsSetReply, error) LcpItfPairAddDel(ctx context.Context, in *LcpItfPairAddDel) (*LcpItfPairAddDelReply, error) LcpItfPairAddDelV2(ctx context.Context, in *LcpItfPairAddDelV2) (*LcpItfPairAddDelV2Reply, error) LcpItfPairGet(ctx context.Context, in *LcpItfPairGet) (RPCService_LcpItfPairGetClient, error) LcpItfPairReplaceBegin(ctx context.Context, in *LcpItfPairReplaceBegin) (*LcpItfPairReplaceBeginReply, error) LcpItfPairReplaceEnd(ctx context.Context, in *LcpItfPairReplaceEnd) (*LcpItfPairReplaceEndReply, error) }
RPCService defines RPC service lcp.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_LcpItfPairGetClient ¶
type RPCService_LcpItfPairGetClient interface { Recv() (*LcpItfPairDetails, *LcpItfPairGetReply, error) api.Stream }