Documentation ¶
Overview ¶
Package vxlan represents the VPP binary API of the 'vxlan' VPP module. DO NOT EDIT. Generated from '/usr/share/vpp/api/vxlan.api.json'
Index ¶
- Constants
- Variables
- func NewSwInterfaceSetVxlanBypass() api.Message
- func NewSwInterfaceSetVxlanBypassReply() api.Message
- func NewVxlanAddDelTunnel() api.Message
- func NewVxlanAddDelTunnelReply() api.Message
- func NewVxlanTunnelDetails() api.Message
- func NewVxlanTunnelDump() api.Message
- type SwInterfaceSetVxlanBypass
- type SwInterfaceSetVxlanBypassReply
- type VxlanAddDelTunnel
- type VxlanAddDelTunnelReply
- type VxlanTunnelDetails
- type VxlanTunnelDump
Constants ¶
const VlAPIVersion = 0x1ca2f88d
VlApiVersion contains version of the API.
Variables ¶
var Consts = map[string]reflect.Value{ "VlAPIVersion": reflect.ValueOf(VlAPIVersion), }
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), }
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(), }
var Variables = map[string]reflect.Value{}
Functions ¶
func NewVxlanAddDelTunnel ¶
func NewVxlanTunnelDetails ¶
func NewVxlanTunnelDump ¶
Types ¶
type SwInterfaceSetVxlanBypass ¶
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 ¶
func (*SwInterfaceSetVxlanBypassReply) GetMessageType() api.MessageType
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 ¶
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