Documentation ¶
Overview ¶
Package tap represents the VPP binary API of the 'tap' VPP module. DO NOT EDIT. Generated from '/usr/share/vpp/api/tap.api.json'
Index ¶
- Constants
- Variables
- func NewSwInterfaceTapDetails() api.Message
- func NewSwInterfaceTapDump() api.Message
- func NewTapConnect() api.Message
- func NewTapConnectReply() api.Message
- func NewTapDelete() api.Message
- func NewTapDeleteReply() api.Message
- func NewTapModify() api.Message
- func NewTapModifyReply() api.Message
- type SwInterfaceTapDetails
- type SwInterfaceTapDump
- type TapConnect
- type TapConnectReply
- type TapDelete
- type TapDeleteReply
- type TapModify
- type TapModifyReply
Constants ¶
const VlAPIVersion = 0x4eaa2b5a
VlApiVersion contains version of the API.
Variables ¶
var Consts = map[string]reflect.Value{ "VlAPIVersion": reflect.ValueOf(VlAPIVersion), }
var Functions = map[string]reflect.Value{ "NewSwInterfaceTapDetails": reflect.ValueOf(NewSwInterfaceTapDetails), "NewSwInterfaceTapDump": reflect.ValueOf(NewSwInterfaceTapDump), "NewTapConnect": reflect.ValueOf(NewTapConnect), "NewTapConnectReply": reflect.ValueOf(NewTapConnectReply), "NewTapDelete": reflect.ValueOf(NewTapDelete), "NewTapDeleteReply": reflect.ValueOf(NewTapDeleteReply), "NewTapModify": reflect.ValueOf(NewTapModify), "NewTapModifyReply": reflect.ValueOf(NewTapModifyReply), }
var Types = map[string]reflect.Type{ "SwInterfaceTapDetails": reflect.TypeOf((*SwInterfaceTapDetails)(nil)).Elem(), "SwInterfaceTapDump": reflect.TypeOf((*SwInterfaceTapDump)(nil)).Elem(), "TapConnect": reflect.TypeOf((*TapConnect)(nil)).Elem(), "TapConnectReply": reflect.TypeOf((*TapConnectReply)(nil)).Elem(), "TapDelete": reflect.TypeOf((*TapDelete)(nil)).Elem(), "TapDeleteReply": reflect.TypeOf((*TapDeleteReply)(nil)).Elem(), "TapModify": reflect.TypeOf((*TapModify)(nil)).Elem(), "TapModifyReply": reflect.TypeOf((*TapModifyReply)(nil)).Elem(), }
var Variables = map[string]reflect.Value{}
Functions ¶
func NewSwInterfaceTapDump ¶
func NewTapConnect ¶
func NewTapConnectReply ¶
func NewTapDelete ¶
func NewTapDeleteReply ¶
func NewTapModify ¶
func NewTapModifyReply ¶
Types ¶
type SwInterfaceTapDetails ¶
SwInterfaceTapDetails represents the VPP binary API message 'sw_interface_tap_details'. Generated from '/usr/share/vpp/api/tap.api.json', line 69:
["sw_interface_tap_details", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "sw_if_index"], ["u8", "dev_name", 64], {"crc" : "0x0df07bc3"} ]
func (*SwInterfaceTapDetails) GetCrcString ¶
func (*SwInterfaceTapDetails) GetCrcString() string
func (*SwInterfaceTapDetails) GetMessageName ¶
func (*SwInterfaceTapDetails) GetMessageName() string
func (*SwInterfaceTapDetails) GetMessageType ¶
func (*SwInterfaceTapDetails) GetMessageType() api.MessageType
type SwInterfaceTapDump ¶
type SwInterfaceTapDump struct { }
SwInterfaceTapDump represents the VPP binary API message 'sw_interface_tap_dump'. Generated from '/usr/share/vpp/api/tap.api.json', line 63:
["sw_interface_tap_dump", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], {"crc" : "0xbc6ddbe2"} ],
func (*SwInterfaceTapDump) GetCrcString ¶
func (*SwInterfaceTapDump) GetCrcString() string
func (*SwInterfaceTapDump) GetMessageName ¶
func (*SwInterfaceTapDump) GetMessageName() string
func (*SwInterfaceTapDump) GetMessageType ¶
func (*SwInterfaceTapDump) GetMessageType() api.MessageType
type TapConnect ¶
type TapConnect struct { UseRandomMac uint8 TapName []byte `struc:"[64]byte"` MacAddress []byte `struc:"[6]byte"` Renumber uint8 CustomDevInstance uint32 IP4AddressSet uint8 IP4Address []byte `struc:"[4]byte"` IP4MaskWidth uint8 IP6AddressSet uint8 IP6Address []byte `struc:"[16]byte"` IP6MaskWidth uint8 Tag []byte `struc:"[64]byte"` }
TapConnect represents the VPP binary API message 'tap_connect'. Generated from '/usr/share/vpp/api/tap.api.json', line 6:
["tap_connect", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u8", "use_random_mac"], ["u8", "tap_name", 64], ["u8", "mac_address", 6], ["u8", "renumber"], ["u32", "custom_dev_instance"], ["u8", "ip4_address_set"], ["u8", "ip4_address", 4], ["u8", "ip4_mask_width"], ["u8", "ip6_address_set"], ["u8", "ip6_address", 16], ["u8", "ip6_mask_width"], ["u8", "tag", 64], {"crc" : "0x91720de3"} ],
func (*TapConnect) GetCrcString ¶
func (*TapConnect) GetCrcString() string
func (*TapConnect) GetMessageName ¶
func (*TapConnect) GetMessageName() string
func (*TapConnect) GetMessageType ¶
func (*TapConnect) GetMessageType() api.MessageType
type TapConnectReply ¶
TapConnectReply represents the VPP binary API message 'tap_connect_reply'. Generated from '/usr/share/vpp/api/tap.api.json', line 24:
["tap_connect_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["i32", "retval"], ["u32", "sw_if_index"], {"crc" : "0xf47feac1"} ],
func (*TapConnectReply) GetCrcString ¶
func (*TapConnectReply) GetCrcString() string
func (*TapConnectReply) GetMessageName ¶
func (*TapConnectReply) GetMessageName() string
func (*TapConnectReply) GetMessageType ¶
func (*TapConnectReply) GetMessageType() api.MessageType
type TapDelete ¶
type TapDelete struct {
SwIfIndex uint32
}
TapDelete represents the VPP binary API message 'tap_delete'. Generated from '/usr/share/vpp/api/tap.api.json', line 50:
["tap_delete", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "sw_if_index"], {"crc" : "0xe99d41c1"} ],
func (*TapDelete) GetCrcString ¶
func (*TapDelete) GetMessageName ¶
func (*TapDelete) GetMessageType ¶
func (*TapDelete) GetMessageType() api.MessageType
type TapDeleteReply ¶
type TapDeleteReply struct {
Retval int32
}
TapDeleteReply represents the VPP binary API message 'tap_delete_reply'. Generated from '/usr/share/vpp/api/tap.api.json', line 57:
["tap_delete_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["i32", "retval"], {"crc" : "0x0e47d140"} ],
func (*TapDeleteReply) GetCrcString ¶
func (*TapDeleteReply) GetCrcString() string
func (*TapDeleteReply) GetMessageName ¶
func (*TapDeleteReply) GetMessageName() string
func (*TapDeleteReply) GetMessageType ¶
func (*TapDeleteReply) GetMessageType() api.MessageType
type TapModify ¶
type TapModify struct { SwIfIndex uint32 UseRandomMac uint8 TapName []byte `struc:"[64]byte"` MacAddress []byte `struc:"[6]byte"` Renumber uint8 CustomDevInstance uint32 }
TapModify represents the VPP binary API message 'tap_modify'. Generated from '/usr/share/vpp/api/tap.api.json', line 31:
["tap_modify", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "sw_if_index"], ["u8", "use_random_mac"], ["u8", "tap_name", 64], ["u8", "mac_address", 6], ["u8", "renumber"], ["u32", "custom_dev_instance"], {"crc" : "0x8abcd5f3"} ],
func (*TapModify) GetCrcString ¶
func (*TapModify) GetMessageName ¶
func (*TapModify) GetMessageType ¶
func (*TapModify) GetMessageType() api.MessageType
type TapModifyReply ¶
TapModifyReply represents the VPP binary API message 'tap_modify_reply'. Generated from '/usr/share/vpp/api/tap.api.json', line 43:
["tap_modify_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["i32", "retval"], ["u32", "sw_if_index"], {"crc" : "0x00aaf940"} ],
func (*TapModifyReply) GetCrcString ¶
func (*TapModifyReply) GetCrcString() string
func (*TapModifyReply) GetMessageName ¶
func (*TapModifyReply) GetMessageName() string
func (*TapModifyReply) GetMessageType ¶
func (*TapModifyReply) GetMessageType() api.MessageType