stn

package
v2.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

 Package stn is a generated from VPP binary API module 'stn'.

 It contains following objects:
	  2 services
	  4 messages

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Services

type Services interface {
	DumpStnRules(*StnRulesDump) ([]*StnRulesDetails, error)
	StnAddDelRule(*StnAddDelRule) (*StnAddDelRuleReply, error)
}

Services represents VPP binary API services:

type StnAddDelRule

type StnAddDelRule struct {
	IsIP4     uint8
	IPAddress []byte `struc:"[16]byte"`
	SwIfIndex uint32
	IsAdd     uint8
}

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

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

type StnRulesDetails

type StnRulesDetails struct {
	IsIP4     uint8
	IPAddress []byte `struc:"[16]byte"`
	SwIfIndex uint32
}

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL