Documentation ¶
Overview ¶
Package arp is a generated VPP binary API for 'arp' module.
It consists of:
10 enums 7 aliases 7 types 1 union 8 messages 4 services
Index ¶
- Constants
- func AllMessages() []api.Message
- type Address
- type AddressFamily
- type AddressUnion
- type AddressWithPrefix
- type IP4Address
- type IP4AddressWithPrefix
- type IP4Prefix
- type IP6Address
- type IP6AddressWithPrefix
- type IP6Prefix
- type IPDscp
- type IPEcn
- type IPProto
- type IfStatusFlags
- type IfType
- type InterfaceIndex
- type LinkDuplex
- type MacAddress
- type Mprefix
- type MtuProto
- type Prefix
- type PrefixMatcher
- type ProxyArp
- type ProxyArpAddDel
- type ProxyArpAddDelReply
- type ProxyArpDetails
- type ProxyArpDump
- type ProxyArpIntfcDetails
- type ProxyArpIntfcDump
- type ProxyArpIntfcEnableDisable
- type ProxyArpIntfcEnableDisableReply
- type RPCService
- type RPCService_DumpProxyArpClient
- type RPCService_DumpProxyArpIntfcClient
- type RxMode
- type SubIfFlags
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "arp" // VersionCrc is the CRC of this module. VersionCrc = 0xa818aaf3 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type AddressFamily ¶
type AddressFamily = ip_types.AddressFamily
type AddressUnion ¶
type AddressUnion = ip_types.AddressUnion
type AddressWithPrefix ¶
type AddressWithPrefix = ip_types.AddressWithPrefix
type IP4Address ¶
type IP4Address = ip_types.IP4Address
type IP4AddressWithPrefix ¶
type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix
type IP6Address ¶
type IP6Address = ip_types.IP6Address
type IP6AddressWithPrefix ¶
type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix
type IfStatusFlags ¶
type IfStatusFlags = interface_types.IfStatusFlags
type IfType ¶
type IfType = interface_types.IfType
type InterfaceIndex ¶
type InterfaceIndex = interface_types.InterfaceIndex
type LinkDuplex ¶
type LinkDuplex = interface_types.LinkDuplex
type MacAddress ¶
type MacAddress = ethernet_types.MacAddress
type MtuProto ¶
type MtuProto = interface_types.MtuProto
type PrefixMatcher ¶
type PrefixMatcher = ip_types.PrefixMatcher
type ProxyArp ¶
type ProxyArp struct { TableID uint32 Low IP4Address Hi IP4Address }
ProxyArp represents VPP binary API type 'proxy_arp'.
func (*ProxyArp) GetTypeName ¶
type ProxyArpAddDel ¶
ProxyArpAddDel represents VPP binary API message 'proxy_arp_add_del'.
func (*ProxyArpAddDel) GetCrcString ¶
func (*ProxyArpAddDel) GetCrcString() string
func (*ProxyArpAddDel) GetMessageName ¶
func (*ProxyArpAddDel) GetMessageName() string
func (*ProxyArpAddDel) GetMessageType ¶
func (*ProxyArpAddDel) GetMessageType() api.MessageType
func (*ProxyArpAddDel) Reset ¶
func (m *ProxyArpAddDel) Reset()
type ProxyArpAddDelReply ¶
type ProxyArpAddDelReply struct {
Retval int32
}
ProxyArpAddDelReply represents VPP binary API message 'proxy_arp_add_del_reply'.
func (*ProxyArpAddDelReply) GetCrcString ¶
func (*ProxyArpAddDelReply) GetCrcString() string
func (*ProxyArpAddDelReply) GetMessageName ¶
func (*ProxyArpAddDelReply) GetMessageName() string
func (*ProxyArpAddDelReply) GetMessageType ¶
func (*ProxyArpAddDelReply) GetMessageType() api.MessageType
func (*ProxyArpAddDelReply) Reset ¶
func (m *ProxyArpAddDelReply) Reset()
type ProxyArpDetails ¶
type ProxyArpDetails struct {
Proxy ProxyArp
}
ProxyArpDetails represents VPP binary API message 'proxy_arp_details'.
func (*ProxyArpDetails) GetCrcString ¶
func (*ProxyArpDetails) GetCrcString() string
func (*ProxyArpDetails) GetMessageName ¶
func (*ProxyArpDetails) GetMessageName() string
func (*ProxyArpDetails) GetMessageType ¶
func (*ProxyArpDetails) GetMessageType() api.MessageType
func (*ProxyArpDetails) Reset ¶
func (m *ProxyArpDetails) Reset()
type ProxyArpDump ¶
type ProxyArpDump struct{}
ProxyArpDump represents VPP binary API message 'proxy_arp_dump'.
func (*ProxyArpDump) GetCrcString ¶
func (*ProxyArpDump) GetCrcString() string
func (*ProxyArpDump) GetMessageName ¶
func (*ProxyArpDump) GetMessageName() string
func (*ProxyArpDump) GetMessageType ¶
func (*ProxyArpDump) GetMessageType() api.MessageType
func (*ProxyArpDump) Reset ¶
func (m *ProxyArpDump) Reset()
type ProxyArpIntfcDetails ¶
type ProxyArpIntfcDetails struct {
SwIfIndex uint32
}
ProxyArpIntfcDetails represents VPP binary API message 'proxy_arp_intfc_details'.
func (*ProxyArpIntfcDetails) GetCrcString ¶
func (*ProxyArpIntfcDetails) GetCrcString() string
func (*ProxyArpIntfcDetails) GetMessageName ¶
func (*ProxyArpIntfcDetails) GetMessageName() string
func (*ProxyArpIntfcDetails) GetMessageType ¶
func (*ProxyArpIntfcDetails) GetMessageType() api.MessageType
func (*ProxyArpIntfcDetails) Reset ¶
func (m *ProxyArpIntfcDetails) Reset()
type ProxyArpIntfcDump ¶
type ProxyArpIntfcDump struct{}
ProxyArpIntfcDump represents VPP binary API message 'proxy_arp_intfc_dump'.
func (*ProxyArpIntfcDump) GetCrcString ¶
func (*ProxyArpIntfcDump) GetCrcString() string
func (*ProxyArpIntfcDump) GetMessageName ¶
func (*ProxyArpIntfcDump) GetMessageName() string
func (*ProxyArpIntfcDump) GetMessageType ¶
func (*ProxyArpIntfcDump) GetMessageType() api.MessageType
func (*ProxyArpIntfcDump) Reset ¶
func (m *ProxyArpIntfcDump) Reset()
type ProxyArpIntfcEnableDisable ¶
type ProxyArpIntfcEnableDisable struct { SwIfIndex InterfaceIndex Enable bool }
ProxyArpIntfcEnableDisable represents VPP binary API message 'proxy_arp_intfc_enable_disable'.
func (*ProxyArpIntfcEnableDisable) GetCrcString ¶
func (*ProxyArpIntfcEnableDisable) GetCrcString() string
func (*ProxyArpIntfcEnableDisable) GetMessageName ¶
func (*ProxyArpIntfcEnableDisable) GetMessageName() string
func (*ProxyArpIntfcEnableDisable) GetMessageType ¶
func (*ProxyArpIntfcEnableDisable) GetMessageType() api.MessageType
func (*ProxyArpIntfcEnableDisable) Reset ¶
func (m *ProxyArpIntfcEnableDisable) Reset()
type ProxyArpIntfcEnableDisableReply ¶
type ProxyArpIntfcEnableDisableReply struct {
Retval int32
}
ProxyArpIntfcEnableDisableReply represents VPP binary API message 'proxy_arp_intfc_enable_disable_reply'.
func (*ProxyArpIntfcEnableDisableReply) GetCrcString ¶
func (*ProxyArpIntfcEnableDisableReply) GetCrcString() string
func (*ProxyArpIntfcEnableDisableReply) GetMessageName ¶
func (*ProxyArpIntfcEnableDisableReply) GetMessageName() string
func (*ProxyArpIntfcEnableDisableReply) GetMessageType ¶
func (*ProxyArpIntfcEnableDisableReply) GetMessageType() api.MessageType
func (*ProxyArpIntfcEnableDisableReply) Reset ¶
func (m *ProxyArpIntfcEnableDisableReply) Reset()
type RPCService ¶
type RPCService interface { DumpProxyArp(ctx context.Context, in *ProxyArpDump) (RPCService_DumpProxyArpClient, error) DumpProxyArpIntfc(ctx context.Context, in *ProxyArpIntfcDump) (RPCService_DumpProxyArpIntfcClient, error) ProxyArpAddDel(ctx context.Context, in *ProxyArpAddDel) (*ProxyArpAddDelReply, error) ProxyArpIntfcEnableDisable(ctx context.Context, in *ProxyArpIntfcEnableDisable) (*ProxyArpIntfcEnableDisableReply, error) }
RPCService represents RPC service API for arp module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpProxyArpClient ¶
type RPCService_DumpProxyArpClient interface {
Recv() (*ProxyArpDetails, error)
}
type RPCService_DumpProxyArpIntfcClient ¶
type RPCService_DumpProxyArpIntfcClient interface {
Recv() (*ProxyArpIntfcDetails, error)
}
type RxMode ¶
type RxMode = interface_types.RxMode
type SubIfFlags ¶
type SubIfFlags = interface_types.SubIfFlags