stn

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Code generated by govpp binapi-generator DO NOT EDIT. Package stn represents the VPP binary API of the 'stn' VPP module. Generated from '/usr/share/vpp/api/stn.api.json'

Index

Constants

View Source
const VlAPIVersion = 0xe5fdd9f7

VlApiVersion contains version of the API.

Variables

This section is empty.

Functions

func NewStnAddDelRule

func NewStnAddDelRule() api.Message

func NewStnAddDelRuleReply

func NewStnAddDelRuleReply() api.Message

func NewStnRuleDetails

func NewStnRuleDetails() api.Message

func NewStnRulesDump

func NewStnRulesDump() api.Message

Types

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'. Generated from '/usr/share/vpp/api/stn.api.json', line 6:

["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" : "0x4a761a12"}
],

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'. Generated from '/usr/share/vpp/api/stn.api.json', line 16:

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

func (*StnAddDelRuleReply) GetCrcString

func (*StnAddDelRuleReply) GetCrcString() string

func (*StnAddDelRuleReply) GetMessageName

func (*StnAddDelRuleReply) GetMessageName() string

func (*StnAddDelRuleReply) GetMessageType

func (*StnAddDelRuleReply) GetMessageType() api.MessageType

type StnRuleDetails

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

StnRuleDetails represents the VPP binary API message 'stn_rule_details'. Generated from '/usr/share/vpp/api/stn.api.json', line 28:

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

func (*StnRuleDetails) GetCrcString

func (*StnRuleDetails) GetCrcString() string

func (*StnRuleDetails) GetMessageName

func (*StnRuleDetails) GetMessageName() string

func (*StnRuleDetails) GetMessageType

func (*StnRuleDetails) GetMessageType() api.MessageType

type StnRulesDump

type StnRulesDump struct {
}

StnRulesDump represents the VPP binary API message 'stn_rules_dump'. Generated from '/usr/share/vpp/api/stn.api.json', line 22:

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

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