punt

package
v1.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

 Package punt is a generated from VPP binary API module 'punt'.

 It contains following objects:
	  6 messages
	  3 services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Punt

type Punt struct {
	IsAdd      uint8
	IPv        uint8
	L4Protocol uint8
	L4Port     uint16
}

Punt represents the VPP binary API message 'punt'.

"punt",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_add"
],
[
    "u8",
    "ipv"
],
[
    "u8",
    "l4_protocol"
],
[
    "u16",
    "l4_port"
],
{
    "crc": "0x37760008"
}

func (*Punt) GetCrcString

func (*Punt) GetCrcString() string

func (*Punt) GetMessageName

func (*Punt) GetMessageName() string

func (*Punt) GetMessageType

func (*Punt) GetMessageType() api.MessageType

type PuntReply

type PuntReply struct {
	Retval int32
}

PuntReply represents the VPP binary API message 'punt_reply'.

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

func (*PuntReply) GetCrcString

func (*PuntReply) GetCrcString() string

func (*PuntReply) GetMessageName

func (*PuntReply) GetMessageName() string

func (*PuntReply) GetMessageType

func (*PuntReply) GetMessageType() api.MessageType

type PuntSocketDeregister

type PuntSocketDeregister struct {
	IsIP4      uint8
	L4Protocol uint8
	L4Port     uint16
}

PuntSocketDeregister represents the VPP binary API message 'punt_socket_deregister'.

"punt_socket_deregister",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_ip4"
],
[
    "u8",
    "l4_protocol"
],
[
    "u16",
    "l4_port"
],
{
    "crc": "0x9846a4cc"
}

func (*PuntSocketDeregister) GetCrcString

func (*PuntSocketDeregister) GetCrcString() string

func (*PuntSocketDeregister) GetMessageName

func (*PuntSocketDeregister) GetMessageName() string

func (*PuntSocketDeregister) GetMessageType

func (*PuntSocketDeregister) GetMessageType() api.MessageType

type PuntSocketDeregisterReply

type PuntSocketDeregisterReply struct {
	Retval int32
}

PuntSocketDeregisterReply represents the VPP binary API message 'punt_socket_deregister_reply'.

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

func (*PuntSocketDeregisterReply) GetCrcString

func (*PuntSocketDeregisterReply) GetCrcString() string

func (*PuntSocketDeregisterReply) GetMessageName

func (*PuntSocketDeregisterReply) GetMessageName() string

func (*PuntSocketDeregisterReply) GetMessageType

func (*PuntSocketDeregisterReply) GetMessageType() api.MessageType

type PuntSocketRegister

type PuntSocketRegister struct {
	HeaderVersion uint32
	IsIP4         uint8
	L4Protocol    uint8
	L4Port        uint16
	Pathname      []byte `struc:"[108]byte"`
}

PuntSocketRegister represents the VPP binary API message 'punt_socket_register'.

"punt_socket_register",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "header_version"
],
[
    "u8",
    "is_ip4"
],
[
    "u8",
    "l4_protocol"
],
[
    "u16",
    "l4_port"
],
[
    "u8",
    "pathname",
    108
],
{
    "crc": "0xc163b363"
}

func (*PuntSocketRegister) GetCrcString

func (*PuntSocketRegister) GetCrcString() string

func (*PuntSocketRegister) GetMessageName

func (*PuntSocketRegister) GetMessageName() string

func (*PuntSocketRegister) GetMessageType

func (*PuntSocketRegister) GetMessageType() api.MessageType

type PuntSocketRegisterReply

type PuntSocketRegisterReply struct {
	Retval   int32
	Pathname []byte `struc:"[64]byte"`
}

PuntSocketRegisterReply represents the VPP binary API message 'punt_socket_register_reply'.

"punt_socket_register_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u8",
    "pathname",
    64
],
{
    "crc": "0x42dc0ee6"
}

func (*PuntSocketRegisterReply) GetCrcString

func (*PuntSocketRegisterReply) GetCrcString() string

func (*PuntSocketRegisterReply) GetMessageName

func (*PuntSocketRegisterReply) GetMessageName() string

func (*PuntSocketRegisterReply) GetMessageType

func (*PuntSocketRegisterReply) GetMessageType() api.MessageType

type Services

type Services interface {
	Punt(*Punt) (*PuntReply, error)
	PuntSocketDeregister(*PuntSocketDeregister) (*PuntSocketDeregisterReply, error)
	PuntSocketRegister(*PuntSocketRegister) (*PuntSocketRegisterReply, error)
}

Jump to

Keyboard shortcuts

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