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 UrpfMode_name = map[uint8]string + var UrpfMode_value = map[string]uint8 + func AllMessages() []api.Message + type RPCService interface + UrpfInterfaceDump func(ctx context.Context, in *UrpfInterfaceDump) (RPCService_UrpfInterfaceDumpClient, error) + UrpfUpdate func(ctx context.Context, in *UrpfUpdate) (*UrpfUpdateReply, error) + UrpfUpdateV2 func(ctx context.Context, in *UrpfUpdateV2) (*UrpfUpdateV2Reply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_UrpfInterfaceDumpClient interface + Recv func() (*UrpfInterfaceDetails, error) + type UrpfInterfaceDetails struct + Af ip_types.AddressFamily + IsInput bool + Mode UrpfMode + SwIfIndex interface_types.InterfaceIndex + TableID uint32 + func (*UrpfInterfaceDetails) GetCrcString() string + func (*UrpfInterfaceDetails) GetMessageName() string + func (*UrpfInterfaceDetails) GetMessageType() api.MessageType + func (m *UrpfInterfaceDetails) Marshal(b []byte) ([]byte, error) + func (m *UrpfInterfaceDetails) Reset() + func (m *UrpfInterfaceDetails) Size() (size int) + func (m *UrpfInterfaceDetails) Unmarshal(b []byte) error + type UrpfInterfaceDump struct + SwIfIndex interface_types.InterfaceIndex + func (*UrpfInterfaceDump) GetCrcString() string + func (*UrpfInterfaceDump) GetMessageName() string + func (*UrpfInterfaceDump) GetMessageType() api.MessageType + func (m *UrpfInterfaceDump) Marshal(b []byte) ([]byte, error) + func (m *UrpfInterfaceDump) Reset() + func (m *UrpfInterfaceDump) Size() (size int) + func (m *UrpfInterfaceDump) Unmarshal(b []byte) error + type UrpfMode uint8 + const URPF_API_MODE_LOOSE + const URPF_API_MODE_OFF + const URPF_API_MODE_STRICT + func (x UrpfMode) String() string + type UrpfUpdate struct + Af ip_types.AddressFamily + IsInput bool + Mode UrpfMode + SwIfIndex interface_types.InterfaceIndex + func (*UrpfUpdate) GetCrcString() string + func (*UrpfUpdate) GetMessageName() string + func (*UrpfUpdate) GetMessageType() api.MessageType + func (m *UrpfUpdate) Marshal(b []byte) ([]byte, error) + func (m *UrpfUpdate) Reset() + func (m *UrpfUpdate) Size() (size int) + func (m *UrpfUpdate) Unmarshal(b []byte) error + type UrpfUpdateReply struct + Retval int32 + func (*UrpfUpdateReply) GetCrcString() string + func (*UrpfUpdateReply) GetMessageName() string + func (*UrpfUpdateReply) GetMessageType() api.MessageType + func (m *UrpfUpdateReply) Marshal(b []byte) ([]byte, error) + func (m *UrpfUpdateReply) Reset() + func (m *UrpfUpdateReply) Size() (size int) + func (m *UrpfUpdateReply) Unmarshal(b []byte) error + type UrpfUpdateV2 struct + Af ip_types.AddressFamily + IsInput bool + Mode UrpfMode + SwIfIndex interface_types.InterfaceIndex + TableID uint32 + func (*UrpfUpdateV2) GetCrcString() string + func (*UrpfUpdateV2) GetMessageName() string + func (*UrpfUpdateV2) GetMessageType() api.MessageType + func (m *UrpfUpdateV2) Marshal(b []byte) ([]byte, error) + func (m *UrpfUpdateV2) Reset() + func (m *UrpfUpdateV2) Size() (size int) + func (m *UrpfUpdateV2) Unmarshal(b []byte) error + type UrpfUpdateV2Reply struct + Retval int32 + func (*UrpfUpdateV2Reply) GetCrcString() string + func (*UrpfUpdateV2Reply) GetMessageName() string + func (*UrpfUpdateV2Reply) GetMessageType() api.MessageType + func (m *UrpfUpdateV2Reply) Marshal(b []byte) ([]byte, error) + func (m *UrpfUpdateV2Reply) Reset() + func (m *UrpfUpdateV2Reply) Size() (size int) + func (m *UrpfUpdateV2Reply) Unmarshal(b []byte) error