af_packet

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var Consts = map[string]reflect.Value{}
View Source
var Functions = map[string]reflect.Value{
	"NewAfPacketCreate":                 reflect.ValueOf(NewAfPacketCreate),
	"NewAfPacketCreateReply":            reflect.ValueOf(NewAfPacketCreateReply),
	"NewAfPacketDelete":                 reflect.ValueOf(NewAfPacketDelete),
	"NewAfPacketDeleteReply":            reflect.ValueOf(NewAfPacketDeleteReply),
	"NewAfPacketDetails":                reflect.ValueOf(NewAfPacketDetails),
	"NewAfPacketDump":                   reflect.ValueOf(NewAfPacketDump),
	"NewAfPacketSetL4CksumOffload":      reflect.ValueOf(NewAfPacketSetL4CksumOffload),
	"NewAfPacketSetL4CksumOffloadReply": reflect.ValueOf(NewAfPacketSetL4CksumOffloadReply),
}
View Source
var Types = map[string]reflect.Type{
	"AfPacketCreate":                 reflect.TypeOf((*AfPacketCreate)(nil)).Elem(),
	"AfPacketCreateReply":            reflect.TypeOf((*AfPacketCreateReply)(nil)).Elem(),
	"AfPacketDelete":                 reflect.TypeOf((*AfPacketDelete)(nil)).Elem(),
	"AfPacketDeleteReply":            reflect.TypeOf((*AfPacketDeleteReply)(nil)).Elem(),
	"AfPacketDetails":                reflect.TypeOf((*AfPacketDetails)(nil)).Elem(),
	"AfPacketDump":                   reflect.TypeOf((*AfPacketDump)(nil)).Elem(),
	"AfPacketSetL4CksumOffload":      reflect.TypeOf((*AfPacketSetL4CksumOffload)(nil)).Elem(),
	"AfPacketSetL4CksumOffloadReply": reflect.TypeOf((*AfPacketSetL4CksumOffloadReply)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

func NewAfPacketCreate

func NewAfPacketCreate() api.Message

func NewAfPacketCreateReply

func NewAfPacketCreateReply() api.Message

func NewAfPacketDelete

func NewAfPacketDelete() api.Message

func NewAfPacketDeleteReply

func NewAfPacketDeleteReply() api.Message

func NewAfPacketDetails

func NewAfPacketDetails() api.Message

func NewAfPacketDump

func NewAfPacketDump() api.Message

func NewAfPacketSetL4CksumOffload

func NewAfPacketSetL4CksumOffload() api.Message

func NewAfPacketSetL4CksumOffloadReply

func NewAfPacketSetL4CksumOffloadReply() api.Message

Types

type AfPacketCreate

type AfPacketCreate struct {
	HostIfName      []byte `struc:"[64]byte"`
	HwAddr          []byte `struc:"[6]byte"`
	UseRandomHwAddr uint8
}

AfPacketCreate represents the VPP binary API message 'af_packet_create'. Generated from '/usr/share/vpp/api/af_packet.api.json', line 4:

"af_packet_create",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "host_if_name",
    64
],
[
    "u8",
    "hw_addr",
    6
],
[
    "u8",
    "use_random_hw_addr"
],
{
    "crc": "0x6d5d30d6"
}

func (*AfPacketCreate) GetCrcString

func (*AfPacketCreate) GetCrcString() string

func (*AfPacketCreate) GetMessageName

func (*AfPacketCreate) GetMessageName() string

func (*AfPacketCreate) GetMessageType

func (*AfPacketCreate) GetMessageType() api.MessageType

type AfPacketCreateReply

type AfPacketCreateReply struct {
	Retval    int32
	SwIfIndex uint32
}

AfPacketCreateReply represents the VPP binary API message 'af_packet_create_reply'. Generated from '/usr/share/vpp/api/af_packet.api.json', line 36:

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

func (*AfPacketCreateReply) GetCrcString

func (*AfPacketCreateReply) GetCrcString() string

func (*AfPacketCreateReply) GetMessageName

func (*AfPacketCreateReply) GetMessageName() string

func (*AfPacketCreateReply) GetMessageType

func (*AfPacketCreateReply) GetMessageType() api.MessageType

type AfPacketDelete

type AfPacketDelete struct {
	HostIfName []byte `struc:"[64]byte"`
}

AfPacketDelete represents the VPP binary API message 'af_packet_delete'. Generated from '/usr/share/vpp/api/af_packet.api.json', line 58:

"af_packet_delete",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "host_if_name",
    64
],
{
    "crc": "0x3efceda3"
}

func (*AfPacketDelete) GetCrcString

func (*AfPacketDelete) GetCrcString() string

func (*AfPacketDelete) GetMessageName

func (*AfPacketDelete) GetMessageName() string

func (*AfPacketDelete) GetMessageType

func (*AfPacketDelete) GetMessageType() api.MessageType

type AfPacketDeleteReply

type AfPacketDeleteReply struct {
	Retval int32
}

AfPacketDeleteReply represents the VPP binary API message 'af_packet_delete_reply'. Generated from '/usr/share/vpp/api/af_packet.api.json', line 81:

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

func (*AfPacketDeleteReply) GetCrcString

func (*AfPacketDeleteReply) GetCrcString() string

func (*AfPacketDeleteReply) GetMessageName

func (*AfPacketDeleteReply) GetMessageName() string

func (*AfPacketDeleteReply) GetMessageType

func (*AfPacketDeleteReply) GetMessageType() api.MessageType

type AfPacketDetails

type AfPacketDetails struct {
	SwIfIndex  uint32
	HostIfName []byte `struc:"[64]byte"`
}

AfPacketDetails represents the VPP binary API message 'af_packet_details'. Generated from '/usr/share/vpp/api/af_packet.api.json', line 161:

"af_packet_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "host_if_name",
    64
],
{
    "crc": "0x057205fa"
}

func (*AfPacketDetails) GetCrcString

func (*AfPacketDetails) GetCrcString() string

func (*AfPacketDetails) GetMessageName

func (*AfPacketDetails) GetMessageName() string

func (*AfPacketDetails) GetMessageType

func (*AfPacketDetails) GetMessageType() api.MessageType

type AfPacketDump

type AfPacketDump struct {
}

AfPacketDump represents the VPP binary API message 'af_packet_dump'. Generated from '/usr/share/vpp/api/af_packet.api.json', line 143:

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

func (*AfPacketDump) GetCrcString

func (*AfPacketDump) GetCrcString() string

func (*AfPacketDump) GetMessageName

func (*AfPacketDump) GetMessageName() string

func (*AfPacketDump) GetMessageType

func (*AfPacketDump) GetMessageType() api.MessageType

type AfPacketSetL4CksumOffload

type AfPacketSetL4CksumOffload struct {
	SwIfIndex uint8
	Set       uint8
}

AfPacketSetL4CksumOffload represents the VPP binary API message 'af_packet_set_l4_cksum_offload'. Generated from '/usr/share/vpp/api/af_packet.api.json', line 99:

"af_packet_set_l4_cksum_offload",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "sw_if_index"
],
[
    "u8",
    "set"
],
{
    "crc": "0x86538585"
}

func (*AfPacketSetL4CksumOffload) GetCrcString

func (*AfPacketSetL4CksumOffload) GetCrcString() string

func (*AfPacketSetL4CksumOffload) GetMessageName

func (*AfPacketSetL4CksumOffload) GetMessageName() string

func (*AfPacketSetL4CksumOffload) GetMessageType

func (*AfPacketSetL4CksumOffload) GetMessageType() api.MessageType

type AfPacketSetL4CksumOffloadReply

type AfPacketSetL4CksumOffloadReply struct {
	Retval int32
}

AfPacketSetL4CksumOffloadReply represents the VPP binary API message 'af_packet_set_l4_cksum_offload_reply'. Generated from '/usr/share/vpp/api/af_packet.api.json', line 125:

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

func (*AfPacketSetL4CksumOffloadReply) GetCrcString

func (*AfPacketSetL4CksumOffloadReply) GetCrcString() string

func (*AfPacketSetL4CksumOffloadReply) GetMessageName

func (*AfPacketSetL4CksumOffloadReply) GetMessageName() string

func (*AfPacketSetL4CksumOffloadReply) GetMessageType

Jump to

Keyboard shortcuts

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