stn

package
v1.8.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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

 It contains following objects:
	  4 messages
	  2 services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Services added in v1.8.1

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

type StnAddDelRule

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

StnAddDelRule represents the VPP binary API message 'stn_add_del_rule'.

"stn_add_del_rule",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_ip4"
],
[
    "u8",
    "ip_address",
    16
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "is_add"
],
{
    "crc": "0x9f0bbe21"
}

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 the VPP binary API message 'stn_add_del_rule_reply'.

"stn_add_del_rule_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

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 the VPP binary API message 'stn_rules_details'.

"stn_rules_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_ip4"
],
[
    "u8",
    "ip_address",
    16
],
[
    "u32",
    "sw_if_index"
],
{
    "crc": "0x5eafa31e"
}

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 the VPP binary API message 'stn_rules_dump'.

"stn_rules_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
{
    "crc": "0x51077d14"
}

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