Documentation ¶
Overview ¶
Package ip_neighbor contains generated bindings for API file ip_neighbor.api.
Contents:
1 enum 1 struct 15 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type IPNeighbor
- type IPNeighborAddDel
- func (*IPNeighborAddDel) GetCrcString() string
- func (*IPNeighborAddDel) GetMessageName() string
- func (*IPNeighborAddDel) GetMessageType() api.MessageType
- func (m *IPNeighborAddDel) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborAddDel) Reset()
- func (m *IPNeighborAddDel) Size() (size int)
- func (m *IPNeighborAddDel) Unmarshal(b []byte) error
- type IPNeighborAddDelReply
- func (*IPNeighborAddDelReply) GetCrcString() string
- func (*IPNeighborAddDelReply) GetMessageName() string
- func (*IPNeighborAddDelReply) GetMessageType() api.MessageType
- func (m *IPNeighborAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborAddDelReply) Reset()
- func (m *IPNeighborAddDelReply) Size() (size int)
- func (m *IPNeighborAddDelReply) Unmarshal(b []byte) error
- type IPNeighborConfig
- func (*IPNeighborConfig) GetCrcString() string
- func (*IPNeighborConfig) GetMessageName() string
- func (*IPNeighborConfig) GetMessageType() api.MessageType
- func (m *IPNeighborConfig) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborConfig) Reset()
- func (m *IPNeighborConfig) Size() (size int)
- func (m *IPNeighborConfig) Unmarshal(b []byte) error
- type IPNeighborConfigReply
- func (*IPNeighborConfigReply) GetCrcString() string
- func (*IPNeighborConfigReply) GetMessageName() string
- func (*IPNeighborConfigReply) GetMessageType() api.MessageType
- func (m *IPNeighborConfigReply) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborConfigReply) Reset()
- func (m *IPNeighborConfigReply) Size() (size int)
- func (m *IPNeighborConfigReply) Unmarshal(b []byte) error
- type IPNeighborDetails
- func (*IPNeighborDetails) GetCrcString() string
- func (*IPNeighborDetails) GetMessageName() string
- func (*IPNeighborDetails) GetMessageType() api.MessageType
- func (m *IPNeighborDetails) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborDetails) Reset()
- func (m *IPNeighborDetails) Size() (size int)
- func (m *IPNeighborDetails) Unmarshal(b []byte) error
- type IPNeighborDump
- func (*IPNeighborDump) GetCrcString() string
- func (*IPNeighborDump) GetMessageName() string
- func (*IPNeighborDump) GetMessageType() api.MessageType
- func (m *IPNeighborDump) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborDump) Reset()
- func (m *IPNeighborDump) Size() (size int)
- func (m *IPNeighborDump) Unmarshal(b []byte) error
- type IPNeighborEvent
- func (*IPNeighborEvent) GetCrcString() string
- func (*IPNeighborEvent) GetMessageName() string
- func (*IPNeighborEvent) GetMessageType() api.MessageType
- func (m *IPNeighborEvent) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborEvent) Reset()
- func (m *IPNeighborEvent) Size() (size int)
- func (m *IPNeighborEvent) Unmarshal(b []byte) error
- type IPNeighborFlags
- type IPNeighborFlush
- func (*IPNeighborFlush) GetCrcString() string
- func (*IPNeighborFlush) GetMessageName() string
- func (*IPNeighborFlush) GetMessageType() api.MessageType
- func (m *IPNeighborFlush) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborFlush) Reset()
- func (m *IPNeighborFlush) Size() (size int)
- func (m *IPNeighborFlush) Unmarshal(b []byte) error
- type IPNeighborFlushReply
- func (*IPNeighborFlushReply) GetCrcString() string
- func (*IPNeighborFlushReply) GetMessageName() string
- func (*IPNeighborFlushReply) GetMessageType() api.MessageType
- func (m *IPNeighborFlushReply) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborFlushReply) Reset()
- func (m *IPNeighborFlushReply) Size() (size int)
- func (m *IPNeighborFlushReply) Unmarshal(b []byte) error
- type IPNeighborReplaceBegin
- func (*IPNeighborReplaceBegin) GetCrcString() string
- func (*IPNeighborReplaceBegin) GetMessageName() string
- func (*IPNeighborReplaceBegin) GetMessageType() api.MessageType
- func (m *IPNeighborReplaceBegin) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborReplaceBegin) Reset()
- func (m *IPNeighborReplaceBegin) Size() (size int)
- func (m *IPNeighborReplaceBegin) Unmarshal(b []byte) error
- type IPNeighborReplaceBeginReply
- func (*IPNeighborReplaceBeginReply) GetCrcString() string
- func (*IPNeighborReplaceBeginReply) GetMessageName() string
- func (*IPNeighborReplaceBeginReply) GetMessageType() api.MessageType
- func (m *IPNeighborReplaceBeginReply) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborReplaceBeginReply) Reset()
- func (m *IPNeighborReplaceBeginReply) Size() (size int)
- func (m *IPNeighborReplaceBeginReply) Unmarshal(b []byte) error
- type IPNeighborReplaceEnd
- func (*IPNeighborReplaceEnd) GetCrcString() string
- func (*IPNeighborReplaceEnd) GetMessageName() string
- func (*IPNeighborReplaceEnd) GetMessageType() api.MessageType
- func (m *IPNeighborReplaceEnd) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborReplaceEnd) Reset()
- func (m *IPNeighborReplaceEnd) Size() (size int)
- func (m *IPNeighborReplaceEnd) Unmarshal(b []byte) error
- type IPNeighborReplaceEndReply
- func (*IPNeighborReplaceEndReply) GetCrcString() string
- func (*IPNeighborReplaceEndReply) GetMessageName() string
- func (*IPNeighborReplaceEndReply) GetMessageType() api.MessageType
- func (m *IPNeighborReplaceEndReply) Marshal(b []byte) ([]byte, error)
- func (m *IPNeighborReplaceEndReply) Reset()
- func (m *IPNeighborReplaceEndReply) Size() (size int)
- func (m *IPNeighborReplaceEndReply) Unmarshal(b []byte) error
- type RPCService
- type RPCService_IPNeighborDumpClient
- type WantIPNeighborEvents
- func (*WantIPNeighborEvents) GetCrcString() string
- func (*WantIPNeighborEvents) GetMessageName() string
- func (*WantIPNeighborEvents) GetMessageType() api.MessageType
- func (m *WantIPNeighborEvents) Marshal(b []byte) ([]byte, error)
- func (m *WantIPNeighborEvents) Reset()
- func (m *WantIPNeighborEvents) Size() (size int)
- func (m *WantIPNeighborEvents) Unmarshal(b []byte) error
- type WantIPNeighborEventsReply
- func (*WantIPNeighborEventsReply) GetCrcString() string
- func (*WantIPNeighborEventsReply) GetMessageName() string
- func (*WantIPNeighborEventsReply) GetMessageType() api.MessageType
- func (m *WantIPNeighborEventsReply) Marshal(b []byte) ([]byte, error)
- func (m *WantIPNeighborEventsReply) Reset()
- func (m *WantIPNeighborEventsReply) Size() (size int)
- func (m *WantIPNeighborEventsReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "ip_neighbor" APIVersion = "1.0.0" VersionCrc = 0x412b25da )
Variables ¶
var ( IPNeighborFlags_name = map[uint8]string{ 0: "IP_API_NEIGHBOR_FLAG_NONE", 1: "IP_API_NEIGHBOR_FLAG_STATIC", 2: "IP_API_NEIGHBOR_FLAG_NO_FIB_ENTRY", } IPNeighborFlags_value = map[string]uint8{ "IP_API_NEIGHBOR_FLAG_NONE": 0, "IP_API_NEIGHBOR_FLAG_STATIC": 1, "IP_API_NEIGHBOR_FLAG_NO_FIB_ENTRY": 2, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type IPNeighbor ¶
type IPNeighbor struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Flags IPNeighborFlags `binapi:"ip_neighbor_flags,name=flags" json:"flags,omitempty"` MacAddress ethernet_types.MacAddress `binapi:"mac_address,name=mac_address" json:"mac_address,omitempty"` IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"` }
IPNeighbor defines type 'ip_neighbor'.
type IPNeighborAddDel ¶
type IPNeighborAddDel struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` Neighbor IPNeighbor `binapi:"ip_neighbor,name=neighbor" json:"neighbor,omitempty"` }
IPNeighborAddDel defines message 'ip_neighbor_add_del'.
func (*IPNeighborAddDel) GetCrcString ¶
func (*IPNeighborAddDel) GetCrcString() string
func (*IPNeighborAddDel) GetMessageName ¶
func (*IPNeighborAddDel) GetMessageName() string
func (*IPNeighborAddDel) GetMessageType ¶
func (*IPNeighborAddDel) GetMessageType() api.MessageType
func (*IPNeighborAddDel) Reset ¶
func (m *IPNeighborAddDel) Reset()
func (*IPNeighborAddDel) Size ¶
func (m *IPNeighborAddDel) Size() (size int)
func (*IPNeighborAddDel) Unmarshal ¶
func (m *IPNeighborAddDel) Unmarshal(b []byte) error
type IPNeighborAddDelReply ¶
type IPNeighborAddDelReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` StatsIndex uint32 `binapi:"u32,name=stats_index" json:"stats_index,omitempty"` }
IPNeighborAddDelReply defines message 'ip_neighbor_add_del_reply'.
func (*IPNeighborAddDelReply) GetCrcString ¶
func (*IPNeighborAddDelReply) GetCrcString() string
func (*IPNeighborAddDelReply) GetMessageName ¶
func (*IPNeighborAddDelReply) GetMessageName() string
func (*IPNeighborAddDelReply) GetMessageType ¶
func (*IPNeighborAddDelReply) GetMessageType() api.MessageType
func (*IPNeighborAddDelReply) Marshal ¶
func (m *IPNeighborAddDelReply) Marshal(b []byte) ([]byte, error)
func (*IPNeighborAddDelReply) Reset ¶
func (m *IPNeighborAddDelReply) Reset()
func (*IPNeighborAddDelReply) Size ¶
func (m *IPNeighborAddDelReply) Size() (size int)
func (*IPNeighborAddDelReply) Unmarshal ¶
func (m *IPNeighborAddDelReply) Unmarshal(b []byte) error
type IPNeighborConfig ¶
type IPNeighborConfig struct { Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` MaxNumber uint32 `binapi:"u32,name=max_number" json:"max_number,omitempty"` MaxAge uint32 `binapi:"u32,name=max_age" json:"max_age,omitempty"` Recycle bool `binapi:"bool,name=recycle" json:"recycle,omitempty"` }
IPNeighborConfig defines message 'ip_neighbor_config'.
func (*IPNeighborConfig) GetCrcString ¶
func (*IPNeighborConfig) GetCrcString() string
func (*IPNeighborConfig) GetMessageName ¶
func (*IPNeighborConfig) GetMessageName() string
func (*IPNeighborConfig) GetMessageType ¶
func (*IPNeighborConfig) GetMessageType() api.MessageType
func (*IPNeighborConfig) Reset ¶
func (m *IPNeighborConfig) Reset()
func (*IPNeighborConfig) Size ¶
func (m *IPNeighborConfig) Size() (size int)
func (*IPNeighborConfig) Unmarshal ¶
func (m *IPNeighborConfig) Unmarshal(b []byte) error
type IPNeighborConfigReply ¶
type IPNeighborConfigReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPNeighborConfigReply defines message 'ip_neighbor_config_reply'.
func (*IPNeighborConfigReply) GetCrcString ¶
func (*IPNeighborConfigReply) GetCrcString() string
func (*IPNeighborConfigReply) GetMessageName ¶
func (*IPNeighborConfigReply) GetMessageName() string
func (*IPNeighborConfigReply) GetMessageType ¶
func (*IPNeighborConfigReply) GetMessageType() api.MessageType
func (*IPNeighborConfigReply) Marshal ¶
func (m *IPNeighborConfigReply) Marshal(b []byte) ([]byte, error)
func (*IPNeighborConfigReply) Reset ¶
func (m *IPNeighborConfigReply) Reset()
func (*IPNeighborConfigReply) Size ¶
func (m *IPNeighborConfigReply) Size() (size int)
func (*IPNeighborConfigReply) Unmarshal ¶
func (m *IPNeighborConfigReply) Unmarshal(b []byte) error
type IPNeighborDetails ¶
type IPNeighborDetails struct { Age float64 `binapi:"f64,name=age" json:"age,omitempty"` Neighbor IPNeighbor `binapi:"ip_neighbor,name=neighbor" json:"neighbor,omitempty"` }
IPNeighborDetails defines message 'ip_neighbor_details'.
func (*IPNeighborDetails) GetCrcString ¶
func (*IPNeighborDetails) GetCrcString() string
func (*IPNeighborDetails) GetMessageName ¶
func (*IPNeighborDetails) GetMessageName() string
func (*IPNeighborDetails) GetMessageType ¶
func (*IPNeighborDetails) GetMessageType() api.MessageType
func (*IPNeighborDetails) Reset ¶
func (m *IPNeighborDetails) Reset()
func (*IPNeighborDetails) Size ¶
func (m *IPNeighborDetails) Size() (size int)
func (*IPNeighborDetails) Unmarshal ¶
func (m *IPNeighborDetails) Unmarshal(b []byte) error
type IPNeighborDump ¶
type IPNeighborDump struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,omitempty"` Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` }
IPNeighborDump defines message 'ip_neighbor_dump'.
func (*IPNeighborDump) GetCrcString ¶
func (*IPNeighborDump) GetCrcString() string
func (*IPNeighborDump) GetMessageName ¶
func (*IPNeighborDump) GetMessageName() string
func (*IPNeighborDump) GetMessageType ¶
func (*IPNeighborDump) GetMessageType() api.MessageType
func (*IPNeighborDump) Reset ¶
func (m *IPNeighborDump) Reset()
func (*IPNeighborDump) Size ¶
func (m *IPNeighborDump) Size() (size int)
func (*IPNeighborDump) Unmarshal ¶
func (m *IPNeighborDump) Unmarshal(b []byte) error
type IPNeighborEvent ¶
type IPNeighborEvent struct { PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` Neighbor IPNeighbor `binapi:"ip_neighbor,name=neighbor" json:"neighbor,omitempty"` }
IPNeighborEvent defines message 'ip_neighbor_event'.
func (*IPNeighborEvent) GetCrcString ¶
func (*IPNeighborEvent) GetCrcString() string
func (*IPNeighborEvent) GetMessageName ¶
func (*IPNeighborEvent) GetMessageName() string
func (*IPNeighborEvent) GetMessageType ¶
func (*IPNeighborEvent) GetMessageType() api.MessageType
func (*IPNeighborEvent) Reset ¶
func (m *IPNeighborEvent) Reset()
func (*IPNeighborEvent) Size ¶
func (m *IPNeighborEvent) Size() (size int)
func (*IPNeighborEvent) Unmarshal ¶
func (m *IPNeighborEvent) Unmarshal(b []byte) error
type IPNeighborFlags ¶
type IPNeighborFlags uint8
IPNeighborFlags defines enum 'ip_neighbor_flags'.
const ( IP_API_NEIGHBOR_FLAG_NONE IPNeighborFlags = 0 IP_API_NEIGHBOR_FLAG_STATIC IPNeighborFlags = 1 IP_API_NEIGHBOR_FLAG_NO_FIB_ENTRY IPNeighborFlags = 2 )
func (IPNeighborFlags) String ¶
func (x IPNeighborFlags) String() string
type IPNeighborFlush ¶
type IPNeighborFlush struct { Af ip_types.AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,omitempty"` }
IPNeighborFlush defines message 'ip_neighbor_flush'.
func (*IPNeighborFlush) GetCrcString ¶
func (*IPNeighborFlush) GetCrcString() string
func (*IPNeighborFlush) GetMessageName ¶
func (*IPNeighborFlush) GetMessageName() string
func (*IPNeighborFlush) GetMessageType ¶
func (*IPNeighborFlush) GetMessageType() api.MessageType
func (*IPNeighborFlush) Reset ¶
func (m *IPNeighborFlush) Reset()
func (*IPNeighborFlush) Size ¶
func (m *IPNeighborFlush) Size() (size int)
func (*IPNeighborFlush) Unmarshal ¶
func (m *IPNeighborFlush) Unmarshal(b []byte) error
type IPNeighborFlushReply ¶
type IPNeighborFlushReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPNeighborFlushReply defines message 'ip_neighbor_flush_reply'.
func (*IPNeighborFlushReply) GetCrcString ¶
func (*IPNeighborFlushReply) GetCrcString() string
func (*IPNeighborFlushReply) GetMessageName ¶
func (*IPNeighborFlushReply) GetMessageName() string
func (*IPNeighborFlushReply) GetMessageType ¶
func (*IPNeighborFlushReply) GetMessageType() api.MessageType
func (*IPNeighborFlushReply) Marshal ¶
func (m *IPNeighborFlushReply) Marshal(b []byte) ([]byte, error)
func (*IPNeighborFlushReply) Reset ¶
func (m *IPNeighborFlushReply) Reset()
func (*IPNeighborFlushReply) Size ¶
func (m *IPNeighborFlushReply) Size() (size int)
func (*IPNeighborFlushReply) Unmarshal ¶
func (m *IPNeighborFlushReply) Unmarshal(b []byte) error
type IPNeighborReplaceBegin ¶
type IPNeighborReplaceBegin struct{}
IPNeighborReplaceBegin defines message 'ip_neighbor_replace_begin'.
func (*IPNeighborReplaceBegin) GetCrcString ¶
func (*IPNeighborReplaceBegin) GetCrcString() string
func (*IPNeighborReplaceBegin) GetMessageName ¶
func (*IPNeighborReplaceBegin) GetMessageName() string
func (*IPNeighborReplaceBegin) GetMessageType ¶
func (*IPNeighborReplaceBegin) GetMessageType() api.MessageType
func (*IPNeighborReplaceBegin) Marshal ¶
func (m *IPNeighborReplaceBegin) Marshal(b []byte) ([]byte, error)
func (*IPNeighborReplaceBegin) Reset ¶
func (m *IPNeighborReplaceBegin) Reset()
func (*IPNeighborReplaceBegin) Size ¶
func (m *IPNeighborReplaceBegin) Size() (size int)
func (*IPNeighborReplaceBegin) Unmarshal ¶
func (m *IPNeighborReplaceBegin) Unmarshal(b []byte) error
type IPNeighborReplaceBeginReply ¶
type IPNeighborReplaceBeginReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPNeighborReplaceBeginReply defines message 'ip_neighbor_replace_begin_reply'.
func (*IPNeighborReplaceBeginReply) GetCrcString ¶
func (*IPNeighborReplaceBeginReply) GetCrcString() string
func (*IPNeighborReplaceBeginReply) GetMessageName ¶
func (*IPNeighborReplaceBeginReply) GetMessageName() string
func (*IPNeighborReplaceBeginReply) GetMessageType ¶
func (*IPNeighborReplaceBeginReply) GetMessageType() api.MessageType
func (*IPNeighborReplaceBeginReply) Marshal ¶
func (m *IPNeighborReplaceBeginReply) Marshal(b []byte) ([]byte, error)
func (*IPNeighborReplaceBeginReply) Reset ¶
func (m *IPNeighborReplaceBeginReply) Reset()
func (*IPNeighborReplaceBeginReply) Size ¶
func (m *IPNeighborReplaceBeginReply) Size() (size int)
func (*IPNeighborReplaceBeginReply) Unmarshal ¶
func (m *IPNeighborReplaceBeginReply) Unmarshal(b []byte) error
type IPNeighborReplaceEnd ¶
type IPNeighborReplaceEnd struct{}
IPNeighborReplaceEnd defines message 'ip_neighbor_replace_end'.
func (*IPNeighborReplaceEnd) GetCrcString ¶
func (*IPNeighborReplaceEnd) GetCrcString() string
func (*IPNeighborReplaceEnd) GetMessageName ¶
func (*IPNeighborReplaceEnd) GetMessageName() string
func (*IPNeighborReplaceEnd) GetMessageType ¶
func (*IPNeighborReplaceEnd) GetMessageType() api.MessageType
func (*IPNeighborReplaceEnd) Marshal ¶
func (m *IPNeighborReplaceEnd) Marshal(b []byte) ([]byte, error)
func (*IPNeighborReplaceEnd) Reset ¶
func (m *IPNeighborReplaceEnd) Reset()
func (*IPNeighborReplaceEnd) Size ¶
func (m *IPNeighborReplaceEnd) Size() (size int)
func (*IPNeighborReplaceEnd) Unmarshal ¶
func (m *IPNeighborReplaceEnd) Unmarshal(b []byte) error
type IPNeighborReplaceEndReply ¶
type IPNeighborReplaceEndReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
IPNeighborReplaceEndReply defines message 'ip_neighbor_replace_end_reply'.
func (*IPNeighborReplaceEndReply) GetCrcString ¶
func (*IPNeighborReplaceEndReply) GetCrcString() string
func (*IPNeighborReplaceEndReply) GetMessageName ¶
func (*IPNeighborReplaceEndReply) GetMessageName() string
func (*IPNeighborReplaceEndReply) GetMessageType ¶
func (*IPNeighborReplaceEndReply) GetMessageType() api.MessageType
func (*IPNeighborReplaceEndReply) Marshal ¶
func (m *IPNeighborReplaceEndReply) Marshal(b []byte) ([]byte, error)
func (*IPNeighborReplaceEndReply) Reset ¶
func (m *IPNeighborReplaceEndReply) Reset()
func (*IPNeighborReplaceEndReply) Size ¶
func (m *IPNeighborReplaceEndReply) Size() (size int)
func (*IPNeighborReplaceEndReply) Unmarshal ¶
func (m *IPNeighborReplaceEndReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { IPNeighborAddDel(ctx context.Context, in *IPNeighborAddDel) (*IPNeighborAddDelReply, error) IPNeighborConfig(ctx context.Context, in *IPNeighborConfig) (*IPNeighborConfigReply, error) IPNeighborDump(ctx context.Context, in *IPNeighborDump) (RPCService_IPNeighborDumpClient, error) IPNeighborFlush(ctx context.Context, in *IPNeighborFlush) (*IPNeighborFlushReply, error) IPNeighborReplaceBegin(ctx context.Context, in *IPNeighborReplaceBegin) (*IPNeighborReplaceBeginReply, error) IPNeighborReplaceEnd(ctx context.Context, in *IPNeighborReplaceEnd) (*IPNeighborReplaceEndReply, error) WantIPNeighborEvents(ctx context.Context, in *WantIPNeighborEvents) (*WantIPNeighborEventsReply, error) }
RPCService defines RPC service ip_neighbor.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_IPNeighborDumpClient ¶
type RPCService_IPNeighborDumpClient interface { Recv() (*IPNeighborDetails, error) api.Stream }
type WantIPNeighborEvents ¶
type WantIPNeighborEvents struct { Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` IP ip_types.Address `binapi:"address,name=ip" json:"ip,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,omitempty"` }
WantIPNeighborEvents defines message 'want_ip_neighbor_events'.
func (*WantIPNeighborEvents) GetCrcString ¶
func (*WantIPNeighborEvents) GetCrcString() string
func (*WantIPNeighborEvents) GetMessageName ¶
func (*WantIPNeighborEvents) GetMessageName() string
func (*WantIPNeighborEvents) GetMessageType ¶
func (*WantIPNeighborEvents) GetMessageType() api.MessageType
func (*WantIPNeighborEvents) Marshal ¶
func (m *WantIPNeighborEvents) Marshal(b []byte) ([]byte, error)
func (*WantIPNeighborEvents) Reset ¶
func (m *WantIPNeighborEvents) Reset()
func (*WantIPNeighborEvents) Size ¶
func (m *WantIPNeighborEvents) Size() (size int)
func (*WantIPNeighborEvents) Unmarshal ¶
func (m *WantIPNeighborEvents) Unmarshal(b []byte) error
type WantIPNeighborEventsReply ¶
type WantIPNeighborEventsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantIPNeighborEventsReply defines message 'want_ip_neighbor_events_reply'.
func (*WantIPNeighborEventsReply) GetCrcString ¶
func (*WantIPNeighborEventsReply) GetCrcString() string
func (*WantIPNeighborEventsReply) GetMessageName ¶
func (*WantIPNeighborEventsReply) GetMessageName() string
func (*WantIPNeighborEventsReply) GetMessageType ¶
func (*WantIPNeighborEventsReply) GetMessageType() api.MessageType
func (*WantIPNeighborEventsReply) Marshal ¶
func (m *WantIPNeighborEventsReply) Marshal(b []byte) ([]byte, error)
func (*WantIPNeighborEventsReply) Reset ¶
func (m *WantIPNeighborEventsReply) Reset()
func (*WantIPNeighborEventsReply) Size ¶
func (m *WantIPNeighborEventsReply) Size() (size int)
func (*WantIPNeighborEventsReply) Unmarshal ¶
func (m *WantIPNeighborEventsReply) Unmarshal(b []byte) error