Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2024 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var VrrpVrFlags_name = map[uint32]string + var VrrpVrFlags_value = map[string]uint32 + var VrrpVrState_name = map[uint32]string + var VrrpVrState_value = map[string]uint32 + func AllMessages() []api.Message + type RPCService interface + VrrpVrAddDel func(ctx context.Context, in *VrrpVrAddDel) (*VrrpVrAddDelReply, error) + VrrpVrDel func(ctx context.Context, in *VrrpVrDel) (*VrrpVrDelReply, error) + VrrpVrDump func(ctx context.Context, in *VrrpVrDump) (RPCService_VrrpVrDumpClient, error) + VrrpVrPeerDump func(ctx context.Context, in *VrrpVrPeerDump) (RPCService_VrrpVrPeerDumpClient, error) + VrrpVrSetPeers func(ctx context.Context, in *VrrpVrSetPeers) (*VrrpVrSetPeersReply, error) + VrrpVrStartStop func(ctx context.Context, in *VrrpVrStartStop) (*VrrpVrStartStopReply, error) + VrrpVrTrackIfAddDel func(ctx context.Context, in *VrrpVrTrackIfAddDel) (*VrrpVrTrackIfAddDelReply, error) + VrrpVrTrackIfDump func(ctx context.Context, in *VrrpVrTrackIfDump) (RPCService_VrrpVrTrackIfDumpClient, error) + VrrpVrUpdate func(ctx context.Context, in *VrrpVrUpdate) (*VrrpVrUpdateReply, error) + WantVrrpVrEvents func(ctx context.Context, in *WantVrrpVrEvents) (*WantVrrpVrEventsReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_VrrpVrDumpClient interface + Recv func() (*VrrpVrDetails, error) + type RPCService_VrrpVrPeerDumpClient interface + Recv func() (*VrrpVrPeerDetails, error) + type RPCService_VrrpVrTrackIfDumpClient interface + Recv func() (*VrrpVrTrackIfDetails, error) + type VrrpVrAddDel struct + Addrs []ip_types.Address + Flags VrrpVrFlags + Interval uint16 + IsAdd uint8 + NAddrs uint8 + Priority uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + func (*VrrpVrAddDel) GetCrcString() string + func (*VrrpVrAddDel) GetMessageName() string + func (*VrrpVrAddDel) GetMessageType() api.MessageType + func (m *VrrpVrAddDel) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrAddDel) Reset() + func (m *VrrpVrAddDel) Size() (size int) + func (m *VrrpVrAddDel) Unmarshal(b []byte) error + type VrrpVrAddDelReply struct + Retval int32 + func (*VrrpVrAddDelReply) GetCrcString() string + func (*VrrpVrAddDelReply) GetMessageName() string + func (*VrrpVrAddDelReply) GetMessageType() api.MessageType + func (m *VrrpVrAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrAddDelReply) Reset() + func (m *VrrpVrAddDelReply) Size() (size int) + func (m *VrrpVrAddDelReply) Unmarshal(b []byte) error + type VrrpVrConf struct + Flags VrrpVrFlags + Interval uint16 + Priority uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + type VrrpVrDel struct + VrrpIndex uint32 + func (*VrrpVrDel) GetCrcString() string + func (*VrrpVrDel) GetMessageName() string + func (*VrrpVrDel) GetMessageType() api.MessageType + func (m *VrrpVrDel) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrDel) Reset() + func (m *VrrpVrDel) Size() (size int) + func (m *VrrpVrDel) Unmarshal(b []byte) error + type VrrpVrDelReply struct + Retval int32 + func (*VrrpVrDelReply) GetCrcString() string + func (*VrrpVrDelReply) GetMessageName() string + func (*VrrpVrDelReply) GetMessageType() api.MessageType + func (m *VrrpVrDelReply) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrDelReply) Reset() + func (m *VrrpVrDelReply) Size() (size int) + func (m *VrrpVrDelReply) Unmarshal(b []byte) error + type VrrpVrDetails struct + Addrs []ip_types.Address + Config VrrpVrConf + NAddrs uint8 + Runtime VrrpVrRuntime + func (*VrrpVrDetails) GetCrcString() string + func (*VrrpVrDetails) GetMessageName() string + func (*VrrpVrDetails) GetMessageType() api.MessageType + func (m *VrrpVrDetails) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrDetails) Reset() + func (m *VrrpVrDetails) Size() (size int) + func (m *VrrpVrDetails) Unmarshal(b []byte) error + type VrrpVrDump struct + SwIfIndex interface_types.InterfaceIndex + func (*VrrpVrDump) GetCrcString() string + func (*VrrpVrDump) GetMessageName() string + func (*VrrpVrDump) GetMessageType() api.MessageType + func (m *VrrpVrDump) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrDump) Reset() + func (m *VrrpVrDump) Size() (size int) + func (m *VrrpVrDump) Unmarshal(b []byte) error + type VrrpVrEvent struct + NewState VrrpVrState + OldState VrrpVrState + PID uint32 + Vr VrrpVrKey + func (*VrrpVrEvent) GetCrcString() string + func (*VrrpVrEvent) GetMessageName() string + func (*VrrpVrEvent) GetMessageType() api.MessageType + func (m *VrrpVrEvent) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrEvent) Reset() + func (m *VrrpVrEvent) Size() (size int) + func (m *VrrpVrEvent) Unmarshal(b []byte) error + type VrrpVrFlags uint32 + const VRRP_API_VR_ACCEPT + const VRRP_API_VR_IPV6 + const VRRP_API_VR_PREEMPT + const VRRP_API_VR_UNICAST + func (x VrrpVrFlags) String() string + type VrrpVrKey struct + IsIPv6 uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + type VrrpVrPeerDetails struct + IsIPv6 uint8 + NPeerAddrs uint8 + PeerAddrs []ip_types.Address + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + func (*VrrpVrPeerDetails) GetCrcString() string + func (*VrrpVrPeerDetails) GetMessageName() string + func (*VrrpVrPeerDetails) GetMessageType() api.MessageType + func (m *VrrpVrPeerDetails) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrPeerDetails) Reset() + func (m *VrrpVrPeerDetails) Size() (size int) + func (m *VrrpVrPeerDetails) Unmarshal(b []byte) error + type VrrpVrPeerDump struct + IsIPv6 uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + func (*VrrpVrPeerDump) GetCrcString() string + func (*VrrpVrPeerDump) GetMessageName() string + func (*VrrpVrPeerDump) GetMessageType() api.MessageType + func (m *VrrpVrPeerDump) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrPeerDump) Reset() + func (m *VrrpVrPeerDump) Size() (size int) + func (m *VrrpVrPeerDump) Unmarshal(b []byte) error + type VrrpVrRuntime struct + Mac ethernet_types.MacAddress + MasterAdvInt uint16 + MasterDownInt uint16 + Skew uint16 + State VrrpVrState + Tracking VrrpVrTracking + type VrrpVrSetPeers struct + Addrs []ip_types.Address + IsIPv6 uint8 + NAddrs uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + func (*VrrpVrSetPeers) GetCrcString() string + func (*VrrpVrSetPeers) GetMessageName() string + func (*VrrpVrSetPeers) GetMessageType() api.MessageType + func (m *VrrpVrSetPeers) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrSetPeers) Reset() + func (m *VrrpVrSetPeers) Size() (size int) + func (m *VrrpVrSetPeers) Unmarshal(b []byte) error + type VrrpVrSetPeersReply struct + Retval int32 + func (*VrrpVrSetPeersReply) GetCrcString() string + func (*VrrpVrSetPeersReply) GetMessageName() string + func (*VrrpVrSetPeersReply) GetMessageType() api.MessageType + func (m *VrrpVrSetPeersReply) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrSetPeersReply) Reset() + func (m *VrrpVrSetPeersReply) Size() (size int) + func (m *VrrpVrSetPeersReply) Unmarshal(b []byte) error + type VrrpVrStartStop struct + IsIPv6 uint8 + IsStart uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + func (*VrrpVrStartStop) GetCrcString() string + func (*VrrpVrStartStop) GetMessageName() string + func (*VrrpVrStartStop) GetMessageType() api.MessageType + func (m *VrrpVrStartStop) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrStartStop) Reset() + func (m *VrrpVrStartStop) Size() (size int) + func (m *VrrpVrStartStop) Unmarshal(b []byte) error + type VrrpVrStartStopReply struct + Retval int32 + func (*VrrpVrStartStopReply) GetCrcString() string + func (*VrrpVrStartStopReply) GetMessageName() string + func (*VrrpVrStartStopReply) GetMessageType() api.MessageType + func (m *VrrpVrStartStopReply) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrStartStopReply) Reset() + func (m *VrrpVrStartStopReply) Size() (size int) + func (m *VrrpVrStartStopReply) Unmarshal(b []byte) error + type VrrpVrState uint32 + const VRRP_API_VR_STATE_BACKUP + const VRRP_API_VR_STATE_INIT + const VRRP_API_VR_STATE_INTF_DOWN + const VRRP_API_VR_STATE_MASTER + func (x VrrpVrState) String() string + type VrrpVrTrackIf struct + Priority uint8 + SwIfIndex interface_types.InterfaceIndex + type VrrpVrTrackIfAddDel struct + Ifs []VrrpVrTrackIf + IsAdd uint8 + IsIPv6 uint8 + NIfs uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + func (*VrrpVrTrackIfAddDel) GetCrcString() string + func (*VrrpVrTrackIfAddDel) GetMessageName() string + func (*VrrpVrTrackIfAddDel) GetMessageType() api.MessageType + func (m *VrrpVrTrackIfAddDel) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrTrackIfAddDel) Reset() + func (m *VrrpVrTrackIfAddDel) Size() (size int) + func (m *VrrpVrTrackIfAddDel) Unmarshal(b []byte) error + type VrrpVrTrackIfAddDelReply struct + Retval int32 + func (*VrrpVrTrackIfAddDelReply) GetCrcString() string + func (*VrrpVrTrackIfAddDelReply) GetMessageName() string + func (*VrrpVrTrackIfAddDelReply) GetMessageType() api.MessageType + func (m *VrrpVrTrackIfAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrTrackIfAddDelReply) Reset() + func (m *VrrpVrTrackIfAddDelReply) Size() (size int) + func (m *VrrpVrTrackIfAddDelReply) Unmarshal(b []byte) error + type VrrpVrTrackIfDetails struct + Ifs []VrrpVrTrackIf + IsIPv6 uint8 + NIfs uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + func (*VrrpVrTrackIfDetails) GetCrcString() string + func (*VrrpVrTrackIfDetails) GetMessageName() string + func (*VrrpVrTrackIfDetails) GetMessageType() api.MessageType + func (m *VrrpVrTrackIfDetails) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrTrackIfDetails) Reset() + func (m *VrrpVrTrackIfDetails) Size() (size int) + func (m *VrrpVrTrackIfDetails) Unmarshal(b []byte) error + type VrrpVrTrackIfDump struct + DumpAll uint8 + IsIPv6 uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + func (*VrrpVrTrackIfDump) GetCrcString() string + func (*VrrpVrTrackIfDump) GetMessageName() string + func (*VrrpVrTrackIfDump) GetMessageType() api.MessageType + func (m *VrrpVrTrackIfDump) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrTrackIfDump) Reset() + func (m *VrrpVrTrackIfDump) Size() (size int) + func (m *VrrpVrTrackIfDump) Unmarshal(b []byte) error + type VrrpVrTracking struct + InterfacesDec uint32 + Priority uint8 + type VrrpVrUpdate struct + Addrs []ip_types.Address + Flags VrrpVrFlags + Interval uint16 + NAddrs uint8 + Priority uint8 + SwIfIndex interface_types.InterfaceIndex + VrID uint8 + VrrpIndex uint32 + func (*VrrpVrUpdate) GetCrcString() string + func (*VrrpVrUpdate) GetMessageName() string + func (*VrrpVrUpdate) GetMessageType() api.MessageType + func (m *VrrpVrUpdate) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrUpdate) Reset() + func (m *VrrpVrUpdate) Size() (size int) + func (m *VrrpVrUpdate) Unmarshal(b []byte) error + type VrrpVrUpdateReply struct + Retval int32 + VrrpIndex uint32 + func (*VrrpVrUpdateReply) GetCrcString() string + func (*VrrpVrUpdateReply) GetMessageName() string + func (*VrrpVrUpdateReply) GetMessageType() api.MessageType + func (m *VrrpVrUpdateReply) Marshal(b []byte) ([]byte, error) + func (m *VrrpVrUpdateReply) Reset() + func (m *VrrpVrUpdateReply) Size() (size int) + func (m *VrrpVrUpdateReply) Unmarshal(b []byte) error + type WantVrrpVrEvents struct + EnableDisable bool + PID uint32 + func (*WantVrrpVrEvents) GetCrcString() string + func (*WantVrrpVrEvents) GetMessageName() string + func (*WantVrrpVrEvents) GetMessageType() api.MessageType + func (m *WantVrrpVrEvents) Marshal(b []byte) ([]byte, error) + func (m *WantVrrpVrEvents) Reset() + func (m *WantVrrpVrEvents) Size() (size int) + func (m *WantVrrpVrEvents) Unmarshal(b []byte) error + type WantVrrpVrEventsReply struct + Retval int32 + func (*WantVrrpVrEventsReply) GetCrcString() string + func (*WantVrrpVrEventsReply) GetMessageName() string + func (*WantVrrpVrEventsReply) GetMessageType() api.MessageType + func (m *WantVrrpVrEventsReply) Marshal(b []byte) ([]byte, error) + func (m *WantVrrpVrEventsReply) Reset() + func (m *WantVrrpVrEventsReply) Size() (size int) + func (m *WantVrrpVrEventsReply) Unmarshal(b []byte) error