Documentation ¶
Overview ¶
Package dns is a generated VPP binary API for 'dns' module.
It consists of:
8 messages 4 services
Index ¶
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "dns" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0x269575cd )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type DNSEnableDisable ¶
type DNSEnableDisable struct {
Enable uint8
}
DNSEnableDisable represents VPP binary API message 'dns_enable_disable'.
func (*DNSEnableDisable) GetCrcString ¶
func (*DNSEnableDisable) GetCrcString() string
func (*DNSEnableDisable) GetMessageName ¶
func (*DNSEnableDisable) GetMessageName() string
func (*DNSEnableDisable) GetMessageType ¶
func (*DNSEnableDisable) GetMessageType() api.MessageType
func (*DNSEnableDisable) Reset ¶
func (m *DNSEnableDisable) Reset()
type DNSEnableDisableReply ¶
type DNSEnableDisableReply struct {
Retval int32
}
DNSEnableDisableReply represents VPP binary API message 'dns_enable_disable_reply'.
func (*DNSEnableDisableReply) GetCrcString ¶
func (*DNSEnableDisableReply) GetCrcString() string
func (*DNSEnableDisableReply) GetMessageName ¶
func (*DNSEnableDisableReply) GetMessageName() string
func (*DNSEnableDisableReply) GetMessageType ¶
func (*DNSEnableDisableReply) GetMessageType() api.MessageType
func (*DNSEnableDisableReply) Reset ¶
func (m *DNSEnableDisableReply) Reset()
type DNSNameServerAddDel ¶
DNSNameServerAddDel represents VPP binary API message 'dns_name_server_add_del'.
func (*DNSNameServerAddDel) GetCrcString ¶
func (*DNSNameServerAddDel) GetCrcString() string
func (*DNSNameServerAddDel) GetMessageName ¶
func (*DNSNameServerAddDel) GetMessageName() string
func (*DNSNameServerAddDel) GetMessageType ¶
func (*DNSNameServerAddDel) GetMessageType() api.MessageType
func (*DNSNameServerAddDel) Reset ¶
func (m *DNSNameServerAddDel) Reset()
type DNSNameServerAddDelReply ¶
type DNSNameServerAddDelReply struct {
Retval int32
}
DNSNameServerAddDelReply represents VPP binary API message 'dns_name_server_add_del_reply'.
func (*DNSNameServerAddDelReply) GetCrcString ¶
func (*DNSNameServerAddDelReply) GetCrcString() string
func (*DNSNameServerAddDelReply) GetMessageName ¶
func (*DNSNameServerAddDelReply) GetMessageName() string
func (*DNSNameServerAddDelReply) GetMessageType ¶
func (*DNSNameServerAddDelReply) GetMessageType() api.MessageType
func (*DNSNameServerAddDelReply) Reset ¶
func (m *DNSNameServerAddDelReply) Reset()
type DNSResolveIP ¶
DNSResolveIP represents VPP binary API message 'dns_resolve_ip'.
func (*DNSResolveIP) GetCrcString ¶
func (*DNSResolveIP) GetCrcString() string
func (*DNSResolveIP) GetMessageName ¶
func (*DNSResolveIP) GetMessageName() string
func (*DNSResolveIP) GetMessageType ¶
func (*DNSResolveIP) GetMessageType() api.MessageType
func (*DNSResolveIP) Reset ¶
func (m *DNSResolveIP) Reset()
type DNSResolveIPReply ¶
DNSResolveIPReply represents VPP binary API message 'dns_resolve_ip_reply'.
func (*DNSResolveIPReply) GetCrcString ¶
func (*DNSResolveIPReply) GetCrcString() string
func (*DNSResolveIPReply) GetMessageName ¶
func (*DNSResolveIPReply) GetMessageName() string
func (*DNSResolveIPReply) GetMessageType ¶
func (*DNSResolveIPReply) GetMessageType() api.MessageType
func (*DNSResolveIPReply) Reset ¶
func (m *DNSResolveIPReply) Reset()
type DNSResolveName ¶
type DNSResolveName struct {
Name []byte `struc:"[256]byte"`
}
DNSResolveName represents VPP binary API message 'dns_resolve_name'.
func (*DNSResolveName) GetCrcString ¶
func (*DNSResolveName) GetCrcString() string
func (*DNSResolveName) GetMessageName ¶
func (*DNSResolveName) GetMessageName() string
func (*DNSResolveName) GetMessageType ¶
func (*DNSResolveName) GetMessageType() api.MessageType
func (*DNSResolveName) Reset ¶
func (m *DNSResolveName) Reset()
type DNSResolveNameReply ¶
type DNSResolveNameReply struct { Retval int32 IP4Set uint8 IP6Set uint8 IP4Address []byte `struc:"[4]byte"` IP6Address []byte `struc:"[16]byte"` }
DNSResolveNameReply represents VPP binary API message 'dns_resolve_name_reply'.
func (*DNSResolveNameReply) GetCrcString ¶
func (*DNSResolveNameReply) GetCrcString() string
func (*DNSResolveNameReply) GetMessageName ¶
func (*DNSResolveNameReply) GetMessageName() string
func (*DNSResolveNameReply) GetMessageType ¶
func (*DNSResolveNameReply) GetMessageType() api.MessageType
func (*DNSResolveNameReply) Reset ¶
func (m *DNSResolveNameReply) Reset()
type RPCService ¶
type RPCService interface { DNSEnableDisable(ctx context.Context, in *DNSEnableDisable) (*DNSEnableDisableReply, error) DNSNameServerAddDel(ctx context.Context, in *DNSNameServerAddDel) (*DNSNameServerAddDelReply, error) DNSResolveIP(ctx context.Context, in *DNSResolveIP) (*DNSResolveIPReply, error) DNSResolveName(ctx context.Context, in *DNSResolveName) (*DNSResolveNameReply, error) }
RPCService represents RPC service API for dns module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService