vxlan

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: 2 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const VlAPIVersion = 0x2e73ea09

VlApiVersion contains version of the API.

Variables

View Source
var Consts = map[string]reflect.Value{
	"VlAPIVersion": reflect.ValueOf(VlAPIVersion),
}
View Source
var Functions = map[string]reflect.Value{
	"NewSwInterfaceSetVxlanBypass":      reflect.ValueOf(NewSwInterfaceSetVxlanBypass),
	"NewSwInterfaceSetVxlanBypassReply": reflect.ValueOf(NewSwInterfaceSetVxlanBypassReply),
	"NewVxlanAddDelTunnel":              reflect.ValueOf(NewVxlanAddDelTunnel),
	"NewVxlanAddDelTunnelReply":         reflect.ValueOf(NewVxlanAddDelTunnelReply),
	"NewVxlanTunnelDetails":             reflect.ValueOf(NewVxlanTunnelDetails),
	"NewVxlanTunnelDump":                reflect.ValueOf(NewVxlanTunnelDump),
}
View Source
var Types = map[string]reflect.Type{
	"SwInterfaceSetVxlanBypass":      reflect.TypeOf((*SwInterfaceSetVxlanBypass)(nil)).Elem(),
	"SwInterfaceSetVxlanBypassReply": reflect.TypeOf((*SwInterfaceSetVxlanBypassReply)(nil)).Elem(),
	"VxlanAddDelTunnel":              reflect.TypeOf((*VxlanAddDelTunnel)(nil)).Elem(),
	"VxlanAddDelTunnelReply":         reflect.TypeOf((*VxlanAddDelTunnelReply)(nil)).Elem(),
	"VxlanTunnelDetails":             reflect.TypeOf((*VxlanTunnelDetails)(nil)).Elem(),
	"VxlanTunnelDump":                reflect.TypeOf((*VxlanTunnelDump)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

func NewSwInterfaceSetVxlanBypass

func NewSwInterfaceSetVxlanBypass() api.Message

func NewSwInterfaceSetVxlanBypassReply

func NewSwInterfaceSetVxlanBypassReply() api.Message

func NewVxlanAddDelTunnel

func NewVxlanAddDelTunnel() api.Message

func NewVxlanAddDelTunnelReply

func NewVxlanAddDelTunnelReply() api.Message

func NewVxlanTunnelDetails

func NewVxlanTunnelDetails() api.Message

func NewVxlanTunnelDump

func NewVxlanTunnelDump() api.Message

Types

type SwInterfaceSetVxlanBypass

type SwInterfaceSetVxlanBypass struct {
	SwIfIndex uint32
	IsIpv6    uint8
	Enable    uint8
}

SwInterfaceSetVxlanBypass represents the VPP binary API message 'sw_interface_set_vxlan_bypass'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 47:

["sw_interface_set_vxlan_bypass",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "is_ipv6"],
    ["u8", "enable"],
    {"crc" : "0xda63ecfd"}
],

func (*SwInterfaceSetVxlanBypass) GetCrcString

func (*SwInterfaceSetVxlanBypass) GetCrcString() string

func (*SwInterfaceSetVxlanBypass) GetMessageName

func (*SwInterfaceSetVxlanBypass) GetMessageName() string

func (*SwInterfaceSetVxlanBypass) GetMessageType

func (*SwInterfaceSetVxlanBypass) GetMessageType() api.MessageType

type SwInterfaceSetVxlanBypassReply

type SwInterfaceSetVxlanBypassReply struct {
	Retval int32
}

SwInterfaceSetVxlanBypassReply represents the VPP binary API message 'sw_interface_set_vxlan_bypass_reply'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 56:

["sw_interface_set_vxlan_bypass_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    {"crc" : "0xc4609ab5"}
]

func (*SwInterfaceSetVxlanBypassReply) GetCrcString

func (*SwInterfaceSetVxlanBypassReply) GetCrcString() string

func (*SwInterfaceSetVxlanBypassReply) GetMessageName

func (*SwInterfaceSetVxlanBypassReply) GetMessageName() string

func (*SwInterfaceSetVxlanBypassReply) GetMessageType

type VxlanAddDelTunnel

type VxlanAddDelTunnel struct {
	IsAdd          uint8
	IsIpv6         uint8
	SrcAddress     []byte `struc:"[16]byte"`
	DstAddress     []byte `struc:"[16]byte"`
	McastSwIfIndex uint32
	EncapVrfID     uint32
	DecapNextIndex uint32
	Vni            uint32
}

VxlanAddDelTunnel represents the VPP binary API message 'vxlan_add_del_tunnel'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 6:

["vxlan_add_del_tunnel",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u8", "is_add"],
    ["u8", "is_ipv6"],
    ["u8", "src_address", 16],
    ["u8", "dst_address", 16],
    ["u32", "mcast_sw_if_index"],
    ["u32", "encap_vrf_id"],
    ["u32", "decap_next_index"],
    ["u32", "vni"],
    {"crc" : "0x79be0753"}
],

func (*VxlanAddDelTunnel) GetCrcString

func (*VxlanAddDelTunnel) GetCrcString() string

func (*VxlanAddDelTunnel) GetMessageName

func (*VxlanAddDelTunnel) GetMessageName() string

func (*VxlanAddDelTunnel) GetMessageType

func (*VxlanAddDelTunnel) GetMessageType() api.MessageType

type VxlanAddDelTunnelReply

type VxlanAddDelTunnelReply struct {
	Retval    int32
	SwIfIndex uint32
}

VxlanAddDelTunnelReply represents the VPP binary API message 'vxlan_add_del_tunnel_reply'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 20:

["vxlan_add_del_tunnel_reply",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["i32", "retval"],
    ["u32", "sw_if_index"],
    {"crc" : "0x3965e5df"}
],

func (*VxlanAddDelTunnelReply) GetCrcString

func (*VxlanAddDelTunnelReply) GetCrcString() string

func (*VxlanAddDelTunnelReply) GetMessageName

func (*VxlanAddDelTunnelReply) GetMessageName() string

func (*VxlanAddDelTunnelReply) GetMessageType

func (*VxlanAddDelTunnelReply) GetMessageType() api.MessageType

type VxlanTunnelDetails

type VxlanTunnelDetails struct {
	SwIfIndex      uint32
	SrcAddress     []byte `struc:"[16]byte"`
	DstAddress     []byte `struc:"[16]byte"`
	McastSwIfIndex uint32
	EncapVrfID     uint32
	DecapNextIndex uint32
	Vni            uint32
	IsIpv6         uint8
}

VxlanTunnelDetails represents the VPP binary API message 'vxlan_tunnel_details'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 34:

["vxlan_tunnel_details",
    ["u16", "_vl_msg_id"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    ["u8", "src_address", 16],
    ["u8", "dst_address", 16],
    ["u32", "mcast_sw_if_index"],
    ["u32", "encap_vrf_id"],
    ["u32", "decap_next_index"],
    ["u32", "vni"],
    ["u8", "is_ipv6"],
    {"crc" : "0xfa28d42c"}
],

func (*VxlanTunnelDetails) GetCrcString

func (*VxlanTunnelDetails) GetCrcString() string

func (*VxlanTunnelDetails) GetMessageName

func (*VxlanTunnelDetails) GetMessageName() string

func (*VxlanTunnelDetails) GetMessageType

func (*VxlanTunnelDetails) GetMessageType() api.MessageType

type VxlanTunnelDump

type VxlanTunnelDump struct {
	SwIfIndex uint32
}

VxlanTunnelDump represents the VPP binary API message 'vxlan_tunnel_dump'. Generated from '/usr/share/vpp/api/vxlan.api.json', line 27:

["vxlan_tunnel_dump",
    ["u16", "_vl_msg_id"],
    ["u32", "client_index"],
    ["u32", "context"],
    ["u32", "sw_if_index"],
    {"crc" : "0x7d29e867"}
],

func (*VxlanTunnelDump) GetCrcString

func (*VxlanTunnelDump) GetCrcString() string

func (*VxlanTunnelDump) GetMessageName

func (*VxlanTunnelDump) GetMessageName() string

func (*VxlanTunnelDump) GetMessageType

func (*VxlanTunnelDump) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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