Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var IPNeighborEventFlags_name = map[uint32]string + var IPNeighborEventFlags_value = map[string]uint32 + var IPNeighborFlags_name = map[uint8]string + var IPNeighborFlags_value = map[string]uint8 + func AllMessages() []api.Message + type IPNeighbor struct + Flags IPNeighborFlags + IPAddress ip_types.Address + MacAddress ethernet_types.MacAddress + SwIfIndex interface_types.InterfaceIndex + type IPNeighborAddDel struct + IsAdd bool + Neighbor IPNeighbor + 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 struct + Retval int32 + StatsIndex uint32 + 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 struct + Af ip_types.AddressFamily + MaxAge uint32 + MaxNumber uint32 + Recycle bool + 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 struct + Retval int32 + 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 struct + Age float64 + Neighbor IPNeighbor + 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 struct + Af ip_types.AddressFamily + SwIfIndex interface_types.InterfaceIndex + 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 struct + Neighbor IPNeighbor + PID uint32 + 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 IPNeighborEventFlags uint32 + const IP_NEIGHBOR_API_EVENT_FLAG_ADDED + const IP_NEIGHBOR_API_EVENT_FLAG_REMOVED + func (x IPNeighborEventFlags) String() string + type IPNeighborEventV2 struct + Flags IPNeighborEventFlags + Neighbor IPNeighbor + PID uint32 + func (*IPNeighborEventV2) GetCrcString() string + func (*IPNeighborEventV2) GetMessageName() string + func (*IPNeighborEventV2) GetMessageType() api.MessageType + func (m *IPNeighborEventV2) Marshal(b []byte) ([]byte, error) + func (m *IPNeighborEventV2) Reset() + func (m *IPNeighborEventV2) Size() (size int) + func (m *IPNeighborEventV2) Unmarshal(b []byte) error + type IPNeighborFlags uint8 + const IP_API_NEIGHBOR_FLAG_NONE + const IP_API_NEIGHBOR_FLAG_NO_FIB_ENTRY + const IP_API_NEIGHBOR_FLAG_STATIC + func (x IPNeighborFlags) String() string + type IPNeighborFlush struct + Af ip_types.AddressFamily + SwIfIndex interface_types.InterfaceIndex + 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 struct + Retval int32 + 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 struct + 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 struct + Retval int32 + 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 struct + 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 struct + Retval int32 + 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 interface + IPNeighborAddDel func(ctx context.Context, in *IPNeighborAddDel) (*IPNeighborAddDelReply, error) + IPNeighborConfig func(ctx context.Context, in *IPNeighborConfig) (*IPNeighborConfigReply, error) + IPNeighborDump func(ctx context.Context, in *IPNeighborDump) (RPCService_IPNeighborDumpClient, error) + IPNeighborFlush func(ctx context.Context, in *IPNeighborFlush) (*IPNeighborFlushReply, error) + IPNeighborReplaceBegin func(ctx context.Context, in *IPNeighborReplaceBegin) (*IPNeighborReplaceBeginReply, error) + IPNeighborReplaceEnd func(ctx context.Context, in *IPNeighborReplaceEnd) (*IPNeighborReplaceEndReply, error) + WantIPNeighborEvents func(ctx context.Context, in *WantIPNeighborEvents) (*WantIPNeighborEventsReply, error) + WantIPNeighborEventsV2 func(ctx context.Context, in *WantIPNeighborEventsV2) (*WantIPNeighborEventsV2Reply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_IPNeighborDumpClient interface + Recv func() (*IPNeighborDetails, error) + type WantIPNeighborEvents struct + Enable bool + IP ip_types.Address + PID uint32 + SwIfIndex interface_types.InterfaceIndex + 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 struct + Retval int32 + 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 + type WantIPNeighborEventsV2 struct + Enable bool + IP ip_types.Address + PID uint32 + SwIfIndex interface_types.InterfaceIndex + func (*WantIPNeighborEventsV2) GetCrcString() string + func (*WantIPNeighborEventsV2) GetMessageName() string + func (*WantIPNeighborEventsV2) GetMessageType() api.MessageType + func (m *WantIPNeighborEventsV2) Marshal(b []byte) ([]byte, error) + func (m *WantIPNeighborEventsV2) Reset() + func (m *WantIPNeighborEventsV2) Size() (size int) + func (m *WantIPNeighborEventsV2) Unmarshal(b []byte) error + type WantIPNeighborEventsV2Reply struct + Retval int32 + func (*WantIPNeighborEventsV2Reply) GetCrcString() string + func (*WantIPNeighborEventsV2Reply) GetMessageName() string + func (*WantIPNeighborEventsV2Reply) GetMessageType() api.MessageType + func (m *WantIPNeighborEventsV2Reply) Marshal(b []byte) ([]byte, error) + func (m *WantIPNeighborEventsV2Reply) Reset() + func (m *WantIPNeighborEventsV2Reply) Size() (size int) + func (m *WantIPNeighborEventsV2Reply) Unmarshal(b []byte) error