Documentation ¶
Overview ¶
Package stn is a generated VPP binary API for 'stn' module.
It consists of:
10 enums 6 aliases 6 types 1 union 4 messages 2 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 Mprefix
- type MtuProto
- type Prefix
- type PrefixMatcher
- type RPCService
- type RPCService_DumpStnRulesClient
- type RxMode
- type StnAddDelRule
- type StnAddDelRuleReply
- type StnRulesDetails
- type StnRulesDump
- type SubIfFlags
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "stn" // APIVersion is the API version of this module. APIVersion = "2.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0x619d8f3 )
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 MtuProto ¶
type MtuProto = interface_types.MtuProto
type PrefixMatcher ¶
type PrefixMatcher = ip_types.PrefixMatcher
type RPCService ¶
type RPCService interface { DumpStnRules(ctx context.Context, in *StnRulesDump) (RPCService_DumpStnRulesClient, error) StnAddDelRule(ctx context.Context, in *StnAddDelRule) (*StnAddDelRuleReply, error) }
RPCService represents RPC service API for stn module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpStnRulesClient ¶
type RPCService_DumpStnRulesClient interface {
Recv() (*StnRulesDetails, error)
}
type RxMode ¶
type RxMode = interface_types.RxMode
type StnAddDelRule ¶
type StnAddDelRule struct { IPAddress Address SwIfIndex InterfaceIndex IsAdd bool }
StnAddDelRule represents VPP binary API message 'stn_add_del_rule'.
func (*StnAddDelRule) GetCrcString ¶
func (*StnAddDelRule) GetCrcString() string
func (*StnAddDelRule) GetMessageName ¶
func (*StnAddDelRule) GetMessageName() string
func (*StnAddDelRule) GetMessageType ¶
func (*StnAddDelRule) GetMessageType() api.MessageType
func (*StnAddDelRule) Reset ¶
func (m *StnAddDelRule) Reset()
type StnAddDelRuleReply ¶
type StnAddDelRuleReply struct {
Retval int32
}
StnAddDelRuleReply represents VPP binary API message 'stn_add_del_rule_reply'.
func (*StnAddDelRuleReply) GetCrcString ¶
func (*StnAddDelRuleReply) GetCrcString() string
func (*StnAddDelRuleReply) GetMessageName ¶
func (*StnAddDelRuleReply) GetMessageName() string
func (*StnAddDelRuleReply) GetMessageType ¶
func (*StnAddDelRuleReply) GetMessageType() api.MessageType
func (*StnAddDelRuleReply) Reset ¶
func (m *StnAddDelRuleReply) Reset()
type StnRulesDetails ¶
type StnRulesDetails struct { IPAddress Address SwIfIndex InterfaceIndex }
StnRulesDetails represents VPP binary API message 'stn_rules_details'.
func (*StnRulesDetails) GetCrcString ¶
func (*StnRulesDetails) GetCrcString() string
func (*StnRulesDetails) GetMessageName ¶
func (*StnRulesDetails) GetMessageName() string
func (*StnRulesDetails) GetMessageType ¶
func (*StnRulesDetails) GetMessageType() api.MessageType
func (*StnRulesDetails) Reset ¶
func (m *StnRulesDetails) Reset()
type StnRulesDump ¶
type StnRulesDump struct{}
StnRulesDump represents VPP binary API message 'stn_rules_dump'.
func (*StnRulesDump) GetCrcString ¶
func (*StnRulesDump) GetCrcString() string
func (*StnRulesDump) GetMessageName ¶
func (*StnRulesDump) GetMessageName() string
func (*StnRulesDump) GetMessageType ¶
func (*StnRulesDump) GetMessageType() api.MessageType
func (*StnRulesDump) Reset ¶
func (m *StnRulesDump) Reset()
type SubIfFlags ¶
type SubIfFlags = interface_types.SubIfFlags
Click to show internal directories.
Click to hide internal directories.